Reference External Document
- Last UpdatedDec 21, 2021
- 1 minute read
A User Defined Attributes (UDAs) can refer to an external document. Setting the UDA Hyperlink (UHYPER) attribute on a UDA will allow the user to launch the document (using the associated Microsoft Windows application) from the Attribute Utility within the Model Module.
During a Lexicon session create a UDA as follows:
|
Example: |
|
|
NEW UDA /FILELINK UTYP TEXT |
Create a new Text UDA |
|
UDNA 'FILELINK' |
Make sure the length is enough to accommodate the file path |
|
ULENGTH 50 |
|
|
UHYPER TRUE |
|
|
ELE ADD EQUI STRU SUBS PIPE ZONE SITE |
Now switch to the Model and from the command line type the following to set the UDA value.
:FILELINK 'C:\TEST.XLS'
From the Attribute Utility in Model it is now possible to right click the UDA and open the file.