2016-05-11 7 views
1

Ich habe eine Export-to-Excel-Schaltfläche erstellt, die in Mac und Windows funktioniert. Jetzt möchte ich die vorhandene Export to Excel-Schaltfläche aus der Listen-Multifunktionsleiste (Nur Listen nicht-Bibliothek) ausblenden. Ich schrieb die benutzerdefinierte Aktion XML, aber es entfernt nichts. hier ist mein xmlAusblenden des Exports zu Excel-Schaltfläche aus SharePoint 2013 Nur Listen-Menü

<CustomAction 
Id="RemoveRibbonButton" 
Location="CommandUI.Ribbon"> 
<CommandUIExtension> 
    <CommandUIDefinitions> 
    <CommandUIDefinition 
     Location="Ribbon.List.Actions.ExportToSpreadsheet-Large" /> 
    </CommandUIDefinitions> 
</CommandUIExtension> 

ich diese an das bestehende XML angehängt, die die Schaltfläche erstellt. Das funktioniert gut. Irgendeine Idee, was nicht funktioniert.

Antwort

1

Problem gelöst ersetzen diese in der XML- < Location = "Ribbon.List.Actions.ExportToSpreadsheet"/>