I am developing a custom page to upload components in CMS using Core service. Image fields in component will refer media manager images. I have ecl uris for images so i need to create stub for them and then use the tcmid of stubs in creating component. Stubs can be created using ECL Content Library but i could not find any reference for using ECL Content Library in Custom page.

1 Answer 1


As Lars explained in this answer, you can create MM components using EclService. You can access it via mountpoint in Core Service.

  • Hi @Marco Milic I am getting below error while trying to use method 'public IDictionary<string, string> CreateOrGetStubUris(IEnumerable<string> eclItemUris) ' Error Occured while creating Xml-msgAccessDeniedForImpersonationUser Commented Feb 20, 2017 at 15:07
  • 3
    The user you're running as (by default, NETWORK SERVICE) is not allowed to access Tridion - you need to impersonate.
    – Nuno Linhares
    Commented Feb 20, 2017 at 15:54
  • @NunoLinhares I tried to impersonate client with "domainname\\validuser" but on impersonate step it gives me below exception: Commented Feb 21, 2017 at 6:58
  • The user you're trying to impersonate must exist in Tridion. Also afterwards, make sure that he has the appropriate rights/permissions to execute the desired action or else you'll get another exception.
    – Atila Sos
    Commented Feb 21, 2017 at 8:28
  • 1
    Thanks @Marko it worked i was trying to impersonate user that's why it was not working and when i tried with network credentials on client then it worked. Commented Mar 5, 2017 at 6:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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