2

We have Media Manager ECL mounted on SDL Tridion and images are already uploaded on Media Manager. Now i have to link images in Component via Tridion Core service.

How can it be achieved? Please provide any reference that can be used to link images in component

  • Tag the version of the tridion that you are using. – Hiren Kaku Jan 18 '17 at 6:54
1

Raise support ticket with SDL to get the mountpoint GUI extension installation. After this GUI extension, you will see a mountpoint in the CME, using which you can browse the images from media manager.

For the reference to the media manager integration with SDL, refer: SDL Tridion Connector 1.1 for SDL Media Manager. This reference is for web 8.1, if you are on any other version then you should be able to find something similar for that version also.

Update based on clarification

For the purpose of creating components using core service, you will have to add reference to ecl libraries and follow the steps given below:

Load the mountpoint, Search the image by name, Extract ecluri from the searched image, Using ecluri create stub component, using the method:

public IDictionary<string, string> CreateOrGetStubUris(IEnumerable<string> eclItemUris) 

After above steps, you can reference ecluri in the component creation.

| improve this answer | |
  • Media Manager GUI extension is already mounted with SDL web 8 but we are creating component dynamically using core service so need the ecl id for linking of image with component. – Mohd Kashif Jan 18 '17 at 7:11
  • "Load the mountpoint, Search the image by name, Extract ecluri from the searched image" Is it manual or using code? – Raj Kumar Jan 18 '17 at 7:40
  • Using code obviously.. seems you know how to do it manually and make it work ;) – Hiren Kaku Jan 18 '17 at 7:41
  • Great :) i asked as for create stub you mentioned method name but for above not. – Raj Kumar Jan 18 '17 at 8:19
  • How to load Mountpoint in a Console Application that i am using as of now. I read the Tridion External Content Library Api reference, there are talking mostly about Developing Templates,Developing Providers and Developing Event Handlers. In my case i have to interact with ECL content library while using CoreService for creating components. – Mohd Kashif Feb 20 '17 at 13:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.