Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a SharePoint 2013 provider hosted app. In the app project there is a ribbon custom action that navigates to a page in the web project. When the ribbon custom action is pressed, the selected document (the entire document not just properties) should be send to the .aspx page. On the .aspx page I want to save it in the database. How can i send the entire document to the .aspx page?

<CommandUIHandler Command="Invoke_RibbonCustomAction1ButtonRequest"
                          CommandAction="~remoteAppUrl/Pages/CustomActionTarget.aspx?HostUrl={HostUrl}&amp;Source={Source}&amp;ListURLDir={ListUrlDir}&amp;SelectedListID={SelectedListId}&amp;SelectedItemID={SelectedItemId}"/>
</CommandUIHandlers>

This is the code I have but as you can see this will send the properties to the .aspx page and i want to send the entire document.

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.