- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2019 08:59 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2019 09:32 PM
Hi,
use below approach: ACLs are better approach for these type of requirements.
1) ACL
table.None write and delete ACL; give condition as state is not closed and state is not cancelled;
this will hide the update button when state is closed and cancelled
2) UI Actions
go to ui actions;
1) search with name as Update
2) and select the UI action which is form button
3) open that UI action and change the table from global to change_request and then do insert and stay
4) in the condition field give this; give proper choice value as per your instance
current.state != 'closed' && current.state != 'cancelled'
repeat the above steps for Delete also
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2019 09:32 PM
Hi,
use below approach: ACLs are better approach for these type of requirements.
1) ACL
table.None write and delete ACL; give condition as state is not closed and state is not cancelled;
this will hide the update button when state is closed and cancelled
2) UI Actions
go to ui actions;
1) search with name as Update
2) and select the UI action which is form button
3) open that UI action and change the table from global to change_request and then do insert and stay
4) in the condition field give this; give proper choice value as per your instance
current.state != 'closed' && current.state != 'cancelled'
repeat the above steps for Delete also
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2019 11:09 PM
Thank you very much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2019 09:45 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2019 11:09 PM
Thank you very much.