Xfa.host.gotoURL not working

Hi all,
I'm running Designer 7.1 and the function xfa.host.gotoURL("some Url") doesn't seem to be working anymore. It worked in previous versions. Is it me or am I missing something?

I'm using Designer 7.1 with Acrobat 7.0.8 and the following code works just fine for me (in both FormCalc and JavaScript):
xfa.host.gotoURL("http://www.adobe.com");
Note that this is a
client only method. Make sure that the Run At property is set to
Client.
If setting the Run At property to
Client doesn't fix the problem, it would be useful if you could give me a little more context with regards to your particular scenario: How is the xfa.host.gotoURL function being called? What version of Acrobat are you using? Is the form loaded in stand-alone Acrobat or within the browser plug-in when xfa.host.gotoURL doesn't work?
Stefan
Adobe Systems

Similar Messages

  • Xfa.host.print not working as expected with Reader8!?

    Hello,
    I have a two pages form created a while ago with Designer 7.1. When the Print button in the form is clicked, only the last page is printed. We now upgraded to Reader 8.0, and I tested my forms with it. All works fine except the print-out. It always prints both pages. It seems that the properties set in xfa.host.print are totally ignored. Any one having the same problem? Does somebody know the reason or a workaround for that?
    Thanks!
    Kind regards, Karin

    Hello Ivan,
    I got a response: It is a bug in Reader 8.0. It should be fixed in Reader 8.1
    Regards, Karin

  • Xfa.host.gotoURL() in Adobe Reader / Dynamic Tables with AcroForms?

    Hi All,
    I have a dynamic table in my LifeCycle form. Each table row contains a button that links to an external PDF file (using xfa.host.gotoURL). The links work fine in Acrobat 8 Pro, so far, so good... But when clicking the buttons in Reader 8, nothing happens. No error message or security warning, nothing...
    I searched the web and some forums for this problem and by reading between the lines of some posts I came to guess that my LifeCycle form will not work in Adobe Reader unless I purchase the respective LifeCycle Extensions license... :-/
    What exactly are my options now? Can I get the buttons to work in Adobe Reader somehow (using JS) without having to purchase the Reader Extensions? Or can I somehow recreate the dynamic table of the LifeCycle form using AcroForms in Acrobat 8 Pro to avoid the problem? If so, how do I add such a table using Acrobat's form tools...?
    Thanks for your help,
    Marcus

    Normal http://... URLs do indeed work, but relative URLs pointing to local files do not work with the Adobe Reader on my machine. I thought this might be due to a security restriction that can only be overcome by using the Reader Extensions...?
    Is there any other way of linking to other PDFs on the local machine than the gotoURL method? I also tried launchApp(), but it didn't work either.
    I currently use this statement to link to PDFs in a subfolder:
    xfa.host.gotoURL("TrainingGuides/"
    + docName + ".pdf", 1);

  • How to Get Rid of the Unwanted Slash Appended by xfa.host.gotoURL?

    Hello LifeCycle users,
    I'm using "xfa.host.gotoURL" to call a number of URLs on the local network and I figured out that the gotoURL method automatically appends an unwanted slash to the URL. Unfortunately, with this unwanted slash the last parameter in my URLs does not work.
    For example, I call an URL like this:
    xfa.host.gotoURL(http://myhost?param1=NO&param2=YES&
    param3=YES, 0);
    The URL passed to the browser seems to be:
    http://myhost?param1=NO&param2=YES&param3=YES/
    causing "param3" to not work anymore. Only "param1" and "param2" are evaluated on "myhost".
    Is there any workaround (except adding a dummy parameter after "param3") for this?
    Thanks,
    Marcus

    You should post your question in the Forum Comments forum,
    http://forums.adobe.com/index.jspa?view=discussions

  • Xfa.host.gotoURL : Mixed results using Acrobat Pro

    In my form, I've got a button that executes an xfa.host.gotoURL on the value of another field, which has a url (www.aetna.com). When you click the button, it simply executes:
    xfa.host.gotoURL(WebAddress.rawValue);
    It works fine in both designer and Reader, but in Acrobat Pro, it doesnt do anything. No errors, no status boxes, nothing. Has anyone else seen or experienced anything like this? Is there another way to popup a window/navigate to a website other than xfa.host.gotoURL?

    When you use Acrobat as a stand alone application, you will get this behavior.I think what happended is when you try to open a web page, HTML is being sent to Acrobat and it does not know what to do with it. If you want this to work to view the page you will have to use Acrobat inside of a browser. Now the browser recieves the HTML and knows how to interpret it.

  • HOST command not working

    Oracle AS Version 10.1.2.0.2, Oracle Forms Version 10.1.2.0.2, Windows XP.
    I am using HOST command to read a files from the directory (on the server). But HOST does not working. When i click the button to read the file, it just hangs on and no error on the console.
    Does host work on forms 10g?
    actually i was using client_host of webutil and its working fine. But it pick the directory from the client. Whereas i need to pick it from the server where AS is. That why i went for HOST command.
    Any suggestion.

    Hi,
    Try this.
    1. Create a batch file (which would first set the required variables as when you do the "set".)
    2. Add the following to the batch file.
    C:\javasoft10g\jre\bin\javaw -classpath C:\javasoft10g\jre\lib\rt.jar;C:\javasoft10g\paths;;C:\javasoft10g\paths\dusjava.jar; %1 %2 %3 %4 %5 %6 %7Save the batch file in some location (say c:\mybatchscript.bat).
    From forms, call it like
    host('cmd /c c:\mybatchscript.bat > c:\temp\testlog.log' );Now, does it work?
    -Arun
    P.S : Looks to me like, you are setting some variables (or calling another batch file - set , which sets up the variables). So, make sure you set all the required variables in the batch script itself.
    -Arun

  • Host Builtin Not Working in Linux

    I'm trying to convert a file using the linux command dos2unix through forms HOST builtin. I've set the path variable in the environment file to /usr/bin, where the dos2unix command resides. I've had no luck converting this file. I've also tried:
    host('/usr/bin/dos2unix file.txt');
    with no luck. If I log on as the same user that started the forms server and issue the dos2unix command through the terminal, the file is successfully converted.
    What else do I need to do to get the host builtin to work on Linux?

    You already have said the answer - the Forms server has been started with permissions that allow access to that file..if you are not logged in as that use you don't have the permissions to execute the file....
    Regards
    Grant Ronald

  • Standard Enhanced PCI to USB host Controller not working

    Plz help me its suck i can't find any driver for this USB port its suck all my usb ports are not working they not accepting any usb or some thing or intel managment interface also not working plz help me . Thankyou
    Us Device PCI
    Device PCI\VEN_8086&DEV_1E26&SUBSYS_17F8103C&REV_04\3&11583659&0&E8 was configured.
    Driver Name: usbport.inf
    Class GUID: {36FC9E60-C465-11CF-8056-444553540000}
    Driver Date: 06/21/2006
    Driver Version: 6.2.9200.16384
    Driver Provider: Microsoft
    Driver Section: EHCI.Dev.NT
    Driver Rank: 0xFF2005
    Matching Device ID: PCI\CC_0C0320
    Outranked Drivers:
    Device Updated: false
    Intel Mangagment interface
    Device PCI
    Device PCI\VEN_8086&DEV_1E3A&SUBSYS_17F8103C&REV_04\3&11583659&0&B0 was configured.
    Driver Name: null
    Class GUID: {00000000-0000-0000-0000-000000000000}
    Driver Date:
    Driver Version:
    Driver Provider:
    Driver Section:
    Driver Rank: 0x0
    Matching Device ID:
    Outranked Drivers:
    Device Updated: false

    What is the installed operating system?
    In which region of the world are you located?
    Try the following Intel Management Engine software
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ob-113870-1&cc=us&dlc=en&lc=en...
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • Xfa.layout.relayout(); not working properly on two of four fields

    I have a contract that can be signed by four different departments with multiple people able to sign. I have used a text field where the signer can enter their name and have that name appear under the signature line, with their title.  I have used xfa.layout.relayout();  in the script, named the text field and it's appropriate output floating field the same, used global data binding and yet when I open the form in Acrobat, two of the fields work perfectly and the other two are giving me an error that they are expecting an integer and are showing a "1" in the text field and in the floating field below.
    How can I fix this?

    Hi,
    I was thinking about your problem and I think there is a simpler way.
    At the moment you have two objects to achieve the effect, and a small script. You can achieve a similar effect by specifying a null pattern for a single textfield. You can add to the display pattern to cover when the user types in some data. eg null{}|text{}.
    The advantages include one field, user sees one place for action and is not trying to fill in the floating field, and no script.
    Here is an example (WIP): http://assure.ly/pZ5sOz.
    Good luck,
    Niall

  • Does GoToURL Not work in FireFox?

    Hello Everyone,
    I am building a site in frames and cannot get the navigation
    in one frame to load an HTML file into another frame using Go To
    URL. It works fine in IE but not in FireFox. I have changed the "on
    mouse down" to "on click" which seemed to work before but now it is
    not. Anybody heard of this or have a suggestion?
    Thanks in advance,
    Doug

    And why are you poking sticks in your eyes with Frames?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Alan Smithee Jr." <[email protected]> wrote in message
    news:ej0d6k$4a3$[email protected]..
    > Should work fine in Firefox.
    >
    >
    > <a href="#"
    >
    onClick="MM_goToURL('parent.frames[\'FrameName\']','bluepage.htm');return
    > document.MM_returnValue">blue page</a>
    >
    >
    >
    > But why are you using GoToURL? Why not just link to the
    file and target
    > the appropriate frame?
    >
    >
    >
    > <a href="redpage.htm" target="bottomFrame">red
    page</a>
    >

  • Issue with REST POST call: CopyTo in a SharePoint hosted App not working

    Hi Community
    I have been really struggling to get a cross domain copy to work both in an App or even using REST Tools such as Postman or Google Advanced REST Client. 
    Ok there are various blog posts by Scott G et al.  that shows how you can post say in a single domain.  Now that's fairly straight forward
    in my case I took a .apsx page and added the following lines of code - Checkin - refresh and great the file gets copied via  the document ready function
    (document).ready(function () {
    alert('ready!');
    var src = "/appsdev/Shared Documents/SrcDoc.docx";
    var dst = "/appsdev/Shared Documents/DestDocCopiedByRestTestASPXPage.docx";
    jQuery.ajax({
    type: "POST",
    contentType: "application/json;odata=verbose",
    headers: {
    "accept": "application/json;odata=verbose",
    "X-RequestDigest": jQuery("#__REQUESTDIGEST").val()
    url: _spPageContextInfo.webAbsoluteUrl + "/_api/web/getfilebyserverrelativeurl('" + src + "')/copyto(strnewurl='" + dst + "',boverwrite=true)",
    success: function (data, errorCode, errorMessage) {
    alert('Success: copied the damn file');
    var jsonObject = JSON.parse(data.body);
    var jsonObjectText = JSON.stringify(jsonObject);
    error: errorHandler
    Now I make the call in my SharePoint hosted App and I simple can' t  get this to work. Fiddler doesn't exactly help a lot
      var src = "/appsdev/Shared Documents/SrcDoc.docx";
      var dst = "/appsdev/Shared Documents/DestDocCopiedByMyApp.docx";
        var urlWriteLocalFileDebug = appweburl +
       "/_api/SP.AppContextSite(@target)/web/Getfilebyserverrelativeurl('" + src + "')/copyTo(strNewUrl='" + dst + "', bOverWrite=true)?@target='" + hostweburl + "'";
    executor.executeAsync(
    method: "POST",
    contentType: "application/json;odata=verbose",
    headers: {
    "accept": "application/json;odata=verbose",
    "X-RequestDigest": jQuery("#__REQUESTDIGEST").val()
    url: urlWriteLocalFileDebug,
    success: function (data, errorCode, errorMessage) {
    alert('Success: copied the damn file');
    var jsonObject = JSON.parse(data.body);
    var jsonObjectText = JSON.stringify(jsonObject);
    error: errorHandler
    I can happily run a GET and see the properties of my file but POST no way.   Curriously, when I try to run the same command for say Google Advanced Rest Client I get nowhere
    Is this a new mensa test!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 
    Freelance consultant

    Hi
    I have now tested against a trail Office  365 Developer site and I had to make a few adjustments
    - change the url
    - change the target to SharePoint Onlne
    - change the url 
    I still wasn't happy so I created a new SharePoint Hosted app and pointed at the above developer site.  I copied my CrossDomainExec.js and stripped all my code except my CopyItemInSameLIbrary method which hasn't changed since I created this post. 
    - changed the App Manifest permissions to Web -full Control ( was previously tenant)
    I still got errors which is really painful as you don't even see the POST request in Fiddler
    The URL used for my POST is as follows ( note host URL is fictitious)
    "https://myapphell-547d8061d39e38.sharepoint.com/sites/appsdev/RESTTestSHA/_api/SP.AppContextSite(@target)/web/Getfilebyserverrelativeurl('/sites/appsdev/Shared Documents/SrcDoc.docx')/copyTo(strNewUrl='/sites/appsdev/Shared Documents/DestDoc.docx', bOverWrite=true)?@target='https://myapphell.sharepoint.com/sites/appsdev'" String
    Ran the app a second time and now I see......Wow it WORKS!!!!!! ..Can't be true can it?
    .... next I will switch the target url to my on prem farm to see if this still works so watch this space!
    Daniel
    Freelance consultant

  • FTP from cRIO to host PC not working

    Hello,
    I have a VI that writes files to my cRIO 9074. I then need to get those files onto my PC. I want to do this running on cRIO (as opposed to from my computer) so that I can have a 'export file' button in the VI. I'm therefore using the 'Put File' FTP function, and have set up FileZilla as the FTP server on my PC, as delineated here: http://digital.ni.com/public.nsf/allkb/9A004CF5241​F3CB68625779E004EE159
    However, the file does not copy and I get an error message.
    Details and annotated screen captures below.
    Thank you for your help!
    Elizabeth
    I can do the reverse (running VI on computer, get or put files from/to the cRIO). However, I'd like to run this from the cRIO
    If there's a way to call a VI on the computer from a VI running on the cRIO, that's also an acceptable solution
    I can tell the cRIO is connected because I can access it via FTP from my computer
    I've set up the FTP server with the default server (127.0.0.1), and user LABVIEW with the appropriate home directory etc., with read/write permissions
    In the Put FIle VI, I have the host set as my computer's IP address, and the user again as LABVIEW
    The error code I get is Error 1: TCP Write in NI_InternetTK_FTP_VIs.lvlib:FTP Command.vi:6->NI_InternetTK_FTP_VIs.lvlib:FTP [QUIT].vi->NI_InternetTK_FTP_VIs.lvlib:FTP Close Session.vi:3->NI_InternetTK_FTP_VIs.lvlib:FTP Put Multiple Files and Buffers.vi:2->NI_InternetTK_FTP_VIs.lvlib:FTP Put File.vi:1->RIO_FileExport.vi
    Attachments:
    cRIO File Export FTP.jpg ‏310 KB

    Just a guess but try changing the active/passive setting. Have you tried FTPing to the PC from another PC? Does that work?
    CLA, LabVIEW Versions 2010-2013

  • Adobe Muse form with 3rd party host is not working

    I have uploaded a form with Adobe Muse to a 3rd party host.  Upon testing the link scripts/form_check.php, I see 3 green checkmarks.  Upon testing the form, the form appears to submit successfully, however I never receive the email.
    I checked with the hosting company and this is what they said:
    ...this form is using localhost smtp of webserver which was stopped due to spamming issues...actually, localhost doesn't have proper rDNS record and the return path for all mails is the server itself, so whenever a client uses its domain for spamming the server's mail queue gets choked and creates issues for others. So we generally do not open localhost smtp and recommend users to use proper SMTP Authentication so that each mail will be delivered and won't create issues for server even if someone does spamming because in that case all mails will bounce back to the mailbox.  So, we recommend you to use smtp authentication in the form and use proper smtp details to send mail.
    Please provide a recommendation on what I should do to resolve this?  Is there a way to modify the form so that it uses proper SMTP Authentication instead of Localhost?

    Hi
    Please refer to this document :
    https://forums.adobe.com/docs/DOC-3581
    Thanks,
    Sanjit

  • HOST command not working in forms 10g

    Hi,
    I have migrated forms 6i to forms 10g, and having a requirement to open sqlplus prompt using a form menu. I have used the below command: -
    "host('sqlplus '||user_name||'/'||pass||'@'||sid, no_screen);"
    But I am not able to get the sqlplus window, and the main form is still in process for long time, till i bounce the server.
    The forms are deployed on Oracle Applications Server 10g and i want to run it on server side.
    Please help me with the problem.
    Thanks,
    Ankit

    The deployment architecture is different between forms 10g and forms 6i.
    In Forms 6i HOST built-in command will run on the client machine since you are running as client/server, but in WebForms (Forms10g) the HOST built-in command will run on the middle tier which is your application server machine.
    In order to run hosts commands in WebForms you need to use webutil and use CLIENT_HOST in the webutil.
    check the [Forms 10g R2 Demo|http://download.oracle.com/otndocs/demos/Forms_Demos_10gr2.zip] for sample codes of webutil.
    You are using NO_SCREEN in your example, this will hide the window.
    Tony
    Edited by: Tony Garabedian on Nov 26, 2009 2:43 PM

  • Host command not working properly

    Hi,
    I am using oracle forms 10.1.2.0.2.
    In my form, I need to call a unix shell script.
    { Oracle forms will run on application server.
    Unix will run in a development server.
    (Both the servers are different)
    From forms, if I click a button, it should call the unix shell script in a specified path.
    Internally, the unix script will call oracle to generate a file.
    In the file, some manipulations are done using unix.
    After doing some manipulations, the file is stored in a specified path in the unix box. }
    To achieve the above, I did the below things.
    To execute a unix shell script from my oracle forms (10g),
    1) the below configuration i added in the webutil.cfg file
    install.syslib.0.user.1=ffisamp.dll|40960|1.0|true
    transfer.database.enabled=TRUE
    transfer.appsrv.enabled=TRUE
    transfer.appsrv.workAreaRoot=c:\temp
    transfer.appsrv.accessControl=TRUE
    #List transfer.appsrv.read.<n> directories
    transfer.appsrv.read.1=c:\temp
    #List transfer.appsrv.write.<n> directories
    transfer.appsrv.write.1=c:\temp
    2) I have attached webutil.pll library to my form
    3) I have subclassed object group from webutil.olb to my form.
    4) The host command i used is (these code are present in when-button-pressed trigger of a button)
    host('rsh selvas -l administrator sh <foldername>/if_csv.ksh',NO_SCREEN);
    if form_failure then
         emessage('hi selva');
    emessage(SQLERRM);
    else
         emessage('failure selva');
    end if;     
    when I click the button, I am getting the below messages,
    hi selva
    normal, successful completion
    Also, the script is not executing and it is not giving me the desired result.
    Can any one help me, where I am missing.
    Thanks,
    Selvaraj

    hi steve,
    Thanks for your response
    after the host command i added like this
    host.....;
    pause;
    if form_failure then
         emessage('hi selva');
    else
         emessage('failure selva');
    end if;     
    when I executed,
    I got the below messages
    PLEASE ACKNOWLEDGE
    -- when i clicked ok,
    it showed me failure selva
    but still the shell script has not executed.
    Note:
    In /tmp directory, no log files are available.
    Can you plz help
    thanks,
    selvaraj

Maybe you are looking for

  • Imac wont boot, stuck loading, all i see is apple logo and spinning cycle

    My 27 inch iMac wont boot, i am runnign snow leopard. I just see the apple sign and the cycle spinning meaning its still loading. I cant use disk utility because leopard install disc wont boot, also i cant run any commands in single user mode, doing

  • Delete item from Purchase Order

    Dear All, I want to cancel line item from Purchase Order. But  i am unable to do it as i have already made advance payment against PO/Item. Actually advance payment was against another Item of PO but by mistake selected wrong item while f-47. Now i w

  • Loss of quality of photos when I import

    Hi all, I'm wondering 1) why my photos suddenly look so bad when I import them from iPhoto to iMovie. I haven't had this problem before. And 2) I've noticed that when I import a photo, suddenly my trash increases by 117 KB and if I view the trash, I

  • Why is my ABP not blocking all advertising?

    why is adblock plus not stopping the adds? == This happened == Every time Firefox opened == imeadetly after downloading ABP

  • Java sleep on startup 12minutes

    Hi to all. There is a desktop application that run with JVM 1.6.0_b02 that during startup slept about 12minutes. The pc is based on Windows XP PRO Sp2, centrino solo 1.6GH, 1GB ram. Whith ProcessMonitor I see this info: 2005452     8.52.37,2115016