EditMakeDocLink @Command (Formula Language)

Creates a link to the current document and copies it to the Clipboard. The user can paste the link into any rich text field.

Examples

This formula, when added to a hotspot button on a form, creates a document link of the current document and copies it to the clipboard. If the document has new, it first saves it before creating the link.
@If(@IsNewDoc;@Do(@Command([FileSave]);@Command([EditMakeDocLink]));@Command([EditMakeDocLink]))