Export (0) Print
Expand All

Xrm.Page.ui section (client-side reference)

Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online

A section contains methods to manage how it appears as well as accessing the tab that contains the section.

controls
A collection of controls in the section.

getName
Method to return the name of the section.

getParent
Method to return the tab containing the section.

Label
Use the getLabel and setLabel methods to retrieve or change the label for the section.

Visible
Use the getVisible and setVisible methods to check whether the section is visible or hide and show the section.

The section controls collection provides access to the controls within a section. See Collections (client-side reference) for information about the methods exposed by collections. See Xrm.Page.ui control (client-side reference) for information about the properties and methods exposed by the objects in this collection.

Method to return the name of the section.

sectionObj.getName()
Return Value
Type: String

Method to return the tab containing the section.

sectionObj.getParent()
Return Value
Type: Object

Use the getLabel and setLabel methods to retrieve or change the label for the section.

getLabel

Returns the label for the section.

sectionObj.getLabel()
Return Value
Type: String

setLabel

Sets the label for the section.

sectionObj.setLabel(
string
)
Arguments
String: The label text to set.

Use the getVisible and setVisible methods to check whether the section is visible or hide and show the section.

getVisible

Returns true if the section is visible, otherwise returns false.

sectionObj.getVisible()
Return Value
Type: Boolean

setVisible

Sets a value to show or hide the section.

sectionObj.setVisible(
Boolean
)
Arguments
Boolean

Microsoft Dynamics CRM 2013 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.
Show:
© 2014 Microsoft