How to automate the synchronization between the current content page and the navigation tree in the published site
How do you automate the synchronization between the current content page and the navigation tree in the published site in IBM Rational Method Composer (RMC)?
In a RMC published site you select an element in the navigation tree. RMC opens the content of this element as a web page. Suppose that this content has a hyperlink and you highlight the link, RMC opens a new web page to replace the previous web page. Now, if you want to find the element in the navigation tree of this second page, you need manually select the following button. You find this button in the publsihed RMC site.
Synchronizes the view tree with the current content page
Figure 1 shows the synchronizes the view tree with the current content page button. See the red circle.
Consider the following steps to automate the synchronization between the current content page and the navigation tree.
- Open the directory of the published RMC site.
Locate directory theme.
- Open the theme directory.
Locate file appSettings.js.
- Open the appSettings.js file with an editor
- Change the value from false to true of the theApp.settings.autoSyncContentWithView string.
You cannot change this parameter before you publish the site once.
This function has been identified as a request for enhancement (RFE) and has been logged under RFE 30357 in the IBM RFE Community.