- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi All,
I want to implement a page navigation in workspace.
I have built a custom workspace. In that workspace have added 3 declarative actions i.e., New, create new user and create new business. These are implemented as UXF client action. Have grouped these actions in action group1. Order for them are as 0, 1, 2 respectively. These actions are appearing in record list header. I want to configure navigation on clicking those actions.
If I click on create new business action, then it should redirect to create record page in workspace.
I Tried by adding event 'Declarative Action Client Script Button Clicked'. Also tried 'Declarative action redirect requested' event. However both are not working.
Please let me know how can I implement this navigation.
Thank you in advance for your support!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I tried that video in my PDI and it is working fine, please check the steps,
Create UI Action
Add code in workspace script
Save it
Now navigate to All> Now Experience Framework> List Action
Create New and add same code in client script
Result
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Heres a link with instructions on using DAs, you would be up to section 5. starting from this heading in the link
Introduction to Declarative Actions - ServiceNow Community
You'd need to next create your sys_ux_addon_event_mapping to map the payload to an event to be handled.
Look at existing new/create new sys_declarative_action_assignment records corresponding to the action model you are configuring and the event mappings to see how they are configured for SOW.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Pallavi Gaikwad ,
Can you please check below video, maybe this will help you .
Please mark my answer correct and helpful if this works for you
Thanks and Regards
Sarthak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I tried that video in my PDI and it is working fine, please check the steps,
Create UI Action
Add code in workspace script
Save it
Now navigate to All> Now Experience Framework> List Action
Create New and add same code in client script
Result
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Pallavi Gaikwad ,
If my answer helped you to resolve your query please mark my answer correct and helpful if this works for you
Thanks and Regards,
Sarthak
