'New' button disappear upon updating create ACL condition.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2025 03:47 AM
I am trying to update a 'Create ACL' . Initially the condition was 'Owner is not empty'. I am trying to add a AND condition to it which is 'source_type is XY'. Upon adding the condition the new button disappears.
How to resolve this issue as I want to allow creattion of records when given source_type condition is true.
data condition - ownerISNOTEMPTY^source_type=XY^EQ
NOTE- No additional role and script condition are present in the ACL. The table is in global scope.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2025 05:10 AM - edited 07-20-2025 05:12 AM
Hi @pranay_14,
check the source_type (reference, string, etc.) and ensure the condition is correct.
Debugging tip - go to the table/list form view where it is, click right mouse button on the menu and there will be "Analyse access", it will open a debugger interface:
This is available in both form and list view, it shall give you some idea about it.
Another tip, always clear cache and try in incognito window to initiate in a new session..
EDIT: available in the form view only
/* If my response wasn’t a total disaster ↙️ ⭐ drop a Kudos or Accept as Solution ✅ ↘️ Cheers! */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2025 06:09 PM
I am able to see new button , made some changes put the condition in script as
code - answer = (current.owner != '' && (current.isNewRecord() || current.source_type == 'XY'));
but now the source_type is never checked on insert. How to fix this