Avatar

Level 3

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!