Documentation Center

Executing an action script

Executing an action script updates the metadata setup available in the database. TriDK XML Setup interprets the action script and automatically creates SQL statements which are executed on the Content Manager database.

Procedure

  1. Start the TriDK XML Setup tool in interactive mode.
  2. Specify which Content Manager application you want to modify (-App).
  3. Provide the username (-User).
    The value is case-sensitive.
  4. Provide the password (-Pwd) to allow the TriDK XML Setup Tool to logon into the application.
    The value is case-sensitive.
  5. Provide the value execute to the -Action parameter.
  6. Provide a value for the -StopOnError parameter. Allowable values are Y and N.
    If the value is Y and an error occurs, the execution is aborted otherwise, the tool tries to execute the next instruction in the script.
  7. Provide the location of the action script.
  8. Provide a file name for the resulting result script.
    Make sure you give descriptive names to the output files, such as [xxx].result.xml.

Results

A result script is generated.

Inside this script, the TriDK XML Setup tool has added result attributes for each action that was executed in the database. The result attribute indicates whether the action was executed successfully or not. A descriptive error message is provided.