Post-transformation popup message

kmank
Posts: 85

Post-transformation popup message

Wed Apr 05, 2017 11:17 pm

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.
Radu
Posts: 5757

Re: Post-transformation popup message

Thu Apr 06, 2017 9:01 am

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/18.1/ug-editor/topics/dita-map-use-your-own-build-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/4696176/using-ant-how-do-i-open-a-file-in-a-browser

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
kmank
Posts: 85

Re: Post-transformation popup message

Thu Apr 06, 2017 7:55 pm

Option 2 sounds promising. Thanks for the suggestions!

Return to “DITA (Editing and Publishing DITA Content)”

Who is online

Users browsing this forum: No registered users and 0 guests