Documentation Center

Launching TriDK XML Setup in command line mode

Launching TriDK SML Setup in command line mode is recommended when batch files are created to execute multiple commands without any user interaction, or when multiple Content Manager application servers must be updated .

Before you begin

You must have administrative permissions to run this program.

About this task

Procedure

  1. Create a new batch file (*.bat).
  2. In the batch file, specify the TriDK XML Setup executable.
  3. Provide the necessary parameters as described below.
    OptionDescription
    -AppThe Content Manager application names that are running on the server. The names are configuration-specific. The default application name is ISHCM.
    -UserThe user name of a user with administrative permissions
    -PwdThe user's password.
    -ActionThe action to be performed. The values are:
    • "Complete" or "Compl"
    • "Difference" or "Diff"
    • "Execute" or "Exec"
    • "Export" or "Exp"
    • "Template" or "Templ"
    -InThe filename of the input XML script. The file must be valid according to the TriDKSetup Schema.
    -OutThe filename of the output XML script.
    -LogThe filename of the log file. The log file contains the same information that is displayed on the screen in interactive mode. Return codes are added to the Result Script.
    -StopOnErrorStop whenever an error occurs. If this parameter is not specified, the tool tries to execute all actions.
    -DiffModeThis parameter can be used to indicate which changes must be reported. The values are:
    • "1" Use to report all changes including delete and remove actions.
    • "2" Use when you do not want to report deleted items.
    • "4" Use when you do not want to report sequence changes in the database.
    -TriDKObjectThis parameter can be used to specify which object you want to create or update.
    -ElementNameThe elementname of the new TriDKObject.
    -LanguageThe language must be a valid database language. It is placed in the output file as xml:lang. The only valid database language is English (value: 'EN').
    -FieldTypeThe type definition of the field.
    -FieldAssistThe elementname of the LOV associated with the field.
    -MetaTypeThe metatype.
    -CardTypeThe card type.

Examples:

%TRIDKSETUP_LOCATION% -App %TRIDKSETUP_TRIDKAPP% -User %TRIDKSETUP_USERNAME% -Pwd %TRIDKSETUP_PASSWORD% -Action "compl" -In "CreateEDTSVG.xml" -Out "CreateEDTSVG_complete.xml" -Log %TRIDKSETUP_LOG%

%TRIDKSETUP_LOCATION% -App %TRIDKSETUP_TRIDKAPP% -User %TRIDKSETUP_USERNAME% -Pwd %TRIDKSETUP_PASSWORD% -Action "diff" -Diffmode "2" -In "CreateEDTSVG_complete.xml" -Out "CreateEDTSVG_differences.xml" -Log %TRIDKSETUP_LOG%

%TRIDKSETUP_LOCATION% -App %TRIDKSETUP_TRIDKAPP% -User %TRIDKSETUP_USERNAME% -Pwd %TRIDKSETUP_PASSWORD% -Action "exec" -StopOnError "n" -In "CreateEDTSVG_differences.xml" -Out "CreateEDTSVG_result.xml" -Log %TRIDKSETUP_LOG%