Creating a UXF Client Declarative Action in ServiceNow Service Operations Workspace (Add button)

  Рет қаралды 8,195

incident․do

incident․do

Жыл бұрын

Steps for creating a UXF Client Action, Related List Declarative Action that uses the multi record associator component in Service Operations Workspace or any Configurable Workspace. This is duplicating the Add affected ci's functionality.
Ashley Snyder's article:
www.servicenow.com/community/...
Relevant tables:
sys_declarative_action_assignment
sys_declarative_action_payload_definition
sys_ux_addon_event_mapping
Other copy pasta:
record_page_tabs_1 = Source element ID in sys_ux_addon_event_mapping
Target payload mapping JSON:
{
"type": "MAP_CONTAINER",
"container": {
"route": {
"type": "JSON_LITERAL",
"value": "mra"
},
"size": {
"type": "JSON_LITERAL",
"value": "lg"
},
"fields": {
"type": "MAP_CONTAINER",
"container": {
"label": {
"type": "EVENT_PAYLOAD_BINDING",
"binding": {
"address": ["label"]
}
},
"userGivenTable": {
"type": "EVENT_PAYLOAD_BINDING",
"binding": {
"address": ["userGivenTable"]
}
},
"table": {
"type": "EVENT_PAYLOAD_BINDING",
"binding": {
"address": ["table"]
}
},
"parentRecordSysId": {
"type": "EVENT_PAYLOAD_BINDING",
"binding": {
"address": ["parentRecordSysId"]
}
},
"parentFieldName": {
"type": "EVENT_PAYLOAD_BINDING",
"binding": {
"address": ["parentFieldName"]
}
},
"referencedFieldName": {
"type": "EVENT_PAYLOAD_BINDING",
"binding": {
"address": ["referencedFieldName"]
}
},
"extensionPoint": {
"type": "EVENT_PAYLOAD_BINDING",
"binding": {
"address": ["extensionPoint"]
}
},
"view": {
"type": "EVENT_PAYLOAD_BINDING",
"binding": {
"address": ["view"]
}
},
"columns": {
"type": "EVENT_PAYLOAD_BINDING",
"binding": {
"address": ["columns"]
}
},
"type": {
"type": "EVENT_PAYLOAD_BINDING",
"binding": {
"address": ["type"]
}
},
"hideSelectAll": {
"type": "EVENT_PAYLOAD_BINDING",
"binding": {
"address": ["hideSelectAll"]
}
},
"relatedListName": {
"type": "EVENT_PAYLOAD_BINDING",
"binding": {
"address": ["relatedListName"]
}
}
}
},
"params": {
"type": "JSON_LITERAL",
"value": {}
}
}
}

Пікірлер: 8
@msquared3166
@msquared3166 Жыл бұрын
Excellent way of putting Ashley’s article to video! I’ve been struggling with this for the last couple days. Thank you for taking the time and great job of explaining what all the pieces do. Priceless ! Keep ‘em coming! Cheers!
@daillew1990
@daillew1990 4 ай бұрын
Can anyone explain how to correctly set up the M2M table for the affected users that's shown right at the beginning of this video?
@rahuldev8542
@rahuldev8542 4 ай бұрын
How to set the default filter to that modal that opens up when clicked on the Add button
@Sonusuchhi
@Sonusuchhi Жыл бұрын
Im trying to create a retire button on entity to controls 😅 it’s a struggle. I’m unable to place the conditions for visibility control
@Somnath_Snow
@Somnath_Snow 4 ай бұрын
Heyy! I want to create a Cancel incident button in Sow . When clicked it should me a pop up to fill the cancellation reason in the pop up itself. I tried with ui action but no luck. And i am not able to find proper way to do this., i think it can be done by UXF client actions , which is already there OOB for resolve incident. Can you help me on that please?
@abzownexperiences410
@abzownexperiences410 10 ай бұрын
Can you please let me know that how to configure Response Templates in contextual side pannel to service operations workspace? TQ
@jayscrillins1475
@jayscrillins1475 5 ай бұрын
I've been looking to do the same thing. Did you figure out how to do it?
Next Experience Academy #14: How to Build Workspaces from Scratch
55:31
ServiceNow Community
Рет қаралды 9 М.
Red❤️+Green💚=
00:38
ISSEI / いっせい
Рет қаралды 55 МЛН
ТАМАЕВ УНИЧТОЖИЛ CLS ВЕНГАЛБИ! Конфликт с Ахмедом?!
25:37
Get to know Service Operations Workspace for ITSM
55:31
ServiceNow Community
Рет қаралды 11 М.
The Service Operations Workspace
7:25
The Power of ServiceNow
Рет қаралды 1,2 М.
Add a Button to the List Component using Declarative Actions
15:31
ServiceNow Dev Program
Рет қаралды 10 М.
Client Side & Server Side UI Action | gsftSubmit | ServiceNow Scripting
10:08
Declarative Action from Record Page
11:41
Arnoud Kooi
Рет қаралды 3,7 М.