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 05:09 PM
How do i extract the data from the form fields component though? I can see what I have to do, I just can't think of how to extract the data from the form fields component
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2021 10:18 PM
Check the Hyperlinks in below article
- Enter either static or dynamic input in the input fields.
- Enter static values by typing in the content or selecting it from a drop-down list.
- Enter dynamic input by selecting the appropriate button:
- Data binding: Links the property to data from another component, using data resource. For details, see Connect data to your components.
- Scripting: Creates a scripted property value. For details on scripted values, see Define client scripts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2021 05:08 AM
Right, I get that, I understand what data binding is, what I'm having a hard time is trying to extract the data from the form fields (form_field_1) component and then pass that data to the Create Record script. I understand what data binding is and I've used it in other parts of this workspace but for some reason I can't figure out how to extract what the user types in to the form fields and then create a new record with that