Product Documentation
Virtuoso Visualization and Analysis XL SKILL Reference
Product Version IC23.1, November 2023

awvLoadSharedCustomFunctionsFile

awvLoadSharedCustomFunctionsFile(
t_centralFileName
)
=> t / nil

Description

Shares definitions and UI templates for custom functions among multiple users from a central file location.

Arguments

t_centralFileName

Name of the configuration file (.ini), containing definitions and UI templates for custom functions, that you want to share.

Value Returned

t

Definitions and UI templates for custom functions is shared successfully.

nil

Definitions and UI templates for custom functions cannot be shared because of an error.

Examples

The following example shows how to share definitions and UI templates for custom functions defined in a configuration file (.ini) from a central location.

  1. Create a configuration file named central.ini.
  2. Specify functions to add three custom functions customFunction1, customFunction2, and customFunction3 in the file central.ini.
    • awvLoadCustomCalcFunction(?funcList "customFunction1" ?fileName "myCustomCalFunction.il" ?templateFileName "myCustomCalFunction.ocn")
    • awvLoadCustomCalcFunction(?funcList list("customFunction2" "customFunction3") ?fileName "skill.il")
  3. In the .cdsinit file, add the awvLoadSharedCustomFunctionsFile function to share and load the custom functions.
    awvLoadSharedCustomFunctionsFile("~/central.ini")
    You can verify that shared custom functions are loaded successfully by running the following in CIW.
    awvLoadSharedCustomFunctionsFile("/home/user/central.ini")
    => t

    The shared custom functions appear in red in Function Panel.

Return to top
 ⠀
X