on 11-13-2007 8:56 AM
Hi ,
In my scenario, I want to load a configuration file which contains all my configuration realated details -- location of file path which i have to load in my transaction for further usage.
This can be achieved using global variable concept of BLS but my requiremnet is like this then how can i proceede.
Thanks
Supriya.
Hi Supriya
One way to achive this is to keep all your config information in one xml file, and load this file using xml Loader action Under Web action blocks.
Hope this helps
Thanks and regards
Rupesh Bajaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can modify the calculation while in the link editor of XML saver/loader action block. but that too depends on the requirement.
One way is that you can just assign the input parameters of transaction to the output of the xmlloader result using an assignment block and later saving it with the same name using xmlsaver action block.
Regards,
Musarrat
Supriya,
Lets Say your xml is
<ABC>
<config>value1</config>
<config>value2</config>
</ABC>
and you need to change the value of config node to "newValue" from "value1",
Then load the xml file and assign that to some Local xml property say outPutXML.
create another local property with only the xpath , in this case it will be
"/ABC/config/"
Now, use the magic of Dynamic Link editor, i.e
outPutXML.{#xPath#} to change the value
Hope this helps
Rupesh Bajaj
Reward if solved the problem
User | Count |
---|---|
10 | |
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.