Wednesday, March 14, 2012

Algorithm for Converting Old Navigation to Navigation Manager

This appears to be a frequently asked question for projects that are using the old list pull through container navigation method (the one with a connector page with a list and a container insider another container), so I am going to give out the algorithm I use.
  1. Lock down system from editors prior to running algorithm
  2. Create lst_navigation for all foundation content classes
  3. Make all foundations with lst_navigation a master page
  4. Review navigation connector page (the little page with a list that goes into a container) logic and rewrite it into navigation templates and navigation areas
  5. Foreach page instance of navigation connector, reconnect pages connected to the navigation connector list to lst_navigation of the parent page (the page with container), and delete navigation connector page instance
  6. Go into navigation manager, in the right pane, right click, click "disconnected pages" and then right click, "import pages"
  7. Depending on the size of the site, wait 30 to 45 minutes
  8. Go into navigation manager, in the right pane, right click, click "disconnected pages", find the root nood of your site, right click, "adopt page"
  9. Done
Cautionary Notes:
Old sites use the list container method so they can have separate publication package for each branch.  Also, each branch’s landing page is named index.htm.  These landing pages must be renamed or at least considered to avoid file overwrite.

Also, one must set expectation with the customer that the publishing file path for landing pages will be different since all landing pages will share the same lst_navigation and publication package.


  1. If someone needs to convert an old non-NavMan project to a NavMan project and this project uses the nested structure mentioned in the post of Jian, then I could provide an RQL script, that creates the linking automatically. So to be more precisely, this script could do step 5 of the description.
    Best regards,

  2. THANKS JIAN HUANG! A very well written algorithm. I tried step by step posted by you. It worked great for me. You saved my time. Kudos to you ! You are great.
    landing page design

  3. This comment has been removed by a blog administrator.