New answers tagged

1

If you have put that element in the feature which scope is set to "Site", then add another feature, set the scope to "Web", add your button item in this feature, saved, deployed, enabled the new feature from site feature. UPDATE Try this below EnabledScript: EnabledScript="javascript: var JustReturnTrue = function() {return true;}; JustReturnTrue();" ...


0

I have experience in doing something similar (to invoke a ribbon command). I used Javascript profiler in IE to find out the function call for the event that I was trying to invoke and then added it into my custom function. On a normal SP list view page, run the profiler before selecting a list item, stop the profiler and figure out the function calls it ...


0

suiteBarTop is the ID of the top blue bar in SP 2013. #suiteBarTop { display: none; }


-1

#ms-designer-ribbon { display: none; }


2

Please follow the following approach. Create a Sandbox solution rather then creating the SharePoint App Deploy your solution to your SharePoint Online Solution Gallery Activate your solution Activate the feature of your newly activated solution I know this is not the ultimate solution but this solution worked at my end. Let me know whether it helped you ...


0

You missed EnabledScript in your XML definition. It should look like this: <CommandUIHandlers> <CommandUIHandler Command="ShowHelloWorldCommand" CommandAction="javascript:alert('Hello World');" EnabledScript="javascript:return true;" /> </CommandUIHandlers> If that doesn't help try setting the scope of your feature to Web ...


-1

How about following this solution on adding a button on ribbon : http://www.abelsolutions.com/totm/creating-a-custom-action-in-2-steps-with-sharepoint-designer/



Top 50 recent answers are included