What is usage of RP.isRelatedList() || RP.isOneToMany() || RP.isManyToMany() in UI action buttons?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2019 12:34 AM
Hi Everyone,
I am not how to use things RP.isRelatedList() || RP.isOneToMany() || RP.isManyToMany()? what is full form RP?
Thanks,
Venkat

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2022 08:45 PM
For those referring to this thread - there is no method called - isOneToMany() atleast not documented, in the Render Properties API, neither did I find any references to it in the instance.
What I am not sure is - if isManyToMany() if returns false determines a One to Many relationship?
But on the other note, why do we need to determine One to Many? If there exists a reference field on table A referring to a table B - then it is one to Many.
Experts may comment!
Kindly mark my reply as Correct/Helpful, based on the response.
Cheers,
Anish Reghu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2024 01:18 AM
I want to hide my UI action if record is opened in different scope. Lets say u create a record in 'X' scope, UI action is visible. But on changing the scope to 'Y' it shld be hidden. How to do that?