List of Special Attributes Supported by the Ribbon Schema for BCS Solutions
Applies to: SharePoint Server 2010
Descriptions of Special Attributes Supported by the Ribbon Schema
The following table describes the special attributes that the Ribbon schema supports for Microsoft Business Connectivity Services (BCS) solutions.
Element |
Attribute Name |
Syntax |
Description |
---|---|---|---|
customUI element |
onLoad |
onLoad="OnLoad" |
Set this attribute to "OnLoad" to let the BCS Runtime Ribbon Manager control this value and load the ribbon XML files. |
customUI element |
loadImage |
loadImage="GetImage" |
Set this attribute to "GetImage" to let the BCS Runtime Ribbon Manager control this value and load the image for the ribbon control icons. |
tab and "group" elements |
getVisible |
getVisible="GetVisible" |
Set this attribute to "GetVisible" to let the BCS Runtime Ribbon Manager control this value and verify if this tab is to be displayed. |
"tab" elements |
tag |
tag="Solution" |
Set this attribute to "Solution" to let the BCS Runtime Ribbon Manager control this value and verify if the tab to be displayed for the item belongs to this solution. |
"group" element |
tag |
tag="Context[<ContentTypeName>.<GroupID>]" |
Set this attribute to "Context[<ContentTypeName>.<GroupID>]" to let the BCS Runtime Ribbon Manager control this value and verify if the Group to be displayed for the item belongs to a certain ContentTypeName. <ContentTypeName> is the ContentTypeName of a certain Microsoft Office context defined in the oir.config file. <GroupID> is the ID of this Ribbon Group control. |
"Button" element or other ribbon controls that support the onAction callback |
onAction |
onAction="OnAction" |
Set this attribute to "OnAction" to let the BCS Runtime Ribbon Manager control this value and trigger the action defined in the oir.config file. |
"Button" or other ribbon controls elements |
getEnabled |
getEnabled ="GetEnabled" |
Set this attribute to "GetEnabled" to let the BCS Runtime Ribbon Manager control this value and verify if the enabled button for the item belongs to a certain ContentType that has the action defined. |
"Button" or other ribbon controls elements |
tag |
tag="Action[<ContentTypeName>.<ActionName>]" |
Set this attribute to "Context[<ContentTypeName>.<GroupID>]">" to let the BCS Runtime Ribbon Manager control this value and the action to be triggered for the item belongs to a certain ContentTypeName. <ContentTypeName> is the ContentTypeName of a certain Office context defined in the OIR.config file. <ActionName> is the action name defined in the oir.config file under expected ContentType. |