Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

RenderProperties- Global

The RenderProperties API provides methods to obtain information about the current page and is available in Jelly scripts and in UI-action conditions and scripts.

Access RenderProperties methods using the static variable RP.

Parent Topic:Server API reference

RenderProperties - getEncodedQuery()

Returns the encoded query from the URL sent to the page.

NameTypeDescription
None  
TypeDescription
StringReturns the encoded query from the URL sent to the form.

The following example is used in a condition for UI action named listed in the UI Actions [sys_ui_action] table. See also Defining UI actions.

RP.getEncodedQuery() != null && (RP.getEncodedQuery().indexOf('table=global') < 0 && RP.getEncodedQuery().indexOf('table=') >= 0)

RenderProperties - getListControl()

Returns the list control object for the page.

NameTypeDescription
None  
TypeDescription
SysListControl objectThe list control object for the page.

The following example is used in a condition named New for CAB Agenda Items. This UI action is listed in the UI Actions [sys_ui_action] table. See also Defining UI actions.

current.canCreate() && !RP.getListControl().isOmitNewButton() && RP.isRelatedList() && !RP.isManyToMany() && !RP.isInDevStudio() && (new sn_change_cab.CABMeeting(parent)).canAddAgendaItem()

RenderProperties - getParameterValue(String parameterName)

Returns the value of the specified URL parameter.

NameTypeDescription
parameterNameStringName of the parameter passed on the URL.
TypeDescription
StringThe parameter's value.

The following example is used in a condition for the Insert and Stay UI action for configuration items listed in the UI Actions [sys_ui_action] table. See also Defining UI actions.

current.canCreate() && (!current.instanceOf('task') || gs.getProperty('glide.ui.task.insert') == 'true') && (!current.instanceOf('sys_db_object')) && JSUtil.nil(RP.getParameterValue("sysparm_changeset"))

RenderProperties - getReferringURL()

Returns the URL where the request originated.

NameTypeDescription
None  
TypeDescription
StringThe URL of the page where the request originated.

The following example is used in a condition for the Import Sets UI action for import set row listed in the UI Actions [sys_ui_action] table. See also Defining UI actions.

RP.getReferringURL().indexOf("sys_import_set.do") == -1 && new global.ImportSetRowHelper().canReadImportSets();

RenderProperties - getViewID()

Returns the view the page is using.

This method is not available in scoped applications.

NameTypeDescription
None  
TypeDescription
StringThe sys_id of the view being used.

RenderProperties - getViewName()

Returns the name of the view in use.

NameTypeDescription
None  
TypeDescription
StringName of the view being used.

The following example is used in a condition named New for action assignment. This UI action is listed in the UI Actions [sys_ui_action] table. See also Defining UI actions.

RP.getViewName() != '' && RP.getViewName() != null && RP.getViewName() != undefined

RenderProperties - getWindowProperties()

Returns the window's properties.

NameTypeDescription
None  
TypeDescription
ObjectThe window's properties

RenderProperties - isInDevStudio()

Returns true if the page is part of Studio.

NameTypeDescription
None  
TypeDescription
BooleanReturns true if the page is part of Studio.

The following example is used in a condition named New for CAB Agenda Items. This UI action is listed in the UI Actions [sys_ui_action] table. See also Defining UI actions.

current.canCreate() && !RP.getListControl().isOmitNewButton() && RP.isRelatedList() && !RP.isManyToMany() && !RP.isInDevStudio() && (new sn_change_cab.CABMeeting(parent)).canAddAgendaItem()

RenderProperties - isInteractive()

Returns true if this is an interactive session. An interactive session is when a user has logged in as opposed to a REST request.

NameTypeDescription
None  
TypeDescription
BooleanTrue if this is an interactive session.

RenderProperties - isManyToMany()

Returns true when the sysparm_collection_related_file URL parameter is set.

NameTypeDescription
None  
TypeDescription
BooleanReturns true when the sysparm_collection_related_file URL parameter is set.

The following example is used in a condition named New for CAB Agenda Items. This UI action is listed in the UI Actions [sys_ui_action] table. See also Defining UI actions.

current.canCreate() && !RP.getListControl().isOmitNewButton() && RP.isRelatedList() && !RP.isManyToMany() && !RP.isInDevStudio() && (new sn_change_cab.CABMeeting(parent)).canAddAgendaItem()

RenderProperties - isRelatedList()

Returns true when the sys_is_related_list URL-parameter is true. Returns false if the parameter is not present.

NameTypeDescription
None  
TypeDescription
BooleanTrue if the URL parameter sys_is_related_list is true.

The following example is used in a condition for a UI action listed in the UI Actions [sys_ui_action] table. See also Defining UI actions.

current.canCreate() && RP.isRelatedList()