Example #1
0
        static void Main(string[] args)
        {
            AuthenticationManager manager = new AuthenticationManager();

            ClientContext ctx = manager.GetSharePointOnlineAuthenticatedContextTenant("https://folkis2018.sharepoint.com/sites/David", "*****@*****.**", "foo");

            //SPHelper.ShowWebTitle(ctx);
            //SPHelper.ChangeWebTitle(ctx, "Davids Site");
            //SPHelper.GetLists(ctx);
            //SPHelper.CreateList(ctx);
            // SPHelper.CreateListItem(ctx);
            // SPHelper.CreateCarContetType(ctx);

            // SpecialDocument.CreateSpecialDocument(ctx);

            // SPHelper.CreateFieldsFromXMLFile(ctx);
            // SPHelper.CreateFieldsFromProvisioningXML(ctx);
            //SPHelper.GetAllGreenCars(ctx, "Green");

            //SPHelper.CreateTaxonomy(ctx);
            SPHelper.CreatePage(ctx);


            Console.WriteLine("press enter to continue");
            Console.ReadLine();
        }