Business Rule/ACL to allow users to view only the records they created in list view.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2018 06:08 AM
Hello,
Could someone tell me a business rule/script that allows users to only view records they created in list view? This should not block them from creating new records or modifying their existing records
Thanks.
- Labels:
-
Scripting and Coding
-
Team Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2018 06:29 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2018 06:46 AM
I had tried something similar on my custom table. but it is not letting the user view fields when they want to create a new record as in the new form loads up blank. I am not sure why its removing field viewing access for new records.
answer=(function(){
if(current.getValue("sys_created_by")== gs.getUserName() || current.getValue("sys_updated_by")==gs.getUserName()){
return true;
}
return false;
})();

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2018 10:11 AM
What all ACLs you created? There shouldn't be an ACL with Table.*
Also did you extend the table from an existing table?
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2018 03:27 PM
Can you show a list over all the ACLs you have created for the table?
since for the create functionality depending on if it's a extended table or not and what ACLs here are, you might different ones.
//Göran