Skip to main content

How to automate the synchronization between the current content page and the navigation tree in the published site


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.

  1. Open the directory of the published RMC site.
    Locate directory theme.

  2. Open the theme directory.
    Locate file appSettings.js.

  3. Open the appSettings.js file with an editor

  4. Change the value from false to true of the theApp.settings.autoSyncContentWithView string.

    Before:
    theApp.settings.autoSyncContentWithView=false

    After:
    theApp.settings.autoSyncContentWithView=
    true


NOTES
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:

(0 users)Average rating

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.

Rate this page:


(0 users)Average rating

Add comments

Document information

Rational Method Composer

Browsing


Software version:
7.5.2


Operating system(s):
Windows


Reference #:
1623095


Modified date:
2013-02-06

Translate my page

Content navigation