Editing reference type items
This sample shows how to retrieve and modify an item of type TYPE_NOTEREF_LIST (reference item). Normally this type of item is used for $REF items that point to the document’s parent document. However, the same type of item can be also used to create a visible link to any document in the same database.
Either use lss files and add the line in declarations section:
or use the full source code below.