-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node.js and field names as input to ipgm.js and xmlservice #8
Comments
Original comment by Tony Cairns (Bitbucket: rangercairns, GitHub: rangercairns). Unhelpful part ... xmlservice is not the problem ... 'names' are not a restriction in XMLSERVICE. That is, any added 'attribute' to xml comes back out ...
Helpful part ... the real issue is this particular node toolkit, which has an abbreviated idea of conversion from XML to JSON. So, real question should be ... Q: Can we change the 'interface' of the node Toolkit to allow additional 'user attributes' that return in json. A: Maybe. However any change to an existing interface may affect current node scripts. |
Original comment by Tony Cairns (Bitbucket: rangercairns, GitHub: rangercairns). This is NOT an XMLSERVICE issue (already works as you suggest). Please move your issue to the offending node toolkit (this is your problem). |
Original comment by Aaron Bartell (Bitbucket: aaronbartell, GitHub: aaronbartell).
Should be able to add it to the "options" portion of the call without disrupting existing API signatures. But as Tony declares, this needs to be documented as an issue on the nodejs-itoolkit repo. |
Original comment by Magne Kofoed (Bitbucket: magnekofoed, GitHub: magnekofoed). Ok, thanks, I've moved this issue to nodejs-itoolkit. |
Original report by Magne Kofoed (Bitbucket: magnekofoed, GitHub: magnekofoed).
Is it possible to put field names into ipgm.js (and xmlservice) and get the field names in the response? Both single variable names and field names in datastructures.
I want to have the field names in the response from xmlservice in order to create a better json response.
The text was updated successfully, but these errors were encountered: