Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info
titleAvailability

This routine is available starting with SIL Engine™ 4.6.3.

Syntax

admUpdateCustomFieldOptions(fieldName, pathToFile, charset, actionForOldFieldValues, actionForExistingFieldValues, projectKeys, issueTypes, useDefaultScheme, reorder, updateExistingOptionsValues, applyActionsOnParentOptions)

...

Note
iconfalse
titleupdatedoptions.txt

For all the following examples, the 'updatedoptions.txt' file will be used an an input file. These are it's contents:

Code Block
Parent1
 Child1
 Child2
Parent2
 Child3



Example 1

Code Block
admAddCustomFieldOption("New Option", "Select List"admUpdateCustomFieldOptions(fieldName, pathToFile, charset, actionForOldFieldValues, actionForExistingFieldValues, projectKeys, issueTypes, useDefaultScheme, reorder, updateExistingOptionsValues, applyActionsOnParentOptions);

Add the "New Option" to the global context of custom field "Select List".

...