on 2009 Jan 27 1:13 PM
Hi All,
I have a hyperlink wherein the url would differ based on the sytem it is running.
eg on development system, it would be http://<development>:<port>/.
on test system, it would be http://<test>:<port>/.
on production system, it would be http://<production>:<port>/.
Is there a way in VC to get the server name dynamically based on the system on which the application is running.?
Regards,
Murtuza
Hi Murtuza,
If "http://<server>:<port>/<something0>/<something1>/<etc>" is the URL, then did you try giving
hyperlink address as just "/<something0>/<something1>/<etc>" ?
Let me know if it helps.
Regards,
Vani
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 pass flag to VC model as parameter (for example, env=dev/test/prod).
[This doument |https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2090414b-cd20-2a10-d594-8de9d146044a]will explain how to do it.
And the next step is to declare 3 variables in Data Store : dev_path="http://<development>:<port>/" etc.
When you build the hyperlink get it's first part from Data Store appropriate to parameter passed to model.
Good luck,
Ola
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
67 | |
11 | |
10 | |
10 | |
9 | |
9 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.