${ask()} dynamic default values on transformation

Post here questions and problems related to editing and publishing DITA content.
HomeGoods
Posts: 96
Joined: Wed Feb 09, 2005 8:57 am

${ask()} dynamic default values on transformation

Post by HomeGoods »

In the default "DITA Map WebHelp with Feedback" transformation scenario, the parameter webhelp.product.id and version have these ${ask()}:

Code: Select all

${ask('Please enter the documentation product ID:', string, 'oxy-webhelp')}
${ask('Please enter the documentation version number:', string, '1.0')}
Is it possible to provide ${ask()} with dynamic default values?
I tried these, but to no avail:

Code: Select all

${ask('Please enter the documentation product ID:', string, ${cfn})
${ask('Please enter the documentation version number:', string, '${date(yyyy-MM-dd)}')}
alex_jitianu
Posts: 1016
Joined: Wed Nov 16, 2005 11:11 am

Re: ${ask()} dynamic default values on transformation

Post by alex_jitianu »

Hello,

Starting with the next Oxygen version (17.0) you will be able to provide such dynamic values. We've just released a 17.0 beta so if you are interested in giving it a try, please write us an email on support@oxygenxml.com.

Best regards,
Alex
HomeGoods
Posts: 96
Joined: Wed Feb 09, 2005 8:57 am

Re: ${ask()} dynamic default values on transformation

Post by HomeGoods »

You're right. The following parameters works on 17.0 beta:

Code: Select all

${ask('Please enter the documentation product ID:', string, '${cfn}')}
${ask('Please enter the documentation version number:', string, '${date(yyyy-MM-dd)}')}
Thank you for the various enhancements on 17.0. I really like it.
Post Reply