none
Manipulate Show Pages on navigation setting using CSOM

    Question

  • Hi All,

    How to update Show Pages property on navigation settings(AreNavigationSettings.aspx page) using Client object model. 


    Rajasekar A.C

    Sunday, July 13, 2014 1:43 PM

Answers

  • Finally I was able to achieve using the below code:

                    web.AllProperties["__CurrentNavigationIncludeTypes"] = "3";
                    web.Update();

                    clientContext.ExecuteQuery();

    Using the above code I am able to update Show Pages and Show Sites property using CSOM.


    Rajasekar A.C

    Tuesday, July 15, 2014 3:32 PM

All replies