on 01-20-2011 2:51 PM
Hi Experts,
I am trying to call a URL similar to the following from inside a transaction from a XML, HTML and Text Loader actions: http://server:port/XMII/Illuminator?QueryTemplate=MyQueryTemplate. How can I reference the "server:port" dynamically so that when I promote this server to QA or PROD systems, the Loader actions always pull from local system only?
The three systems are as follows:
DEV: server1:57000
QA: server1:57500
PROD: server2:57000
I can replace the "server:port" with "localhost:57000" but this covers 2 of the 3 scenarios.
I can't use the web:// switch because this seems to reference the "http://server:port/XMII/CM" root.
Or, perhaps there is a different strategy here completely(?)
Thanks in advance!
You can build the string dynamically and for the server port variable, you could create a persistent value (shared property) and link it to your action block. So when you promote to QA oder Prod, you need to change once at the shared property
Edited by: Seng Kiang Hoe on Jan 20, 2011 4:52 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
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.