Monday, 21 July 2014

SharePoint read Host web query string in App Part

Read Host web values in App web 
Problem Statement: I have to read Host web Query string value in App web.
Steps:
 Read query string from url.
 Create a property bag in host web, push query string in to property bag In app web read Property bag  values and use it.
Solution:
Add Script Editor webpart then add below code
 Read query string and create property bag
In App part, write below code, where you want to use query string value.
Read property bag in SharePoint App