The column properties "IsMultiLanguage" and "LimitedValues" (list of permitted values) are resolved when creating the display value for a column.
$columnname[D]$
A list of permitted values is defined for the restriction type of the IBM Notes server restrictions.
PrivateList=Run Personal Agent RestrictedList=Run Restricted Agent UnrestrictedList=Run Unrestricted Agent
If a server restriction has the value "Private list" the value "Run personal agent" is displayed on the information form.
The display value for the server restriction should be formatted from the name of the IBM Notes user and the display value of the restriction type.
Value = vid_Left($FK(UID_NotesUser).FullName1st$,39) & " [" & vid_Left($NotesAgentMgrType[D]$, 22) & "]"
The preprocessor also interprets references that are embedded in comments, for example, $Lastname$. Referencing a column in a script comment results in the script being run when the column value is changed.
An employee’s starting date is filled with a template. This template should run when the employee’s surname changes. The template for Person.Entrydate is therefore:
'$Lastname$
Value = Date
$[IsLoaded]:Bool$
Meta value | Meaning |
---|---|
IsLoaded | This value specifies whether the object is loaded from the database. |
IsChanged | This value specifies whether the object is altered when it is loaded from the database. |
IsDifferent | This value specifies whether the new value is different from the old value. You can access to the column through: Columnname[C]. |
IsDeleted | This value specifies whether the object is marked for deletion. |
The Base. syntax always accesses the object that is currently loaded. The Base.object can be used in tasks, selection scripts for object definitions and insert values. Base.object cannot be used in templates, formatting scripts and processes.
Base.PutValue("<column>", <value>)
Base.PutValue("<column>", context.Replace(<value>))
Base.PutValue("IsForITShop", 1)
Base.PutValue("UID_ADSContainer", context.Replace("%cont%"))
© 2023 One Identity LLC. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy