SP.Publishing.Navigation.TaxonomyNavigation.setCrawlAsFriendlyUrlPage Method (sp.publishing)

Updates the CrawlAsFriendlyUrlPage flag on the SP.Publishing.PublishingPage object (sp.publishing) object that is pointed to by the navigationTerm parameter with the specified value.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

SP.Publishing.Navigation.TaxonomyNavigation.setCrawlAsFriendlyUrlPage(context)

Parameters

  • context
  • navigationTerm
    A navigation term indicating the publishing page to be updated.

  • crawlAsFriendlyUrlPage
    The new value of the publishing page property.

Return value

true if the update to the target PublishingPage object was successful or if the page property was already in the specified state; otherwise, false.