We have a DropFolder working correctly and we were able to set the entry metadata from the XML file when uploading the video entry.
We have created a Custom MetaData profile with two single Text fields and we need to set those fields during the video ingestion from the Drop Folder.
There is no much documentation explaining how to format the XML file so the custom metadata is set from the DropFolder.
We have tried several ways but without any success.
The nearest test is using this upload XML file:
<?xml version="1.0"?> <mrss xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ingestion.xsd"> <channel> <item> <action>add</action> <type>1</type> <userId>cloudvideo-bulk@XXXXXXX</userId> <name>pruebacalipso20191003001</name> <description>pruebacalipso20191003001</description> <categories> <category>XXXXXXXX</category> </categories> <accessControlId>4</accessControlId> <media> <mediaType>1</mediaType> </media> <contentAssets> <content> <dropFolderFileContentResource filePath="pruebacalipso20191003001.mp4"/> </content> </contentAssets> <customDataItems> <action>update</action> <customData metadataProfile="16"> <xmlData> <metadata> <IsPreview>0</IsPreview> <previewID>51dd37b6490a5a21cc7b08823dfba27d</previewID> </metadata> </xmlData> </customData> </customDataItems> </item> </channel> </mrss>
We get the following error:
customDataItems failed: Missing custom data metadataProfile attribute
But we have no idea which attribute is missing. We have tried putting both attributes (metadataProfile, metadataProfileID) but we get the same error.
I hope someone could lead us in the correct direction as we are clueless at the moment.
I am sure we are missing something but I have not been able to find any example or docs regarding this.
Calipso Comunicaciones S.A.