Export (0) Print
Expand All

Server Ribbon schema

Last modified: July 15, 2011

Applies to: SharePoint Foundation 2013 | SharePoint Server 2013

The Server ribbon schema defines the structure of XML documents that customize the Server ribbon.

An XML document that customizes the Server ribbon must validate with the schema that is defined in the cui.xsd file. This file is located in the following directory: %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\15\TEMPLATE\XML.

The following list maps relationships between elements in the Server ribbon schema definition.

<CommandUI>

    <Ribbon>

        <Tabs>

            <Tab>

                <Groups>

                    <Group>

                        <Controls>

                            <Button/>

                            <CheckBox/>

                            <ComboBox>

                                <Menu>

                                    <MenuSection>

                                        <Controls>

                                            <Button/>

                                            <ColorPicker>

                                                <Colors>

                                                    <Color/>

                                                <Colors/>

                                            </ColorPicker>

                                            <FlyoutAnchor>

                                                <Menu>

                                                </Menu>

                                            </FlyoutAnchor>

                                            <InsertTable/>

                                            <ToggleButton/>

                                        </Controls>

                                        <Gallery>

                                            <GalleryButton/>

                                        </Gallery>

                                    </MenuSection>

                                </Menu>

                            </ComboBox>

                            <DropDown>

                                <Menu>

                                </Menu>

                            </DropDown>

                            <FlyoutAnchor>

                                <Menu>

                                </Menu>

                            </FlyoutAnchor>

                            <GalleryButton/>

                            <Label/>

                            <MRUSplitButton>

                                <Menu>

                                </Menu>

                            <Spinner>

                                <Unit>

                                    <UnitAbbreviation/>

                                </Unit>

                            </Spinner>

                            <SplitButton>

                                <Menu>

                                </Menu>

                            </SplitButton>

                            <TextBox/>

                            <ToggleButton/>

                        </Controls>

                    </Group>

                </Groups>

                <Scaling>

                    <MaxSize/>

                    <Scale/>

                </Scaling>

            </Tab>

        </Tabs>

        <ContextualTabs>

            <ContextualGroup>

                <Tab>

                </Tab>

            </ContextualGroup>

        </ContextualTabs>

    </Ribbon>

    <Templates>

        <RibbonTemplates>

            <GroupTemplate>

                <Layout>

                    <Section>

                        <Row>

                            <ControlRef/>

                            <Strip>

                                <ControlRef/>

                            </Strip>

                            <OverflowArea/>

                        </Row>

                    </Section>

                    <OverflowSection/>

                </Layout>

            </GroupTemplate>

        </RibbonTemplates>

    </Templates>

    <QAT>

        <Controls>

        </Controls>

    </QAT>

    <Jewel>

        <Menu>

        </Menu>

    </Jewel>

</CommandUI>

Show:
© 2014 Microsoft