nerdexam
Microsoft

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…

Developing SharePoint Sites

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)
  • A
    2% (1)
  • B
    74% (35)
  • C
    15% (7)
  • D
    9% (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

#Ribbon customization#CommandUIDefinition#Feature scoping#site collection

Community Discussion

No community discussion yet for this question.

Full 70-573 Practice