Copies all the links from a specified record.
DestRecord.COPYLINKS(FromRecord) |
Parameters
- DestRecord
- Type: Record Specifies the record you want to copy the links to.
- FromRecord
- Type: Record or RecordRef Specifies the record from which you want to copy links.
Remarks
Use this function to copy all the links from a specified record and paste the links to the current record.
The link can be a link to a website, a file stored on the local or on a remote computer, or a link to a page.
Example
The following example copies all the links from a record named SourceRecord to the record named DestRecord. This example requires that you create the following variables in the C/AL Globals window.
Variable name | DataType | Subtype |
---|---|---|
SourceRecord | Record | Customer |
DestRecord | Record | Customer |
Copy Code | |
---|---|
DestRecord.COPYLINKS(SourceRecord); |