Has anybody created a post-build action to modify the Default.htm file that gets generated by Flare?
I have a need to add a script to that file. (I have another post on using Pendo, which describes my need; basically, you have to use the Default.htm file to use context-sensitive help, and I need to add script to the Default.htm file so I can pass a user id from my application into my help site for user analytic tracking.)
I don't know how to write a post-build command that will edit the Default.htm file to add an extra line of code, and I'm wondering if somebody can help guide me through the process.
Thanks in advance.
Post-build action to modify the Default.htm file
Re: Post-build action to modify the Default.htm file
I'd suggest leaving Default.htm alone, and create your own landing page instead.
Pass the CSHID and whatever other parameters you need to your own landing page.
Your landing page can process your parameters, and then open Default.htm with your CSHID.
I do something similar where we pass an application ID (rather than user ID), and save that in local storage.
This means the help can read this from local storage so it knows which variant of the application the is being used.
Pass the CSHID and whatever other parameters you need to your own landing page.
Your landing page can process your parameters, and then open Default.htm with your CSHID.
I do something similar where we pass an application ID (rather than user ID), and save that in local storage.
This means the help can read this from local storage so it knows which variant of the application the is being used.