I am unable to find the configuration setting, where my ECL dll is referred to from the SDL CM side.
I have checked, and its not there in the Tridion.ContentManager.config
.
Is there any standard. Any help is much appreciated.
Tridion Stack Exchange is a question and answer site for Tridion developers and administrators. It only takes a minute to sign up.
Sign up to join this communityI am unable to find the configuration setting, where my ECL dll is referred to from the SDL CM side.
I have checked, and its not there in the Tridion.ContentManager.config
.
Is there any standard. Any help is much appreciated.
Mountpoints configured in ExternalContentLibrary.xml
Every mountpoint element has attribute type (e.g type="My Custom Provider")
Every provider has main class that implements IContentLibrary
And this class must have attribute AddIn (e.g [AddIn("My Custom Provider", Version = "1.0.0.0")])
Name in AddIn attribute in class matched with type attribute in mountpoint xml, and this how ECL find proper dll for particular mountpoint.
Example:
In ExternalContentLibrary.xml
<MountPoint type="My Custom Provider" id="mcp" rootItemName="Test">
In main class of provider
[AddIn("My Custom Provider", Version = "1.2.0.0")]
public class MyProvider : IContentLibrary
{
...
}
Actually, those settings are available in the ExternalContentLibrary.xml
file under
C:\{SDLWEB Installation Folder}\Config\
You can find mount points for each of your ECL links, Example:
<MountPoint type="Local File System Provider" id="ffs1" rootItemName="Digital Assets Management">
<StubFolders>
<StubFolder id="tcm:1-633-2" />
<StubFolder id="tcm:8-733-2" />
</StubFolders>
<PrivilegedUserName>SDLPE\SDL</PrivilegedUserName>
<FolderPath>C:\Working Areas\ECL\DAM</FolderPath>
<IconIdentifier>DamLibrary</IconIdentifier>
<IconURL>http://tridion.sdldemo.com/WebUI/Editors/CME/Themes/Carbon/Images/ECLIcons/</IconURL>
</MountPoint>
Hope this helps to make changes to ECL configuration and move forward
C:\ProgramData\SDL\SDL Tridion\External Content Library\AddInPipeline\AddIns
Remember, though you use SDL Web, it still picks up from SDL Tridion folder Don't forget to mark the answer if this helps resolving your issue
– Rajesh
Apr 6 '17 at 12:04
C:\ProgramData\SDL\SDL Tridion\External Content Library\AddInPipeline\AddIns
, and ExternalContentLibrary.xml
is under `{Tridion Home}\config` folder. But, I am not sure how the dll is referred to if it is under a different location and XML under different location. Is is the standard path and SDL will pick it up from this location? That is my real question.
– guest_2017
Apr 6 '17 at 13:31
This entry should be in the Tridion.ContentManager.config
file Under {Tridion Home}\config\
folder.
Search for extensions
tag. Under that tag you can find the entry for ECL Library. If it is not there then add that entry like below -
<extensions>
<add assemblyFileName="D:\Tridion\bin\Tridion.ExternalContentLibrary.TcmExtension.dll" />
</extensions>