Asset Importer Configuration Bind

The Asset Importer Configuration bind is used to create / update asset content with new file content using an Asset Importer Configuration. The bind can be found within the 'Binds to' dropdown, as shown below.

Configuration

To use any bind:

  1. Create a business rule as defined in the Creating a Business Rule or Library topic here.
  2. Edit the business rule as defined in the Editing a Business Rule topic here.
  3. In the Edit Operation dialog, add the bind to a business rule, as defined in the Adding a Bind topic in the Reference Materials documentation here.
  4. In the Edit Operation dialog, optionally add Messages, as defined in the Adding a Localized Business Rule Message topic here.
  5. In the Edit Operation dialog, add JavaScript to call the bind.

Example

The following is example JavaScript that uses this bind.

Important: The example scripts should not be used as-is without thorough testing, including updating the script to match object and link types that exist on your system.

In the example below, the existing asset is updated via the Asset Importer Configuration so that the asset will be passed through all the steps of asset import configuration.

assetImporterConfig.upload(asset.getID()+'impconfig',asset.download(), asset.getValue("asset.filename").getSimpleValue());

 

2018, Stibo Systems – Confidential