- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2022 07:09 AM
Hi All
Can some one tell what this condition all about?it in ui action
(new GlideRecord(current.getTableName())).canWrite() && RP.isOneToMany() && !RP.getListControl().isOmitEditButton()
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2022 07:24 AM
Hi,
the condition is present on OOB UI action
1) it checks if the current user can write to the table
2) then check is it's one to many relationship for the table
3) check if omit edit button in list control
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2022 07:18 AM
As part of this requirement we created this ,So is it really req or what its doing?
community.servicenow.com/community?id=community_question&sys_id=e00df7cc1b00d994a59033f2cd4bcb7d
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2022 07:24 AM
Hi,
the condition is present on OOB UI action
1) it checks if the current user can write to the table
2) then check is it's one to many relationship for the table
3) check if omit edit button in list control
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2022 07:32 AM
Also where we can find all these scripts (3) which are validating here
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2022 07:46 AM
Hi,
this comes from platform level
RP.isOneToMany() && !RP.getListControl().isOmitEditButton()
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader