Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Modifying a configuration file prior to deployment (https://www.kinook.com/Forum/showthread.php?t=5400)

paxil 01-08-2016 02:02 PM

Modifying a configuration file prior to deployment
 
I have a xml config file that I want to modify with many different macros (40+) in this format when it comes out of source control. I have a macro for each of the values. I know I can add a "Replace in File" build step for each value to be replaced with my macros, but is there an easier way to do this without having to run the replace file 40+ times?









Thanks

Pax


Forgot to mention, I'm using v8.6 of VBP. Also, can this issue above be completed with a LOOP_VALUE within a LOOP_VALUE?

kinook 01-08-2016 02:57 PM

You can perform multiple replacements in one Replace in File action. See the examples at http://www.kinook.com/VisBuildPro/Ma...acetexttab.htm

Alternatively, you could put the replace step in a loop to process all the relevant macros.
http://www.kinook.com/VisBuildPro/Manual/loopaction.htm

paxil 01-08-2016 03:40 PM

Thanks for getting back so quick, that worked perfect.
Pax


All times are GMT -5. The time now is 11:55 AM.


Copyright © 1999-2023 Kinook Software, Inc.