Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Dynamically changing an existing dataconnection's server / port

$
0
0

Hi All,

 

Moving from one development environment to the next is sometimes a real pain.

 

Scenario:

- I have three environments: DEV, QA & PROD

- I have a livecycle designer pdf - FORM A - that has the following dataconnection: http://DEVserver:8080/....

- When I move FORM A from DEV to QA, i need to update the dataconnection to http://QAserver:8090/...

- When I move FORM A from QA to PROD, I need to update the dataconnection (again) to http://PRODserver:7890/...

1) this is a pain

2) this is a nightmare, when you have multiple dataconnections and many forms.

 

 

Proposed Solution, that I need input on.

The binding XML, will pass in the server name and required port number.

Then via code, I change the server & port of an existing dataconnection dynamically.

 

I tried:

WebserviceCallButton.event__click.submit.target = "http://" + vServer + ":" + vPort + vURLCall;

However, it does not allow the change.

 

Am I missing something?

 

 

ANY INPUT OR ALTERNATIVE IDEAS

 

Thanks alot in advance.

 

 

I thought of maybe a trying to wrap a dataconnection into a fragment... no luck!


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>