Welcome to Macrobject Community Login | Register | Faq  

    Macrobject Community
  Macrobject Software Knowledge Management and Collaboration Platform
Search    
   

Re: [Suggestion] Read Help Ids from PRIVATE fields in Word
Started by csmassoud at 08-28-2011 11:24 AM. Topic has 6 replies.

Print Search « Previous Thread Next Thread »
  08-28-2011, 11:24 AM
csmassoud is not online. Last active: 9/8/2011 10:01:13 PM csmassoud

Top 25 Posts
Joined on 08-29-2011
Posts 7
[Suggestion] Read Help Ids from PRIVATE fields in Word
Reply Quote
Hi Macrobject Team,

Managing thousands of Headings (Topics) with corresponding HelpIds is complicated with the current method using the helpid.ini file, when we do not have the possibility of using the corresponding generated .cs file.

The Ids in our case are preset in the calling application and we need to set them accordingly in the CHM.

It would be perfect if I could add the Help ID to each Topic as such:

1. HeadingA {PRIVATE W2CID=2000}
1.1 HeadingB {PRIVATE W2CID=2012}
2. HeadingC {PRIVATE W2CID=3019}
...etc

The PRIVATE field is designed for such things.
I understand that this means that I will be responsible to make sure IDs are not repeated.

Is this possible to add this feature? Or do you have a better suggestion to manage the IDs?

Thanks in advance
Massoud
   Report 
  08-29-2011, 6:45 AM
Peter is not online. Last active: 10/31/2011 9:51:29 AM Peter

Top 10 Posts
Joined on 09-27-2007
Posts 171
Re: [Suggestion] Read Help Ids from PRIVATE fields in Word
Reply Quote
Hi Massoud,

It is hard to manage the HelpIds perfectly and automatically.
We will consider your suggestion. Thanks so much.

Regards,
Peter
   Report 
  09-07-2011, 7:59 PM
David is not online. Last active: 3/11/2012 2:40:55 PM David

Top 10 Posts
Joined on 01-26-2008
Posts 195
Re: [Suggestion] Read Help Ids from PRIVATE fields in Word
Reply Quote
Hi,

The feature was added to the latest version.
Please install if from http://word-2-chm.com and find the feature in the Filename Customize Add-in, thanks.
More details please refer to http://word-2-chm.com/doc2010/topics/FilenameCustomizeAddIn.html


   Report 
  09-08-2011, 7:02 AM
csmassoud is not online. Last active: 9/8/2011 10:01:13 PM csmassoud

Top 25 Posts
Joined on 08-29-2011
Posts 7
Re: [Suggestion] Read Help Ids from PRIVATE fields in Word
Reply Quote
Thanks for adding this.

But I just tested it and it does not quite work

Some headings do not have the right ID.

I have IDs from 1000 to 6000.
The only ones that have not worked are 1001, 1002, 1003 and 1004. Every other ID is correct. Very strange!
Thank you.
Massoud
   Report 
  09-08-2011, 8:11 AM
csmassoud is not online. Last active: 9/8/2011 10:01:13 PM csmassoud

Top 25 Posts
Joined on 08-29-2011
Posts 7
Re: [Suggestion] Read Help Ids from PRIVATE fields in Word
Reply Quote
I can send a sample Word file that shows the error.

Massoud
   Report 
  09-08-2011, 8:47 AM
csmassoud is not online. Last active: 9/8/2011 10:01:13 PM csmassoud

Top 25 Posts
Joined on 08-29-2011
Posts 7
Re: [Suggestion] Read Help Ids from PRIVATE fields in Word
Reply Quote
I found what the bug is.

If in a document you have this:

Heading A
Heading B
Heading C
Heading D { mo:HelpId=1000 }
Heading E { mo:HelpId=1001 }
Heading F { mo:HelpId=1002 }
Heading G { mo:HelpId=1003 }
Heading H { mo:HelpId=1004 }

Then contextual help for E, F and G actually wrongly point to A, B and C respectively.

This happens because Custom IDs did not start until the 4th heading.

The workaround for me is to add dummy IDs to headings before the first one (or not use 1001, 1002 etc and use higher numbers):

Heading A { mo:HelpId=1 }
Heading B { mo:HelpId=2 }
Heading C { mo:HelpId=3 }
Heading D { mo:HelpId=1000 }
Heading E { mo:HelpId=1001 }
Heading F { mo:HelpId=1002 }
Heading G { mo:HelpId=1003 }
Heading H { mo:HelpId=1004 }

OR

Heading A
Heading B
Heading C
Heading D { mo:HelpId=2000 }
Heading E { mo:HelpId=2001 }
Heading F { mo:HelpId=2002 }
Heading G { mo:HelpId=2003 }
Heading H { mo:HelpId=2004 }

But it will be nice to fix this issue.

Thanks
Massoud
   Report 
  09-12-2011, 5:07 AM
Peter is not online. Last active: 10/31/2011 9:51:29 AM Peter

Top 10 Posts
Joined on 09-27-2007
Posts 171
Re: [Suggestion] Read Help Ids from PRIVATE fields in Word
Reply Quote
Hi Massoud,

Word-2-CHM creates a HelpID for each heading. These HelpIDs are started from 1001. We cannot change this for compatible reason.

So please use one of your solution. Use bigger numbers for your custom HelpIDs are recommended. For examples, use 10001, 10002, etc.

Regards
Peter
   Report 
Post
Macrobject Comm... » Help Authoring ... » Word-2-CHM Conv... » Re: [Suggestion] Read Help Ids from PRIVATE fields in Word

Powered by Community Server, by Telligent Systems