Hot answers tagged

11

Folder structure and is cached in the browser the exact same way as standard Tridion Items. The first time you load them they will be retrieved, and after that you have to use Refresh to update the list. So just like you do not see any call to the ECL GetList implementation when switching to an ECL folder already loaded, you won't see any call to the TCM ...


9

For starters it is important that you implement all of these methods correctly, and that you have a clear definition of what is a EclItemTypes.File and what is a EclItemTypes.Folder. Let me try to explain based on my Flickr ECL provider example, the IContentLibraryContext.FindItem(IEclUri) I chose to return null, which basically forces ECL to call ...


8

You should not attempt to create stubs manually though the core service. The EclService (hosted in the same process as the Core Service) expose the method: public IDictionary<string, string> CreateOrGetStubUris(IEnumerable<string> eclItemUris) It will create the Tridion stub components for you (if needed) and return the TCM URIs. The ...


8

There is a hotfix for this issue for MMC 1.3 that you can request from CS. The fix for this issue is already included in latest Media Manager Connector 1.4 release.


7

Does the "Everyone" group always have the same identifier (e.g. tcm:0-1-65568)? Yes, this is the default id assigned during Tridion installation How else would you find the Everyone ID (CME or code if you prefer)? You can query the Tridion_cm database in the TRUSTEES table (this will always be id=1) I understand this is a setting that's not visible in ...


7

The only option that we've found working is by separately exporting and importing the stubs from the parent publication before exporting and importing the other items. Disclaimer: I don't know if this is the right way to do it, but as said, it seems to be the only option.


7

No you don't have to use the Media Manager ECL Stub Schema provided as part of the DXA Media Manager Module, as long as you ensure that the Schema title is exactly the same (it's the default title for MM ECL Stub Schemas, assuming that the ID of your ECL Mount Point for Media Manager is mm). As of DXA 1.5, there are a few additional metadata fields defined ...


7

