Skip to main content
Skip table of contents

Customize Hyperlinks

Information

  • PLANTA project supports three different types of hyperlinks
    • HL: Linked files (simple hyperlinks)
    • HL: Local files
    • HL: Files in the DB
  • They differ in their filing procedure and filing directory as well as in their file editing procedure.

Details

  • All path specifications can also be made in UNC notation.

Note

  • Due to the different modes of application of the 3 hyperlink types, we recommend that you use one hyperlink type throughout the system.
See also: Information on the use of hyperlinks

Note

  • Hyperlinks can also be edited with the method of the Hyperlink class of the Python API.

Procedure

Create hyperlink DI

Create function DIs for the hyperlink-DI.

  • Create a data item for each function to be defined in the Data Dictionary module according to the required hyperlink behavior.
  • Define the value range for the function DI in the Data Items module if necessary

Setting parameter

DI with functionValue Range
ST-
CRPath to the template file
PAPath to the temporary directory for local files
FNfor Option 1 or 2: structure of the file name/title
DE
Path to the paper bin. If no path is specified, the Windows paper bin will be used by default.

Assign function DIs to the Hyperlink DI as sub-DIs

  • Customizer → System Customizer → Data Items
  • Insert hyperlink DI.
  • Right-click on the data item record.
  • Insert → Subordinate data item from the context menu.
  • Assign the function DIs to the hyperlink DI as sub-DIs.
  • Define the Function and Option parameters according to the function table.

Functions

FunctionMandatoryLocalDBDescriptionOptionDefault valuesColumn typeDB lengthDF length
STXXXDefines whether the file is saved in the database (HL: File in the DB) or locally (HL: Local file)
  • 0: Local file
  • 1: File in the database
0Number without decimal places (4 digits)22
CR
X
Implies in the creation of local files (HL: Local file) whether and how values are copied from the standard template (with query)
  • 0: Arbitrary creation (file or link)
  • 1: If blank, creation from template without prompts
  • 2: Creation from template with prompts (Message: [DI name]: Copy file from template)
    This message is also displayed if DIs in window 9 are customized.
  • 4: Creation from template necessarily without prompts
No automatic creationAlpha8080
PAXX
Implies, where the local files (HL: Local file) are to be stored and what happens if the path does not exist
  • 0: Error message, if the path does not exist
  • 1: Create path after consultation
  • 2: Create path without consultation
Error message if the path does not existAlpha8080
FN
XXDefines the file name/title of the saved file
  • 0: File name from source
  • 1: File name acc. to value range
  • 2: File name according to value range + file name from source
Same file name as external fileAlpha8080
DE
XXDefines the trash bin path-
Alpha8080

Note

  • The directory in which the files from the database (HL: File in the DB) are tmeporarily stored is specified for each skin in the Hyperlink path data field in the Skins module.
    • If no path is specified here, the standard temp directory will be used.

Procedure

  • Open Customizer → Module Customizer → Data Areas
  • Insert the required data area.
  • Insert the required hyperlink DI.
  • The value in the DF behavior field is set to h by default.
    • If necessary, change the value to ho manually.

Note

  • If the Output parameter is activated on the data area that contains the hyperlink or if the make_output() Python function is used, the hyperlink behaves like with DF behavior ho .
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.