Page 1 of 1

Post-transformation popup message

Posted: Wed Apr 05, 2017 11:17 pm
by kmank
I have created a scenario in 18.1 using the Responsive platform. This scenario includes js code to implement start and end dates for a screen feature to be displayed. The issue is: once the transform is complete it requires some other action by the user.

Is there a way to show a custom popup message immediately after the transform to prompt the user to perform final steps? I do not see anything in the Scenario dialog that wold allow it.

Re: Post-transformation popup message

Posted: Thu Apr 06, 2017 9:01 am
by Radu
Hi,

I see two possibilities here:

1) At the end of the transformation instead of opening the index of the generated HTML content you could open another HTML document which instructs the user of the transformation scenario what to do. For example if in the list of predefined Oxygen transformation scenarios you duplicate and edit the DITA Map WebHelp Responsive with Feedback scenario and look in the "Output" tab, in the Output File section it decides to open some other specific HTML document which instructs the user what to do next.

2) The WebHelp transformation is based on ANT so you can use a custom ANT build file which calls the DITA OT processing:

https://www.oxygenxml.com/doc/versions/ ... -file.html

and afterwards it could do something else, for example open in the web browser an HTML document with instructions:

http://stackoverflow.com/questions/4696 ... -a-browser

Regards,
Radu

Re: Post-transformation popup message

Posted: Thu Apr 06, 2017 7:55 pm
by kmank
Option 2 sounds promising. Thanks for the suggestions!