hello,
programmers asked me if it is possible to show the -cshid identifier in the topic which is connected to it.
For example, the help file is called with:
HelpViewer.exe -file [path to help system] -cshid [identifier] -search [search_string]
HelpViewer.exe -NL_Manual -1000 (no search string)
file "NL_manual.mchelp" opens with topic "Welcome.htm" (which is the alias for 1000 in this case)
Now I would like to show 1000 in the welcome topic, in an automatically way. Not manualy because I know that topic welcome.htm is connected to value 1000
I hope I made my question clear enough
thx.
Showing the -cshid identifier in a topic
Showing the -cshid identifier in a topic
Thanks,
Henk Jan Schut
The Netherlands
Henk Jan Schut
The Netherlands
Re: Showing the -cshid identifier in a topic
I wrote a blog article about how to do this in HTML5 output:
https://ukauthor.wordpress.com/2015/06/ ... ent-topic/
I'm guessing from the reference to HelpViewer.exe that you're using the legacy DotNetHelp output.
I haven't tried this script with DotNetHelp, but it works for me with HTML5 output.
https://ukauthor.wordpress.com/2015/06/ ... ent-topic/
I'm guessing from the reference to HelpViewer.exe that you're using the legacy DotNetHelp output.
I haven't tried this script with DotNetHelp, but it works for me with HTML5 output.
-
- Propellus Maximus
- Posts: 574
- Joined: Tue Oct 03, 2006 7:56 am
- Location: Seattle, WA
- Contact:
Re: Showing the -cshid identifier in a topic
Hi Dave,Dave Lee wrote:I wrote a blog article about how to do this in HTML5 output:
https://ukauthor.wordpress.com/2015/06/ ... ent-topic/
Thanks for this succinct how-to! Questions:
1. How to prevent URL from breaking? After publishing to my company-only server, I get the URL https://help.nintextest.com/en-US/nwc/D ... cshid=4142 but it resolves to https://help.nintextest.com/en-US/nwc/# ... cshid=4142 [an extra hash before Default.htm] and breaks.
NOTE: I updated the lookup.js to find the numerical identifier - var currentID = $(this).attr("ResolvedId")
2. Show all assigned identifiers? The solution assumes that each topic is linked to only a single ID (if any). My project has individual topics linked to multiple IDs due to combining content that was previously referenced separately.
3. Update the help path to show a known variation? Specifically I'd like to provide a public variant of the above: https://help.nintex.com/en-US/nwc/Default.htm#cshid=4142 (so devs use the right URL).
4. Open in a new tab? Should be easy....
Pamela Denchfield
http://www.pameladenchfield.com
http://www.pameladenchfield.com
Re: Showing the -cshid identifier in a topic
Hi, I tested this script in a HTML5 output, built with 2021 r3 but cannot get it to work. Is it me or have there been updates in Flare, causing it not to work?