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

__REQUESTDIGEST is undefined in sharepoint hosted app

$
0
0

I have a sharepoint hosted app which is deployed to office-365 site. It uploads some files using REST API to sharepoint document library.

It is fine in full page mode(default.aspx) but for client webpart there is a clientwebpart.aspx which has no master page, is not allowing to upload files. what may be the reason?

one of the issues  is "$("#__REQUESTDIGEST").val()" is empty in ajax call of file upload. Is it the cause? if so how to get rid off.

Please advice

Regards,

Chaitanya


Viewing all articles
Browse latest Browse all 8089

Trending Articles



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