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

 

Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, 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.

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

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: