Xrm.Page.ui section (client-side reference)
Applies To: Dynamics CRM 2013
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.
Returns the label for the section.
sectionObj.getLabel()
- Return Value
Type: String
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.
Returns true if the section is visible, otherwise returns false.
sectionObj.getVisible()
- Return Value
Type: Boolean
Sets a value to show or hide the section.
sectionObj.setVisible(
Boolean
)
- Arguments
Boolean
Client-side programming reference
Form scripting quick reference
Write code for Microsoft Dynamics CRM 2013 forms
Use the Xrm.Page object model