Beispiel #1
0
        static void Main()
        {
            Console.WriteLine("Adding Team Site Content");
            Console.WriteLine();

            WingtipContentGenerator.CreateProductCategoriesTermset();
            WingtipContentGenerator.CreateProductsLists();

            Console.WriteLine();
            Console.WriteLine("The program has finsihed. Press ENTER to close this window");
            Console.WriteLine();
            Console.ReadLine();
        }
Beispiel #2
0
        static void Main()
        {
            Console.WriteLine("Adding Team Site Content");
            Console.WriteLine();

            clientContext = new ClientContext(siteUrl);

            site = clientContext.Web;
            clientContext.Load(site);
            clientContext.ExecuteQuery();


            WingtipContentGenerator.CreateProductCategoriesTermset();
            WingtipContentGenerator.CreateProductsLists();

            Console.WriteLine();
            Console.WriteLine("The program has finsihed. Press ENTER to close this window");
            Console.WriteLine();
            Console.ReadLine();



            clientContext.ExecuteQuery();
        }