How to automatically add a new version with a place holder?

How to automatically add a new version with a place holder?

Automatically add a new version with a place holder

We can use the sidecar delivery feature to create a new version for a place holder. eMAM allows a user to upload a new version of an asset using the XML Ingest. 

Step 1: In the eMAM Director interface, create a Place holder by clicking on create new asset icon in the Browse widget (as shown below


Step 2: Create a Sidecar Delivery profile and customize the XML content to match it with be ingest XML structure. Make sure you enable the Include sidecar file checkbox while creating the eMAM sidecar delivery profile. Also provide the Delivery profile network UNC path as sidecar Ingest path.Here is the example of the sidecarXML structure configured in the delivery profile.

File Name - %e_FILE_Filename%


Body:


<?xml version="1.0" encoding="UTF-8"?>
 <eMAM user-key="JKQy5caFmbXBC5%2bQfzeFadT3G%2ffLe2LD0C9OTSqffDw%3d">
 <asset asset-id="%e_FILE_Assetid%" file-path="\\10.0.8.234\emamfolders\xmltoingest" file-action="move" ingest-action="create-new-version" file-name="%e_FILE_Filename%">
 <basic-metadata>
 <title>%e_FILE_Title%</title>
 <description>%e_FILE_Description%</description>
 <author>%e_FILE_Author%</author>
 </basic-metadata>
 </asset>
 </eMAM>


So here you should keep the physical file inside this folder - \\10.0.8.234\emamfolders\xmltoingest.



eMAM user-key : It should be a valid user key you will get it from Admin tool-> Manage users. ("JKQy5caFmbXBC5%2bQfzeFadT3G%2ffLe2LD0C9OTSqffDw%3d")

File-action : "move"

Action : "create-new-version"

Basic metadata :   basic details like:
                             <title>%e_FILE_Title%</title>
                             <description>%e_FILE_Description%</description>
                             <author>%e_FILE_Author%</author>

  After creating the XML, it will be good if you could validate the XML using online software or try to open it in Mozilla Firefox browser.  If the correct XML is shown then there won't be a any error.

Steps 3:  Create a workflow that means to push the placeholder to Sidecar XML delivery using workflow. In the Super Admin interface, to create a workflow, select the Workflow tab and then click on New Workflow. In the below screenshot,  condition applied is -when we change the Metadata of a asset, the Metadata field is 'Delivery' and its field name is 'Yes' and the asset type is 'video' then the workflow will be triggered and it will pick the given 'Delivery profiles'. Please find the below screenshot:


Step 4: Once you have changed the metadata then the workflow will trigger the action depending on the conditions configured in the workflow. You can monitor the statuses of ingest in eMAM Dashboard widget. eMAM will validate the XML file against the predefined rules defined in the XML Schema Definition (XSD) and if it fails, it will be shown as validation error in eMAM ingest dashboard.

If you face any issues, please contact eMAM Support at support@emamonline.com for further assistance.   


    • Related Articles

    • How to create an asset placeholder using XML ingest?

      Create asset placeholder using XML ingest A placeholder is a virtual asset which is created without any media in eMAM using sidecar XML ingest. A placeholder doesn't have any media but we can add custom metadata values. Here is a sample XML file ...
    • How to create a new version for an asset using XML Ingest?

      How to create-new-version by using XML Ingest eMAM allows a user to upload a new version of an asset using the XML Ingest. Sample XML file <?xml version="1.0" encoding="UTF-8"?> <eMAM ...
    • How to replace an original file using Associate Metadata option via XML ingest?

      How to replace an original file using Associate Metadata option via XML ingest  You can easily associate the Original, Proxy and Mezzanine formats to an existing asset or placeholder, using Associate Metadata option in the XML ingest. Sample XML ...
    • How to create an asset using Sidecar XML ingest?

      Create an asset in eMAM and associate information such as Basic Metadata, Custom Metadata, Categories, Projects, Sub-clips, Markers via Sidecar XML Ingest. Here is the latest sidecar XML document - eMAM Sidecar Ingest - XML Specification Guide Please ...
    • How to do metadata association using XML ingest?

      Metadata association using XML ingest Associate metadata here means associating the metadata values to the corresponding metadata fields using an XML ingest or from the user interface.  Sample XML file <?xml version="1.0" encoding="UTF-8"?> <eMAM ...