Creating a Site in SharePoint Hosted Apps Programmatically

Please allow me to demonstrate how to create SharePoint site programmatically.

Important things to understand when working with apps for SharePoint are host webs and app webs:

  • Host web is a SharePoint site where the app is installed
  • App web is a special isolated site where the app for SharePoint internal components and content are deployed

[crayon lang=”csharp”]
var hostweburl = decodeURIComponent(getQueryStringParameter(“SPHostUrl”));
var appweburl = decodeURIComponent(getQueryStringParameter(“SPAppWebUrl”));
[/crayon]

(more…)

Continue Reading

Programmatically Managing SharePoint Permissions in Hosted Apps

Please allow me to demonstrate how to assign Microsoft SharePoint permissions on the site or library programmatically.

Important things to understand when working with apps for SharePoint are host webs and app webs:

  • Host web is a SharePoint site where the app is installed
  • App web is a special isolated site where the app for SharePoint internal components and content are deployed

(more…)

Continue Reading

End of content

No more pages to load