Difference between revisions of "Codeunit/ContentPrivate/PageCopyStructure"
Jump to navigation
Jump to search
old>Admin (Created page with " The page is called with the command: '''dk.tempusserva.codeunit.common.PageCopyStructure''' Takes the following parameters * SagID * DataID The user activating the functio...") |
m (3 revisions imported) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
=== Function and limitations === | |||
Will copy all fields except files and pictures, but all sub child entities (1 level, non recursive). | |||
=== Usage === | |||
The page is called with the command: '''dk.tempusserva.codeunit.common.PageCopyStructure''' | The page is called with the command: '''dk.tempusserva.codeunit.common.PageCopyStructure''' | ||
Line 10: | Line 14: | ||
Example of usage: | Example of usage: | ||
main?command=dk.tempusserva.codeunit.common.PageCopyStructure&SagID=10&DataID=100 | main?command=dk.tempusserva.codeunit.common.PageCopyStructure&SagID=10&DataID=100 | ||
Button for the function can be created using a "Action button: Button: Parameterized URL" | |||
Example of URL pattern | |||
main?command=dk.tempusserva.codeunit.common.PageCopyStructure&SagID=10&DataID=[DataID] |
Latest revision as of 11:51, 10 December 2021
Function and limitations
Will copy all fields except files and pictures, but all sub child entities (1 level, non recursive).
Usage
The page is called with the command: dk.tempusserva.codeunit.common.PageCopyStructure
Takes the following parameters
- SagID
- DataID
The user activating the function must have the group specified in "AllowCloneGroup"
Example of usage:
main?command=dk.tempusserva.codeunit.common.PageCopyStructure&SagID=10&DataID=100
Button for the function can be created using a "Action button: Button: Parameterized URL"
Example of URL pattern
main?command=dk.tempusserva.codeunit.common.PageCopyStructure&SagID=10&DataID=[DataID]