70-573 · Question #76
You have one Web application that contains several SharePoint site collections. You need to add a custom button to the Documents tab on the Ribbon of one site collection only. What should you do?
The correct answer is B. Create a new Feature. In a new <CommandUIDefinition> node, specify the location of. MNEMONIC RULE: "create a new feature ... Documents" You are interested in the group, so search for a group that matches close to the group name "Manage" andalso should be present in a tab named "Document". Here you go, the group name location "Ribbon. Documents.Manage" Now…
Question
You have one Web application that contains several SharePoint site collections. You need to add a custom button to the Documents tab on the Ribbon of one site collection only. What should you do?
Options
- ACreate a new Feature. In a new <CommandUIDefinition> node, specify the location of
- BCreate a new Feature. In a new <CommandUIDefinition> node, specify the location of
- CModify the CMDUI.xml file. In a new <CommandUIDefinition> node, specify the location of
- DModify the CMDUI.xml file. In a new <CommandUIDefinition> node, specify the location of
How the community answered
(47 responses)- A2% (1)
- B74% (35)
- C15% (7)
- D9% (4)
Explanation
MNEMONIC RULE: "create a new feature ... Documents" You are interested in the group, so search for a group that matches close to the group name "Manage" andalso should be present in a tab named "Document". Here you go, the group name location "Ribbon. Documents.Manage" Now, since you got your groupname... you have to specify that you are going to add a child control... the syntaxis "Controls._children". Hence your complete location is "Ribbon.Documents.Manage.Controls._children" SharePoint 2010 Ribbon customization: Basics
Topics
Community Discussion
No community discussion yet for this question.