There is nothing in ECL that will attempt to stop a provider from leaking memory. So all the usual suspects apply: Missing calls to Dispose, event subscriptions, and static variables. I am sure there are more, but these are the three top contenders to memory leak I have encountered. If the memory leak is observed in an SDL provider (for example Media ...


7

In order to understand what is going on you need to understand how ECL works. The ECL URI that you see in the UI is not what actually gets saved in to the CM. When you use an ECL component somewhere in other component or page, under-the-hood ECL creates stub component (if it does not yet exist) and substitutes the ECL URI with the TCM URI of the just-...


7

One would indeed expect the ordering to be (alphabetical) similar to that of the CME, but as @Marko mentions, the order is coming from the external system. That is basically how ECL works. In an ECL connector, you implement the IContentLibraryContext interface, and there you will have to implement the GetFolderContent(IEclUri parentFolderUri, int pageIndex, ...


7

If your Publisher is outscaled onto a separate Windows server, then you'll need to make sure that the ECL mountpoints are configured correctly on that server too. I've been caught-out by that before! P.S. You'll need to restart the SDL Publisher Windows Service after making the change.


6

You can only see HTML5 distributions in the SDL Media Manager mountpoint. To publish from Media Manager to YouTube there is a specific YouTube channel where you need to add the assets too. So if these assets are also in an HTML5 distribution, you can see (and use) these in SDL Tridion (you must have a Resolve ECL TBB which resolves the distribution to the ...


6

I have updated the following article. It now contains an extract of the App.config file containing the bindings and endpoint information. Configure your App.config file with the URL to your Secure Token Service and you should be able to connect to SDL Media Manager using the provided helper class. var mediaManagerClient = MediaManagerHelper....


5

You are right in guessing that the CME does caching. The part in ECL which integrates with the CME is implemented via a GUI Extension using the Anguilla framework, and browser caching plays a role here. This is why when deploying new GUI extensions we increment the modification number in the System.config file to force the browsers to get all new versions ...


5

After some debugging, we found the cause of this problem. In our ECL extension, we have to implement the function public IFolderContent GetFolderContent(IEclUri parentFolderUri, int pageIndex, EclItemTypes itemTypes) { //implementation here } The key to the solution is the itemTypes parameter This ItemTypes parameter contains a list of itemType Enums ...


5

I don't think it matters much if you insert Bart's TBB into the template before the DD4T TBBs. The problem is that DD4T's "Publish binaries for xxx" TBB will still throw this exception because it always does an AddBinary call on the URI, and that is not supported for ECL URIs. To solve this, I think it is necessary to merge Bart's code with the DD4T TBBs, ...


5

for basic information about connectors (login required) Installation & certificates Information (login required) you will also find other information related to aDAM from above links.


5

Seems like Tridion.ExternalContentLibrary.TcmExtension is not installed or not working on your CM In Tridion.ContentManager.config in "extensions" section you should have something like this <add assemblyFileName="YOUR_TRIDION_FOLDER/bin/Tridion.ExternalContentLibrary.TcmExtension.dll" /> ECL installer adds it there but may be it is removed on your ...


5

ECL keeps track of Stub Schemas by AppData attached to the Schema The AppData name starts with ecl:stubschema Apparently this AppData was deleted somehow and therefore ECL lost track and tried to recreate the Schema causing the issues you describe.


5

If it was running before and not anymore now, and you didn't change anything in the configuration just before it stopped working, then the configuration is fine. My guess is something happened to the ability of the CMS connecting to the service end point address. Which could be several things: connection issues somewhere between the CMS and the service ...


5

The YouTube ECL provider on Tridion World has the source code in the package zip, which you could update to use the newer YouTube API. The provider was created for a specific project and hasn't really been looked at in a while. When I get a chance, I'll have a look at updating it to the newer API. However, I can't promise when this will be, as I'm working ...


5

Browsing and selecting an item use the methods GetItem and GetFolderContent in your provider, so they are probably working as expected. When you save an item, Tridion will automatically load the item again and return it to the UI which is then updated. This has nothing to do with ECL, it is how Tridion ensures the new state of the item is correctly shown in ...


5

When you implement public IFolderContent GetFolderContent(IEclUri parentFolderUri, int pageIndex, EclItemTypes itemTypes) you must support the itemTypes parameter. Notice EclItemTypes is a Flag enum. The most efficient way to implement it will depend on your external system. Typical implementations are: The external system supports no filtering - get all ...


5

By default, only MM Component links (incl. ECL Item links) in img elements in Rich Text Fields are processed by DXA. However, as of DXA 2.2, this is configurable. See section “Embedding” in the What’s New for DXA 2.2 Note that the “Resolve ECL Items V2” TBB should not be used in DXA TBBs; DXA has built-in support for ECL.


4

The error displayed happens inside the provider. The providers are isolated from Tridion by being loaded into their own app domain. This basically means Tridion (and even ECL) are not even aware of the communication performed by the providers, so I do not think you should look at Tridion or ECL to find out where the communication is blocked. If - like it ...


4

Seems like certificate problem between ADAM and Hintech AdamConnector Possible reasons: Wrong certificate User do not have permissions to access certificate Certificate not trusted


4

I haven't actually used this in the ECL I've written and you may have already spotted these but there is a pageIndex parameter on the GetFolderContent method from the IContentLibraryContext interface public IFolderContent GetFolderContent(IEclUri parentFolderUri, int pageIndex, EclItemTypes itemTypes) I'm not sure how the CME passes that through through or ...


4

There is no direct way of doing it through the API. Option 1: Read the XML directly. The XML format could change in future versions of ECL - there might not even be an XML file - so this is more for the quick and dirty approach. Option 2: Use the "Invoke" method to expose the values you are interested in from the provider. You could return the entire XML ...


4

I am also encountering this problem at the moment and you are correct, DD4T does not currently handle ECL item links because it thinks they are just regular multimedia links. As with the other means of templating in Tridion and the External Content Library functionality, "You need to develop Template Building Blocks that interact with the External Content ...


4

Have you tried setting the Position property of your stream to 0? I've found that to be an issue with MemoryStreams in .NET generally in the past, however I've not tried one with ECL. Though it seems to me if it is a subclass of Stream it should work by default.


Only top voted, non community-wiki answers of a minimum length are eligible