Save button now working in Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2021 11:06 AM
Hi everyone,
I am building a workspace in my PDI and I have added a submit incident button but it is not working. It shows up in the regular UI but does not show up in the workspace even though workspace form button is checked and I've even tried checking workspace form menu. I've tried adding a UI Action Bar to add a "save" or "Submit Incident" button and it's not working on the page that I am trying to have this button appear on. Basically I am trying to make it so that a user can select submit a new incident button on the homepage and it redirects to a new page with the incident form displayed, now I need to display a save or submit incident button and it's not working. I've done the tutorial on NOW Learning and it worked there, so I'm not sure, what I'm doing wrong, this is the UI Action below:
This is the UX Form Action
This is the Workspace Page I am trying to have the button show up on. This is using a "Form" component with Incident set as the table. The information in the action, declarative action form model and the declarative action contract, I copied from the record page which is displaying the "Submit Incident" button that I made. So I'm not sure what I'm doing wrong any and all insight would be greatly appreciated!
Here is the "Submit Incident" button on the other "Record" page where it is showing up
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2021 11:11 AM
Use g_form.save() in the Workspace client script for your UI action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2021 11:19 AM
Thanks for that advice. I will update the client script to use that function, any idea though why the button is now showing up?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2021 11:27 AM
are you using a custom page to create incident?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2021 11:38 AM