2010 runtime ribbon

laffeg

Registered User.
Local time
Today, 00:21
Joined
Jun 3, 2008
Messages
40
I want every report to have an Export to Excel option in my 2010 runtime apps

I have created USysRibbons table and copied sample XML code from the web in

The ribbon will show but specifically <button idMso="ExportExcel" size="large"/> does not seem to show ??

Is that because it is only available in forms and not in reports ?

any guidance on how to get it working for reports would be appreciated
 
If memory serves me correctly, it is available but at one point there was a problem if you didn't have SP2 installed. So, the first step I would take is to make sure that is installed.

Also, is it a part of a Group ID? If so,could you please post that Groups section that this button is a part of?
 
hi
thanks for reply
I think I am on SP2 but will check

below is the xml I got from the web

<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon startFromScratch="true">
<tabs>
<tab id="MyReport" label="Report Print and View Options">
<group idMso="GroupPrintPreviewPrintAccess" />
<group idMso="GroupPageLayoutAccess" />
<group idMso="GroupZoom" />
<group idMso="GroupPrintPreviewClosePreview" />
<group id="ListCommands" label="Print">
<button idMso="FilePrintQuick" keytip="q" size="large"/>
<button idMso="PrintDialogAccess" label="Print Dialog" keytip="d" size="large"/>
<button idMso="FileSendAsAttachment" label="Email Report"
keytip="d" enabled="true" size="large"/>
</group>

<group id="ExportCmds" keytip="e" label="Save As">
<button idMso="PublishToPdfOrEdoc" keytip="p" size="large"/>
<button idMso="ExportExcel" size="large"/>
<button idMso="ExportHtmlDocument" keytip="h" size="large"/>
<button id="CreateEmail" label="Email Report (R)"
imageMso="FileSendAsAttachment" enabled="true" size="large"
onAction= "=MySend()"/>
</group>
<group idMso="GroupZoom"></group>
<group id="Exit" keytip="x" label="Exit">
<button idMso="PrintPreviewClose" keytip="c" size="large"/>
</group>

</tab>
</tabs>
</ribbon>
</customUI>
 
Hi

Add the attribute Visible = true and see if it works.

<button idMso="ExportExcel" size="large" visible="true"/>
 

Users who are viewing this thread

Back
Top Bottom