Quantcast
Channel: Developing Apps for SharePoint 2013 forum
Viewing all articles
Browse latest Browse all 8089

How to authenticate a CSOM call to SharepointOnline in code to Subsite of HostWeb (same site collection) with Lightswitch 2013

$
0
0

I am developing a Lightswitch 2013 (HTML) app.

I need to obtain list data from a subsite using CSOM.

I have no problem querying for the data in the hostweb using gethostwebclientcontext(); however, I can't seem to figure out how to change the clientcontext to the subsite context and be authenticated.

Please note that I have already selected Tenant Permissions. I have no problem with this in an MVC app, but can't seem to find a solution in Lightswitch HTML unless I make my call using HTML.


Jeff Childers


Viewing all articles
Browse latest Browse all 8089

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>