Dynamically change an existing dataconnection server / port

Hi all

Moving from a development environment to another, it is sometimes a real pain.

Scenario:

-J' have three environments: DEV, QA & PROD.

-J' have a pdf of livecycle - FORMULA A - designer who has the following dataconnection: http://DEVserver:8080 /...

-When I move FORMULA from DEV to QA, I need to update the dataconnection at http://QAserver:8090 /...

-When I move FORMULA from QA prod, I need to update the dataconnection (yet) at http://PRODserver:7890 /...

(1) it is a pain

(2) it is a nightmare when you have dataconnections multiple and many forms.

The proposed Solution, I need input on.

Binding XML, pass in the name of the server and the required port number.

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

I tried:

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

However, it does not change.

Am I missing something?

ANY INPUT OR IDEAS ALTERNATIVES

Thank you very much in advance.

I thought maybe to a tent to encapsulate a dataconnection in a fragment... no luck!

Note that you do not want change the submit URL but the soapAddress... but who is protected too. The soapAddress is not a bindable property, but you get get the value of a hidden field or you can get the address of the data dom yourself.

Anyway the problem is with security Acrobat... .it does not change the address of SOAP on the fly. The dom that holds this information is protected (for security reasons). So we can clone and use the cloned connection and change this address. Here's some code that does that:

xfa.connectionSet.DataConnection.soapAddress.value

var

Co = xfa.connectionSet.DataConnection.clone (1);

App.Alert (oCS.soapAddress.value);

App.Alert (xfa.connectionSet.DataConnection.soapAddress.value)

oCS.soapAddress.value

= "Http://pgdell:8080 / SOAP/services/WebServiceTest";

App.Alert (oCS.soapAddress.value);

oCS.execute (0);

Hope that helps

Paul

Tags: Adobe LiveCycle

