Database Management
Reference Manual
Link Documents
:
Command Window
: Link a Document to a Database Element
Link a Document to a Database Element
To add a link between an element and a document (or an external resource):
1.
Create a new Link Descriptor somewhere in the links hierarchy.
2.
Set its URL to the desired internal or external reference.
3.
Link it to a database element using a DLADD command.
You can also link a document to an element using an existing Link Descriptor, because many database element can be linked to the same document:
1.
Locate a LNDESC in the links hierarchy.
2.
Link it to a database element using a DLADD command.
The DLADD command can be used to add links from a document to one or more other elements. The command syntax is:
----------------+
/ |
>--- DLADD -------*-- <selatt> -----+------>
It is possible to create an association both by adding a link from a Link Descriptor to a database element and by adding a link from a database element to a Link Descriptor. Examples are given below.
If current element is a Hull Panel Element (HPAN) named /PANEL1 the following command assigns Link Descriptors /MYDOC1 and /MYDOC2 to /PANEL1:
> DLADD /MYDOC1 /MYDOC2
If current element is a Link Descriptor (LNDESC) named /MYDOC1 the following command assigns this Link Descriptor to /PANEL1 and /PUMP1:
> DLADD /PANEL1 /PUMP1
The whole process of linking a document to /PUMP1 might look like this:
> NEW LNDESC /MYDOC
> URL 'http://aveva.com/all_about_vm12_link_documents.pdf'
> DLADD /PUMP1
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.