Token Grammar; Where Clause Panel - Novell ADMINSTUDIO 9.5 User Manual

Hide thumbs Also See for ADMINSTUDIO 9.5:
Table of Contents

Advertisement

Token Grammar

What are Tokens?
Tokens represent data in the database that is inserted at runtime. In ConflictSolver, Tokens are used to insert values
at runtime from the ConflictSolver Application Catalog Database or an external MSI package into an Error or
Display String.
How to Insert Tokens
Tokens are specified on the Custom Options panel of the Rules Wizard. To use token replacement in a string, click
the arrow to the right of the Error String and Display String text boxes and select a column name from the list. The
column name is then inserted into the string in the following format:
Source Only Packages
Source and Target Packages
identifying whether the column is in the Source or Target package. If no prefix is used, ConflictSolver assumes
the "Source." prefix.
Note •
The Token list on the Custom Options panel is provided for your convenience; if you prefer, you can type the
variables directly in the text boxes. For more information see,
Caution •
Custom - Source and Target Packages, and then insert tokens in the Error String and Display String fields, the
"Source." prefix will be used. But, before you finish creating this ACE, if you go back and change your Rule Type
selection to Custom - Source Only Packages, the tokens that you initially entered into the Display and Error string
text boxes will not automatically be updated to remove the "Source." prefix. For ConflictSolver to correctly interpret
this ACE, you need to manually go back to the Error and Display String fields and delete the "Source." prefix.
Using the ProductName Pseudo-tokens
You can use the pseudo-tokens of [ProductName], [Source.ProductName] and [Target.ProductName] to insert the
name of the Source or Target package in an Error or Display String, even though ProductName is not a table
column name.

Where Clause Panel

From the Where Clause Panel, you must define a valid Where clause for the ACE. If you do not know how to build
a Where clause, you can click the Build Expressions button to launch the Expression Builder dialog box. You can
also click Test to validate the Where clause syntax.
If you selected Custom - Source and Target Packages on the Additional Information Panel, you must also
select a Join Column—a table column in the Application Catalog database that has a matching value for both the
Source and Target packages. Rows in each of the packages that have a matching value in the Join Column are
AdminStudio 9.5 User Guide
Chapter 13: Identifying and Resolving Application Conflicts Using ConflictSolver
ACEs—
While you are creating a user-defined ACE in the Rules Wizard, if you initially select a Rule Type of
ADS-0950-UG00
[ColumnName]
ACEs—
[Source.ColumnName]
Token
and
[Target.ColumnName]
Grammar.
ConflictSolver Reference
, with the prefix
1249

Advertisement

Table of Contents
loading

Table of Contents