tag:blogger.com,1999:blog-691739770978360344.post6216354193246667305..comments2023-03-16T02:22:53.208-07:00Comments on KWizCom SharePoint Blog: Building list view SharePoint hosted app partIgor Goldshtaubhttp://www.blogger.com/profile/11454162751899721014noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-691739770978360344.post-84882623923925856682013-01-14T13:04:40.043-08:002013-01-14T13:04:40.043-08:00@Mahmoud thanks for that!
Need to set this first:
...@Mahmoud thanks for that!<br />Need to set this first:<br />spHostUrl = decodeURIComponent(getQueryStringParameter('SPHostUrl'));<br /><br />I'll give it a try. cheers!Shai Petelhttps://www.blogger.com/profile/15299015261603781984noreply@blogger.comtag:blogger.com,1999:blog-691739770978360344.post-60811851187104986262013-01-14T13:01:28.788-08:002013-01-14T13:01:28.788-08:00Hi,
you can use the below to get the host web:
co...Hi,<br /><br />you can use the below to get the host web:<br />context = new SP.ClientContext.get_current();<br />parentContext = new SP.AppContextSite(context, spHostUrl);<br /><br />please check @CoreyRoth blog<br />http://feedproxy.google.com/~r/CoreysDotNetTipOfTheDay/~3/orQEyS1pz_U/how-to-query-list-items-from-the-host-web-in-a-client-web-part-of-a-sharepoint-hosted-app.aspxMahmoud Hamedhttps://www.blogger.com/profile/08928561543630720255noreply@blogger.com