• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

SharedControls - code for Custom UI Editor error to fix

GioP

New Member
Could you please assist to correct the code? The following code gives the error massage.Any help is highly appreciated.


To download Custom UI Editor visit the link

http://openxmldeveloper.org/blog/b/openxmldeveloper/archive/2009/08/06/7293.aspx


<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">


<ribbon StartfromScratch="true">


<qat>

<SharedControls>

<control idMso="FilePrintQuick" label="Shared FilePrintQuick"/>

<control idMso="PrintPreviewAndPrint" label="Shared PrintPreviewAndPrint "/>

<control idMso="FileSave" label="Shared FileSave"/>

<control idMso="FileSaveAs" label="Shared FileSaveAs"/>

<control idMso="Undo" label="Shared Undo"/>

<control idMso="Redo" label="Shared Redo"/>

<SharedControls>

</qat>


</ribbon>


</customUI>


Thanks in advance for your swift support
 
Hi ,


Shouldn't the <SharedControls> section be terminated by </SharedControls> instead of <SharedControls> ?


Of course , the documentation encourages use of documentControls rather than sharedControls.


Narayan
 
Hi there


Thanks for advice. After correction it gives error massage with following description.


The element ‘qat’ in namespace

http://schemas.microsoft.com/office/2009/07/customui has invalid child element ‘SharedControls’ in namespace


Any suggestion. The way to fix it?


Thanks
 
Hi GioP ,


As mentioned earlier , use documentControls instead of sharedControls. Check out these three links :


http://msdn.microsoft.com/en-us/library/dd905535(v=office.12).aspx


http://msdn.microsoft.com/en-us/library/dd948879(v=office.12).aspx


http://msdn.microsoft.com/en-us/library/dd953042(v=office.12).aspx


Narayan
 
Back
Top