0

I am working on Provider Hosted App, which will fetch data from App Web.

When I tried using Rest Api with Request Executor I am able to fetch data from AppWeb. but when I tried to use JSOM I am getting "UnHandle Exception from Server" error.

So Can we use JSOM to Access App web or not, if so how to do?

1 Answer 1

0

We can access App web data from Provider Hosted Apps using cross domain library using SP.AppContextSite,

PFB Same code for same

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.