Page 1 of 1

${ask()} dynamic default values on transformation

Posted: Sat Apr 11, 2015 1:34 pm
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)}')}

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

Posted: Tue Apr 14, 2015 9:48 am
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

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

Posted: Thu Apr 16, 2015 8:57 am
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.