Database Management
Reference Manual
Link Documents
:
Data Structures
: Link Descriptor (LNDESC)
Link Descriptor (LNDESC)
A Link Descriptor (LNDESC) element holds a link to documents and external resources. Both external documents and draft drawing elements can be referenced using a LNDESC.
A Link Descriptor has the following attributes:
•
NAME - user-defined name of the LNDESC element.
•
DESC - description of the element.
•
LNKURL - a string storing raw Uniform Resource Locator of the linked document.
It can be for example a file ("file:///Docsys/ProjectX/MyDocument.doc"), a web page ("http://www.aveva.com"), an e-mail address ("mailto:support@aveva.com") or any other external resource. If it is an internal database reference (e.g. to a drawing) it is stored in a form "dabref://=12345/6789".
The following pseudo attributes may be queried:
•
LNKREF - if the Link Descriptor holds a reference to an internal database element, i.e. the LNKURL stores a "dabref://…" link, this attribute returns a reference to a database element linked through this descriptor. Otherwise, LNKREF returns a null reference. It is also possible to store an internal reference through this attribute.
•
URL - this attribute returns merely the value of LNKURL but its main purpose is that you can assign either an external URL or a string with reference number of a Dabacon element, which is automatically recognised and stored as an internal link.
•
LNKCLS - list of Link Class elements that classify this Link Descriptor.
•
LNKELE - list of elements that have this Link Descriptor assigned.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.