I'm trying to implement Bart's Flickr ECL provider to get content from Flickr. Successfully configured to Tridion, Flickr images are now exposed to Tridion. I'm testing on how ECL Components rendering and publishing works. When I preview any ECL Component, I'm getting a resolving error.
Does it require any custom templating code to handle? And I see a Stub Component is created on my first preview, is that created by ECL?
Error:
An error occurred while trying to resolve URI: ecl:114-flickr-23456784322_132f30e3bc_312476681231231242-img-file.ecl
Cannot access a closed Stream.
Component: Tridion.ContentManager.CoreService Errorcode: 834 User: NT AUTHORITY\NETWORK SERVICE StackTrace Information Details:
at System.IO.Stream.CopyTo(Stream destination)
at System.IO.Stream.CopyTo(Stream destination)
at Tridion.ExternalContentLibrary.TcmExtension.EclBinaryContentProvider.WriteContentToStream(Uri uri, Stream outStream)
at Tridion.ContentManager.ContentManagement.BinaryContent.WriteContentToStream(Uri fileUri, Stream binaryStream)
at Tridion.ContentManager.ContentManagement.BinaryContent.WriteContentToStream(Uri fileUri, Stream binaryStream)
at Tridion.ContentManager.ContentManagement.BinaryContent.WriteToStream(Stream binaryStream)
at Tridion.ContentManager.ContentManagement.BinaryContent.GetByteArray()
at Tridion.ContentManager.Templating.Engine.CreateMultimediaItem(Package package, Component component)
at Tridion.ContentManager.Templating.Package.CreateMultimediaItem(Component component)
at Tridion.ContentManager.Templating.Templates.ExtractBinariesFromHtmlTemplate.ResolveTemplateBinaries(Engine engine, Package package, TcmUri baseItemTcmUri, ExtractBinariesContentWrapper contentWrapper)
at Tridion.ContentManager.Templating.Templates.ExtractBinariesFromHtmlTemplate.Transform(Engine engine, Package package)
at Tridion.ContentManager.Templating.Dreamweaver.DreamweaverMediator.RegisterTemplateBinaries(Package package, String baseItemTcmUri, String templateString)
at Tridion.ContentManager.Templating.Dreamweaver.DreamweaverMediator.Transform(Engine engine, Template templateToTransform, Package package)
at Tridion.ContentManager.Templating.Engine.ExecuteTemplate(Template template, Package package)
at Tridion.ContentManager.Templating.Engine.InvokeTemplate(Package package, TemplateInvocation templateInvocation, Template template)
at Tridion.ContentManager.Templating.Engine.InvokeTemplate(Package package, TemplateInvocation templateInvocation)
at Tridion.ContentManager.Templating.Compound.CompoundTemplateMediator.Transform(Engine engine, Template templateToTransform, Package package)
at Tridion.ContentManager.Templating.Engine.ExecuteTemplate(Template template, Package package)
at Tridion.ContentManager.Templating.Engine.InvokeTemplate(Package package, TemplateInvocation templateInvocation, Template template)
at Tridion.ContentManager.Templating.Engine.TransformPackage(Template template, Package package)
at Tridion.ContentManager.Templating.Engine.TransformItem(Template template, IdentifiableObject itemToRender)
at Tridion.ContentManager.Templating.TemplatingRenderer.Render(ResolvedItem resolvedItem, PublishInstruction instruction, PublicationTarget target, RenderedItem renderedItem, RenderContext renderContext)
at Tridion.ContentManager.Publishing.Rendering.RenderEngine.Render(ResolvedItem resolvedItem, PublishInstruction instruction, PublicationTarget target, RenderContext context)
at Tridion.ContentManager.Publishing.Rendering.RenderEngine.Render(IdentifiableObject item, Template template, PublishInstruction instruction, PublicationTarget target, RenderContext context)
at Tridion.ContentManager.Publishing.Rendering.RenderEngine.Render(IdentifiableObject item, Template template, PublishInstruction instruction, PublicationTarget target)
at Tridion.ContentManager.CoreService.CoreServiceBase.RenderItem(TcmUri itemId, IdentifiableObjectData itemDeltaData, TcmUri templateId, TemplateData templateDeltaData, PublishInstructionData publishInstruction, String publicationTargetIdOrPurpose)
at Tridion.ContentManager.CoreService.CoreServiceBase.RenderItem(String itemId, String templateId, PublishInstructionData publishInstruction, String publicationTargetIdOrPurpose)
at SyncInvokeRenderItem(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at Tridion.ContentManager.CoreService.CoreServiceInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
Update
After Resolve ECL items V2
added to Component Template,we're getting below Error on ECL Item preivew
Engine: The item called 'Output' was not found in the package Component: Templating Errorcode: 0 User: NT AUTHORITY\NETWORK SERVICE
Is this because of default ItemName
value in Parameter schema for Resolve ECL items V2
?
What exactly ItemName
is expecting?
In addition any info on rendering and publishing ECL Items to deploying into a desired location ?