How to avoid the this error - com.glide.script.RhinoEcmaError: "RP" is not defined.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2022 10:13 PM
Hi All,
I have one Display BR in the Task table. with below condtion.
Script in BR
if(!RP.isPopup()){
}
Because of the above script we are getting the below warning multiple time can any one help me how to handle this error.
com.glide.script.RhinoEcmaError: "RP" is not defined.
sys_script.ce6b5e7719af70007a15bf3dd39e2b60.script : Line(1) column(0)
==> 1: if(!RP.isPopup()){
2: //Initialize the scratchpad variable
3: g_scratchpad.emptyVars = '';
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2022 10:16 PM
Hi try this
in your condition you can add this:
if(typeof RP != 'undefined' && !RP.isPopup())
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2022 07:36 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2022 10:33 PM
I think you are trying out render properties api.
This might be of help: