Comments (1)
Thanks for the feedback!
To answer your questions -
Technically, we can create a new variable programmatically when the release is run. However the usecase for which this plugin was designed requires that those variables exist ahead of time, at template creation time, so they can be used in various XL Release tasks. The variables can then be populated when the release is run.
Regarding the variable naming syntax, perhaps the reasoning is on less firm ground. As I recall, when we added xml processing, we decided to use the underscore rather than the slash notation used in XPATH (since this is not actually XPATH). We continued using the underscore notation when we added JSON processing so it would be consistent and would not be confused with true dot notation. Our path processing is very simplistic and doesn't implement all the features of XPATH or dot notation.
If these design decisions have caused issues in you specific usecase, please let us know. These plugins are often designed to solve a specific issue we have been presented with. Feedback from other users will help us make them more universally useful.
-Lynn
from xlr-variable-setter-plugin.
Related Issues (8)
- Use of list for filenames not working HOT 1
- Inability to Trouble shoot issues HOT 1
- Need Variable Interpolation to Work in filename field HOT 1
- need to add .json to description of file names in synthetic HOT 1
- trying to run in XLR 9.0.5, getting exception about newer Java runtime HOT 5
- Mapping values are not allowed here in 'string' error HOT 1
- How to set the Arabic value to the XLR template Text variable ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xlr-variable-setter-plugin.