Similar Questions

  • Using ISE to dynamic change of VLAN

    Hi all

    I need help to dynamically change the VLAN on each port of my Catalyst 3560, to do this, I don't want to use the MAC address filtering, but I want to use conditions already in place in my ISE to port between two VLAN (comments and Corporate) where they give free on the corporate LAN and the other Internet access LAN switch.

    Maybe someone of you had might have some ideas to do this using, or perhaps without VLAN?

    PS: Sorry for my bad English, I'm not native English ;)

    Thank you in advance.

    I don't understand exactly what you are looking for... But still

    The two types of access you plan can be achieved anyway

    Display the VLAN: as explained you... you must create two differnent authorization policies according to the users belonging to the Group of (AD) ...

    dACL: you can push downloadable ACLs to change according to the membership of users in AD.

    Let me know if you need help, design or configuration point of view...

  • changing the database in weblogic server port

    Hello
    Please help to achieve the following objectives...
    I want to change the database in weblogic port so that weblogic listen port number has changed.
    Please help me to achieve this goal.

    Thanks in advance

    Hello

    Go to the WLS console in Data Sources and change the URL of your data source connection pool...

    I hope this helps...

    See you soon,.
    Vlad

  • dynamically change the targeted and untargeted application icons

    Hi all

    In JDE 4.7.0, can I dynamically change icon application targeted and untargeted.

    My application connects to a server once a week and draws new content and 2 new icons.

    Can I use the icons drawn recently to replace the existing icons.

    Thank you.

    My glance, you have codes is about right.  Note that you will need to provide the images you downloaded as Bitmaps.  There are a number of discussions on this Forum dealing with requirements to download the files and convert them to Bitmaps, so have a look round for help with that.

  • With the help of v31.4.0, anyway I can designate the server ports as 110 and 25 instead of 110 and 587 for Bitdefender anti-spam?

    Thunderbird server ports won't allow to 110 and 25, only 110 and 587. Any suggestions?

    Go to the account settings-> settings for outgoing (SMTP) server and highlight the name of the server; then click on change. You should be able to change the port there. 25, 465, 587 and 2525 ports are all possibilities.

  • sensitizer javascript value change side pl/sql server

    Helllo, I use apex 4.2.1 and need to change the default value for a text element whenever the selection changes in a drop-down list.

    The new value is the result of some queries. Maybe I'm too complicated but I tell myself that I use of DA and need something along the lines of:

    1. get new selection via javascript, have it somehow spread to the server-side
    2. call pl/sql block, the server knowing the new value can set the session state of the running text element is necessary regardless of logic/query
    3. refresh the region containing elements so that the new text is displayed

    But I'm stuck at step 1 - I can use $v ('P1_DROP_DOWN') to get the selection has changed, but how the Server aware of the change to make the P1_DROP_DOWN bind variable reflects the new value without having to submit the entire page?

    Take a look at the real action "run the plsql block" dynamic action and "page elements to present" and "items to the page" items available in this real action. Clicking Help in will help them.

    Don't forget that PLSQL is run serverside.

  • Dynamically change the Init parameters

    Hello

    We will improve our database 10.1.0.5 to 10.2.0.5.

    The database is running on pfile.

    SQL > show the pfile parameter

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    chain of SPFile

    After you run the tool preupgrade, got the warnings below.
    **********************************************************************
    Update settings: [update of the Oracle 10.2 database init.ora or spfile]
    **********************************************************************
    ATTENTION: - > "streams_pool_size" must be increased at least 50331648
    ATTENTION: - > "session_max_open_files" must be worn at least 20


    I don't find these settings in the pfile file. Is it possible to dynamically change these settings?

    Can I add these parameters to the pfile file before the upgrade of the database?

    SQL > show parameter of flow

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    STREAMS_POOL_SIZE big integer 0

    SQL > show parameter session_max_open_files

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    session_max_open_files integer 10

    Thank you
    Pradeep

    As noted, if the values are not explicitly defined, they assume default values - see the documentation

    http://docs.Oracle.com/CD/B14117_01/server.101/b10755/initparams209.htm#REFRN10243
    http://docs.Oracle.com/CD/B14117_01/server.101/b10755/initparams187.htm#REFRN10196

    HTH
    Srini

  • How to dynamically change the host name in the Pages of the URL of the APEX

    Dear gurus,

    Please advise me on how to dynamically change the hostname in the URL used in the pages of the APEX.

    For example: I have the below URL in one of the apex pages.
    owa_util. REDIRECT_URL ("http://adminlxdb03.texas.org:7780/pls/htmldb ' |' / f?") p ='|| v ('APP_ID') | ": 151:" | " v ('APP_SESSION'));

    in the case of a Migration of this apex from one server to another (for example, TEST the PROD box), this / these pages are wrong because the different host id name in the PROD box.

    Is it possible that we can dynamically change the hostname in the URL used in the pages of the APEX.

    for example
    owa_util. REDIRECT_URL ("http://adminlxdb03.texas.org:7780/pls/htmldb ' |' / f?") p ='|| v ('APP_ID') | ": 151:" | " v ('APP_SESSION'));

    should become

    owa_util. REDIRECT_URL ("http://adminetuxdb09.texas.org:7780/pls/htmldb ' |' / f?") p ='|| v ('APP_ID') | ": 151:" | " v ('APP_SESSION'));

    It's adminlxdb03.texas.org (TEST) at adminetuxdb09.texas.org (PROD).

    If the page has no error...

    Please notify.

    Thank you
    Sheik

    You don't need to provide the hostname while redirecting in the pages of the apex

    owa_util. REDIRECT_URL ('f? p ='| v ('APP_ID') |) ": 151:" | " v ('APP_SESSION'));

    should work just fine.

  • How to make changes to existing configurations without quisceing

    Hi gurus B2B.

    How to make changes to existing configurations without quisceing and deployment of retirement?

    Its a production server, my project went live, a few weeks before. After two weeks my ISP asked me to change the delimiter setting of * to,.
    I then to the deployment, Quisced tab, retired, purge the existing configurations, and then I did the changes, approved the agreement and TP and recreated the (config) deployment even once, it happened successfully, but WE are unable to see the old transactions.

    Could someone help me how to make any changes without purging,

    If we simply pull out, wiothout purge, it shows error that name already exists.

    Concerning
    Suni

    Hi Suni,

    In B2B of Oracle 10g, it is mandatory. You must transfer the configuration (after quisceing and retirement) each time you make any change in the configuration.

    but WE are unable to see the old transactions.

    Once an old configuration gets served, messages related to it would not be included in the report, but they must exist in the DB tables. You can take an export (from the console) to the existing messages each time before you purge the old configuration to keep a backup copy of copy paper.

    If we simply pull out, wiothout purge, it shows error that name already exists.

    Two configurations with the same name cannot co-exist, and whence this error.

    Kind regards
    Anuj

  • rate of dynamic changes in the worksheet

    Hello, e n one explain how to add a dynamic change of a currency in a Numbers spreadsheet? I can't find in the formula section.

    Thank you

    Hi Sean,.

    Number can make calculations, once rates are in the table, but cannot, in itself, go out and pick the one (s) from an external source. This will require the talents of an AppleScript script.

    The script, it will take the talents of a scripter to write (there are a few who visit here regularly) and and the writer will need some information:

    What Exchange rate do need it?

    Where are they available?

    Can you describe the structure of the source? (Otherwise, the person who takes on the writing of scenarios may be able to determine the structure once the site is known).

    I'm sure that there will be more specific questions, but answers to those above will do for starters.

    Kind regards

    Barry

  • Mailing address: change the incoming mail server

    My servers have changed and I need to add new servers to my Mail application, but I can't change the incoming mail server: the text in the incoming mail server field is light gray and I can't choose or change. I changed the outgoing mail server and I can now send emails, but reception does not work. The incoming mail server is online and it is the same as the outgoing e-mail server.

    Can someone help me and tell how to change the incoming mail server?

    Ok. I found help in this thread: cannot not change the incoming mail server

  • Cannot find the .inf to install HP 5600 print server port

    I try to add a server port to print to my printer HP 5600 on Win 7.

    Go to "Properties of the print server" select port and get message 'new port type' print server ' food printer inf to install the port monitor intilation information. »

    Cannot find the INFs on any CD progrm supplied with the printer.

    How can I add a 'print server port' to the printer if my USB Linksys printserver. This print server works fine on my other computers on my home network.

    Finally found how to manage the Linksys. You must set up a TCP/IP port not a port of the print server.

    Link http://kb.linksys.com/Linksys/ukp.aspx?pid=80&vw=1&articleid=22034

    complete set upward for win 7

    Bob

  • Dynamically change the number of sub-panels

    Hello

    I have a computer where usually 4 testplaces of production are connected to.

    I want to have a main VI indicating the status of the 4 different testplaces, that I can do with 4 separate sub-panels - no problem.

    The issue is that I would be flexible in testplaces how I show in a program (as this hole thing is pretty cool, and I expect that some changes will come). Is it possible to dynamically change the number of sub-panels displayed (other that make it twenty of them and turning off then those you don't need)?

    My first idea was to place the school in a table, but unfurtunately is not possible.

    Best regards

    Frank

    Yamaeda wrote:

    The POP in separate windows, and you can have as much as you want.

    Or make separate them windows, and then set up a child-parent relationship in Windows, it seems as if it was all about a user interface.

    http://screencast.com/t/P9SJ1anR

    It's nice enough for the demo beta like software, but works.

    https://lavag.org/topic/17046-multi-panel-interface/

  • Dynamically change the path of the report

    Is it possible to dynamically change the path where reports are saved. TestStand 4.1.1

    Glennjammin,

    You can set a path to the specific report for any sequence that you run via the entry points of process model using the reminder of your sequence ReportOptions. It will allow you to change the current settings in the Options report (including the path) for the execution of this sequence. This allows each of your sequences have unique report options.

    If I understand your question, you want to do is exactly what is meant recall ReportOptions.

    -Jack

  • Dynamically change a stepname

    How to dynamically change a step name to appear in the report file (not text report)? I am looping through a test of parameter according to the led file and want every test in the report with a specified in the file name. Thanks, rich

    Hello Mack,

    There are serval solutions.

    Just try it

    1.) http://forums.ni.com/ni/board/message?board.id=330&message.id=11881#M11881

    2.) see attachment

    Greetings

    Jürgen

Maybe you are looking for

  • Satellite M45 - DVD driver made so much noise

    Hello I can't play a DVD in my DVD player. It says that it cannot read the source. I use Ubuntu. Also, when I tried to play a music CD, it could play, however, the driver creates so much noise (noise of spinning). Can you tell me what could be wrong

  • Prospects for iPad

    Hi all. This is my first post. Anyone installed the new perspectives for the iPad? At best, I can say that it is called "Outlook for iPad" and Android. I installed the app a couple of days on the App Store and tested only to send and receive a few ma

  • Determine if an integer is a floating-point number

    I want to create a program that when an integer is entered in the digital constant, a floating-point number with zeros to the right of the decimal point lights up the LED on the front panel. The LED remains off for any other floating-point number. I

  • cannot cancel print queue

    Job in printer in the State removed from days and will not allow what else printing, selecting Cancel does not delete this print job that more original title: cannot cancel print quue

  • Want 4500: Connection error! The printer could not connect to the server

    Connection error! The printer could not connect to the server! Cannot set up eprint or update the driver. Ever been on the forums and do not understand what to do! I am successfully connected to my router and can print from my pc and my ipad with air