I have come across many resources regarding how to add pages to navigation and how to change navigation settings but have not yet seen anything on how to go from Metadata Navigation to Structure Navigation for the Current Navigation (left side nav) on a Publishing Site using CSOM. Has anyone run across resources that describe how to accomplish this? Thanks for your time!
Looks like I spoke a moment too soon. I feel a bit sheepish but I had been searching for a couple hours with no luck!
var publishingWeb = PublishingWeb.GetPublishingWeb(this.CC, subWeb);
// WebNavigationSettings var webNavigationSettings = new WebNavigationSettings(this.CC, subWeb); webNavigationSettings.GlobalNavigation.Source = StandardNavigationSource.PortalProvider; webNavigationSettings.CurrentNavigation.Source = StandardNavigationSource.PortalProvider; subWeb.Update(); webNavigationSettings.Update(tSession); CC.Load(subWeb, WEB_INCLUDES); // Apply the load CC.ExecuteQuery();