5.9.2.3.5.  Variables containing external references

Variables with executable program [Variables containing external references]

Tabbed page General → Menu item VariablesVariables with executable program [Variables containing external references]

Columns can be marked with the property to open a program or document once a cell is being clicked. The document can be stored in the catalog, just as well be referenced per URL.

PARTdataManager: linked additional information

PARTdataManager: linked additional information

These columns are marked with a document icon icon. If in the settings options under Extras menu [Extras] -> Settings [Settings...]... -> Table -> Color executable columns [Color document columns], they are also colored green.

Document columns with icon

Document columns with icon

Document columns with icon + colored in green

Document columns with icon + colored in green

  1. Variables with executable program [Variables containing external references]: Define the relevant column (variable).

  2. Variables with executable program [Variables containing external references]Document to be opened [Document to open]: Specify the document that should be opened when you click on the column (table cell) defined above.

Examples

  • Example 1

    Direct path statement to internal document with consideration of language dependency.

    The document (possibly even more with multiple languages) may be stored at any location within the catalog.

    If documents are available in several languages attach a language ID to the file name separated by an underscore. In the example below "_english" and "_german".

    Set the following entry under Document to open:

    ../txt_norelem/2133_$(cadenas_language).txt

    [Note]Note

    Note on syntax:

    If it is a table variable or a table constant, the syntax is $VARNAME. The dot of the file extension is also added, making a total of two dots.

    If an environment variable is used, the syntax is $(ENVNAME). This does not require a period, therefore one period in total.

  • Example 2

    Variable statement for path to internally stored document.

    Define the relevant column (variable) under Variables with executable program [Variables containing external references].

    Under Document to open, specify the variable with the document path (here PDFX).

    The variable PDFX with attribute algorithm contains the path to a PDF which is stored in the catalog.

  • Example 3

    Document to be opened [Document to open]: Variable specification that references a URL with consideration of language dependency. A corresponding condition is formulated depending on $CADENAS_LANGUAGE.

[Note]Note

Several document columns can also be specified. Then enter these separately under Variables with executable program [Variables containing external references] and the document paths or the corresponding variables again separately under Document to open. The first two entries belong together, the second two, etc.

[Tip]Tip

You can make the linked documents available in the PDF data sheet. See Section 10.4.6.1, “ Embed Documents ”.

Instead of an internal document to be opened, just as well you may state a program to be executed:

  • Executable (WIN):

    Enter the program (*.exe) that is to be started under WINDOWS when you click on the column defined above.

  • Program to be carried out (UNIX):

    Define the program (*.exe) to be opened when clicking on the defined column (UNIX).