Follow belwo link to add button in ribbon. You first need to add your sandbox webpart in site page then open that site page when click on button.
http://msdn.microsoft.com/en-us/library/ff407458%28v=office.14%29.aspx
You need to put your page URL in JS (CommandAction="javascript:window.open(custompageurl)).
Hope it could help
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help
No comments:
Post a Comment