Add Link To Quick Launch Navigation Programmatically

Quick Launch can be configured by going to the site settings -> Navigation.

In this post, I will show you how to add or remove link to Quick Launch programatically using Javascript Object Model (JSOM).

We will follow following three steps to add a link to the quick navigation.

  1. Get the Quick Launch navigation node collection
  2. Set propertied for a new navigation node
  3. Create node as the last node in the collection

Following example is the full code sample that adds a node to the Quick Launch area of the current Web site.

Continue reading