Need help on Creating UI Actions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2024 10:02 PM
Hello Team,
We need to create a Save and Submit button in scoped Application in one of the table
1.For Submit button, when the user click on the submit button or context menu submit the field "Draft" should be update to false and other fields should be Becomes read only and it re directs to list view of the table.
2.For Save Button, when the user click on the Save button or from the context menu save the field "Draft" should be update to true and other fields should be Becomes editable.
Note :At present we are using the default write ACL to make filed read only this is working when the form is Save or submit After that the fields gets read only. For that we kept the conditions like Created is Empty. At present our customer business requirement is manage these using the buttons like Save and Submit.
Is this possible to do using the UI actions ? If not, what is the best way to achieve this requirement ? Please suggest me.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2024 11:30 PM
Use the UI actions to set the 'draft' field to the value it needs, but nothing else. Create UI policies on the 'draft' field. If false, make fields read only.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2024 01:20 AM
@Mark Manders
Do you mean to say, this is not possible to through UI action ? and I just wanted to know there is no relationship between draft field and other fields.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2024 09:38 PM
Thanks for your reply.
As you said i have implemented same but here the problem is initially when we open the form all fields should be editable. is this possible ? Please let me know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2024 11:32 PM
I guess your 'draft' should be on true when you open it, right? You haven't shared anything about the purpose of what you are doing, so I have to go from what you shared.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark