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

Provider hosted app - Site Provisioning activities

$
0
0

Hi ,

I am creating a Provider hosted app which does site provisioning activities like create site , create site columns, content types etc. I have almost 50 or more fields to be added. I am using the Provider hosted app - Process Event, and used SPRemoteEventType - App Installed.

When the app is installed the above functionalities are done, as I need to code to do these activities synchronously.

I am facing an issue in App Installed event that,during the code execution (consider the field creation method), since it takes some time to add all the fields, after some time limit,  the runtime comes to the start point of code execution , which is creation of token helper, and the methods already executed is also called again.

I have executed the code in Release mode, the logs show the above behavior.

I am not sure how I am getting this weird behavoir.

Please advise.


Viewing all articles
Browse latest Browse all 8089

Trending Articles



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