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 user-key="mM1o9aWH%2fsA3yWjrpiF0jN0ncLOn8pGN6qmzr4oyEjphEpRlHUmaTw%3d%3d">
<asset asset-id="1164" file-path="\\10.0.20.118\UNIT_1\Ingest_XML" file-action="move" ingest-action="create-new-version" file-name="Stock Footage_file version.mov">
</asset>
</eMAM>
Filename:Stock Footage_file version.mov (This will be the new filename)
Ingest action (create-new-version): A new version for the existing asset (id:1164) will be created in the eMAM system.
File action (move): Mentioned Asset ("Stock Footage_file version.mov") will be moved from the source location to eMAM Managed storage.
Asset id (1164): Asset id of the asset for which we are updating the newer version and is be displayed in the File Versions widget in the eMAM Director interface.
File path: Path of the asset that needs to be ingested as a new version.
- 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 XML is shown as a result then there won't be a schematic error. After all the required details are entered in the XML, drop the XML to the corresponding sidecar ingest profile folder.
- You can monitor the statuses of ingest in eMAM Director> Dashboard widget.Ingest tab.
- If the XML processing fails, you will get the corresponding error response under the description column in the dashboard. You can correct the same and re ingest or resubmit it replacing the old.