/
Action from Simple Link
Action from Simple Link
When you need a link in the result field on e.g. quote line item, pricelist item, etc, and this link should trigger some action.
Configuration
Logic element
must have formatType set to LINK.
must return the Context Link data as Map
can define the text of the link via label property
Examples
Example of link triggering creation of new Quote with 4 items:
return [
targetPage : AppPages.QC_NEW_QUOTE,
targetPageState: [
targetPageTab : "items",
targetPageItems : ["B-0001", "B-0002", "B-0003", "B-0004"],
targetPageItemsStrategy: "append",
targetPageTarget : "same",
targetPageFields: [
externalRef: 'E2ERefAPPEND' ]
]
]
Example of link (with given label) triggering creation of new Agreement&Promotion contract with 3 conditions:
return [
label: 'Link to contract',
targetPage : AppPages.PM_NEW_CONTRACT,
targetPageState: [
targetPageTab : "items",
targetPageItems : ["InputCharts", "Inline", "SimplePromotion"],
targetPageItemsStrategy: "append",
targetPageTarget : "same",
targetPageFields: [
externalRef: 'E2ERefAPPEND' ]
]
]
, multiple selections available,
Related content
Action from Dashboard
Action from Dashboard
More like this
How to Add a Link to Dashboard
How to Add a Link to Dashboard
More like this
Context Linking
Context Linking
More like this
Creation of Quote with Selected Products
Creation of Quote with Selected Products
More like this
Contextual Action Button
Contextual Action Button
Read with this
How to Use Links to Enable in Groovy
How to Use Links to Enable in Groovy
More like this
Found an issue in documentation? Write to us.