-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Here you will find more details about how to use this framework. Id you need help about the general purpose or how to start, check the Readme.md instead.
All you need to get started is to add a reference to the AweCsome-Framework. Please make sure you use the correct variant. Office365, and SharePoint 2013 each need a different NuGet-Package. In addition add a reference to AweCsome.Interfaces.
After you've done that you are ready to go. Please be advised that every class within the AweCsome-Framework needs a proper ClientContext to work with. You already should have this after you created a CSOM-Project within the Index
-Action of the Home
-Controller if you use the standard Visual Studio - Template.
Simply set the ClientContext-Property of the AweCsome-Class you want to use right after creating the object:
var spContext = SharePointContextProvider.Current.GetSharePointContext(HttpContext.Current);
var clientContext= spContext.CreateUserClientContextForSPHost();
IAweCsomeTable awecsomeTable = new AweCsomeTable(clientContext);
Now you are ready to go to call any function within awecsomeTable
You can now start Creating Lists
Wiki created for AweCsome - Version: 2.1