Skip to main content
October 16, 2008
Question

Map ID With Hyphen Is Not Supported In RH7

  • October 16, 2008
  • 5 replies
  • 416 views
Our project has been using RH 5 since 2004. We assign map id that we use for F1 Help access. Map IDs that are assigned to sub-topics or bookmarks within a page use hyphen as a separator. i.e: 002-A001, 002-A002, 002-B001, etc.

Due to OS upgrade to VISTA & compatibility with MS-Word 2007, we have to upgrade to RH7. However, we are having a problem on assigning the new map ids or editing existing map ids because RH7 does not allow us to save a map id with a hyphen. This is silly. Why RH7 does not support something that has been working in the previous version.

Is there a work around or RH7 patch or something to assign map ID with hyphen in RH7? We try to maintain this convention as much as possible.
    This topic is closed to new replies. Start a new post to keep the conversation going.

    5 replies

    Peter Grainge
    Community Expert
    Community Expert
    October 24, 2008
    Here's the response I got...

    ****************************************

    When you define a map id with a minus sign ("-"), it is purposely blocked. Defining of MapId results in generation of a header file (.h file), which is included by the developers in the code. Now in some languages, like C, C++, minus signs ("-") are not allowed to be used in #define statements. In order to prevent this problem, minus signs ("-") have been purposely been not allowed in defining the Map Ids.

    ****************************************

    I am guessing that It should not have worked in RH5 and it has been blocked now to avoid the issues.

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Peter Grainge
    Community Expert
    Community Expert
    October 20, 2008
    Please contact me via my site.

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    October 20, 2008
    Further information:
    RH7 does not care about the existing map ids that have hyphens. However, we cannot modify it since it does not allow us to save map ids with hyphens.

    We do not seem to have a choice rather than to change all Hypens with underscores. RH7 accepts underscores. Yet, this is painful for because we have around 80 pages as we have to change it individually. There is not way we can change by a query or something. The Java developers also complained because they have to modify the JavaHelp code to adjust all of these.
    Peter Grainge
    Community Expert
    Community Expert
    October 17, 2008
    Please advise whether you are using RH for Word or RH HTML.

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    October 17, 2008
    This map id problem is in RH HTML.