How do you disable list editing for a particular table? When a change request is in a certain state
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2023 10:11 AM
Wanting to know the capabilities on how to restrict inline editing on from a list view when a certain request state is saying:
so if its in schdeduled/implement or something it cant be edited?
I created and ACL so that on the form when the state is scheduled you cannot change the planned start date
but
when viewing on the list view they are able to edit?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2023 12:47 PM - edited 03-31-2023 12:49 PM
If you want to disable List View Editing, Follow the steps.
1. Click on any column on record list view, Navigate to Configure->List Control.
2. Disabled the List view Editing
3. Now you won't be able to edit fields in the list view.
You can also achieve this by creating ACL.
1. Create a ACL with List Edit operation. Choose you desired table.
2. You need to write script to return false to stop the access.
3. You can add filter condition on when the List Edit should be disabled
Now You will be able to achieve you requirement.
Regards,
Ashir Waheed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2024 11:21 AM - edited 11-18-2024 11:23 AM
@Joshua Comeau , here is a good example of how to Allow/Prevent list_edits using an ACL, on the Change Request table. The screenshot shows the setup for the list_edit ACL, on the Change Request table.
var result = false;
// IF the Change Request's State is "NEW", allow ACL list edits.
// Otherwise, prevent list edits.
if (current.state == '-5') {
result = true;
}
answer = result;
The Advanced script details how to allow/prevent list edits, based on the Change Request's state. In this case, allow List Edits IF the Change Request's state is "New" (value of -5 for us). Otherwise, prevent the ability to perform the list edit.