Technote (FAQ)
Question
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)?
Cause
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.
Figure 1
Answer
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.
Before:
theApp.settings.autoSyncContentWithView=false
After:
theApp.settings.autoSyncContentWithView=true
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.
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.