I can successfully set metadata properties for an ECL item and display it in External Metadata Schema as shown below: Screenshot of External Metadata Schema

I am not able to figure out how to read the updated Metadata fields in the ECL code.

The idea is that properties like Alt Text can be updated in CME, read in ECL and saved back to external system. But, I am unable to read the updated field values in the following functions:

public string MetadataXml
{
    get
    {
        return metadata.ToString();
    }
    set
    {
        // set metadata values
    }
}

--OR--

public IContentLibraryItem Save(bool readback)
{
    return readback ? this : null;
}

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.