I'm having some trouble using the "Read Properties from XML File" step (part of the File Utils plugin). Struggling with the syntax for what to put in the "Property Keys" property in the step.
My simple XML file is attached - would like to get the values of the properties into UrbanCode to use them... tried several variants but nothing has worked yet.
(Eventually these properties will be moved into UCD as environment or resource properties... but for now I need to read them from this file.)
Any help appreciated. link text
link textI have same problem. I'm trying to use the "Read Properties From XML FILE" but it doesn't work. In my example I put: classpath.sharedlib.value on Property Keys of the "Read Properties from XML FIles" property. Attached my xml file When I try the plugin step I cannot see output properties with values of the xml file.
Answer by Frank Bertucci (45) | Apr 20, 2016 at 09:16 AM
I found the key. If you still need a solution, try to change the "Process Type" of the component process to "Deployment" Hope this help
Hello Frank,
Thanks for the tip. I was able to read the value from the XML file. How can I consume it in subsequent steps as a property? I tried in my case ${p:var.value} but it gives me an error.
any idea?
Answer by williamgravier (1) | Jul 25, 2018 at 05:05 AM
Hello,
I have the same question, how can I retireve the value from an XML file to use it in subsequent steps. Do I write post processing script ? If yes, which one ?