- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-15-2019 05:48 AM
Hi Team,
Can someone please help me to understand the below conditions of UI action.
current.canCreate() && !RP.getListControl().isOmitNewButton() && RP.isRelatedList() && !RP.isManyToMany()
Regards,
Alok sahu
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-15-2019 06:07 AM
Hi,
The 3 condition means as follow
1. current.canCreate() - Does user has access to create a record in the related table (or passes can create ACL)
2. !RP.getListControl().isOmitNewButton() - Is the new button enabled on the List control of your related list
3. RP.isRelatedList() && !RP.isManyToMany() - This a Related list and it is not a many to many relations table(sys_m2m)
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-15-2019 06:07 AM
Hi,
The 3 condition means as follow
1. current.canCreate() - Does user has access to create a record in the related table (or passes can create ACL)
2. !RP.getListControl().isOmitNewButton() - Is the new button enabled on the List control of your related list
3. RP.isRelatedList() && !RP.isManyToMany() - This a Related list and it is not a many to many relations table(sys_m2m)
Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-23-2020 11:57 AM