While integrating the Flare application, I am trying to use the JavaScript method. The below is the approach suggested. While I am using this I am always getting the document opened in a new tab instead of a new window. Is there any approach in JS so that I can open this in a new window rather than a new tab.
<input type="button" value="Open Help System" onclick="MadCap.OpenHelp(ID, skin name, search string, first pick search string value );" />
For those who come after, it is important to understand the different elements you can use when you make the JS call -- and this is not an easy thing to understand from the documentation.
The
ID
is the CSH ID that you assigned in the alias editor in Flare. This can either be the ID or the value (which is odd, but true).The
skin name
is the filename of the skin you want to include, but NOT the extension. So if in your project you have amy html5 skin.flskn
file, you would enter:my html5 skin
. (Please don't use spaces in your skin names... but they don't actually affect the functionality in this case.)So if you want to create a link to a topic that has a CSHID of 1234, and you want to use the default skin tied to the target, you would use:
If you want to create a link to a topic that has a CSHID of 1234, and you want to use the skin specialskin.flskn, you would use:
I hope this clarifies the situation for somebody in the future.