Custom Action to launch transformation Scenario
Post here questions and problems related to oXygen frameworks/document types.
Custom Action to launch transformation Scenario
In oXygen 17.1, I see the operation ro.sync.ecss.extensions.commons.operations.ExecuteTransformationScenariosOperation exposed for a custom action, but it doesn't appear to allow for me to set any parameters for the transformation.
Is there a way to pass parameters to the XSL when launching a transformation via custom action?
Is there a way to pass parameters to the XSL when launching a transformation via custom action?
-
- Posts: 402
- Joined: Mon May 09, 2016 9:37 am
Re: Custom Action to launch transformation Scenario
Post by sorin_carbunaru »
Hello,
No, there is no way that I am aware of to pass parameter values when launching a transformation via a custom action. But is there a specific reason you want to pass values like that? You could just set the parameter values from the scenario and then invoke the action.
All the best,
Sorin Carbunaru
oXygen XML
No, there is no way that I am aware of to pass parameter values when launching a transformation via a custom action. But is there a specific reason you want to pass values like that? You could just set the parameter values from the scenario and then invoke the action.
All the best,
Sorin Carbunaru
oXygen XML
Re: Custom Action to launch transformation Scenario
For our purposes, the values change. It drives things like volume and issue number in the header of a composed document. The intent was to create a more user friendly interface using the ask() editor variable to prompt the user for inputs and then launch the transformation with those values.
-
- Posts: 402
- Joined: Mon May 09, 2016 9:37 am
Re: Custom Action to launch transformation Scenario
Post by sorin_carbunaru »
You can use the $ask() editor variable from the transformation scenarios' parameters -> https://www.oxygenxml.com/doc/versions/ ... parameters. Does this fit your needs?
Re: Custom Action to launch transformation Scenario
Ah, yes, that is helpful!
Just as a general feature request, it would be extremely useful to be able to design custom forms to collect multiple ask's at once or serve as an interface for performing various custom actions. Something similar to what XMetaL provides with their form builder tool. I'm aware it's possible via Java, but the coding competence required for that is fairly substantial. A robust form editor and some implementation of a scripting engine slightly less foreboding than Java would be a substantial improvement on o2!
Just as a general feature request, it would be extremely useful to be able to design custom forms to collect multiple ask's at once or serve as an interface for performing various custom actions. Something similar to what XMetaL provides with their form builder tool. I'm aware it's possible via Java, but the coding competence required for that is fairly substantial. A robust form editor and some implementation of a scripting engine slightly less foreboding than Java would be a substantial improvement on o2!
-
- Posts: 402
- Joined: Mon May 09, 2016 9:37 am
Re: Custom Action to launch transformation Scenario
Post by sorin_carbunaru »
Thank you for the suggestion! I recorded a feature request for that on our side.
Return to “SDK-API, Frameworks - Document Types”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service