Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13

Thread: Go To URL

  1. #1

    Go To URL

    I am trying to automatically connect to an external web page when a fix / inspect form loads. I build a dynamic URL in the post initialization event and execute a push button event that runs the go to URL function. Everything seems to work except the go to url, it either doesn't execute or it errors out (not sure which). If I manually press the button when the form is finished loading the external connection works fine. I there some other event that I should be using or is this just not possible ?

  2. #2
    Senior Member Larry_Jones's Avatar
    Join Date
    Nov 2000
    Location
    Spokane, WA, USA
    Posts
    3,183
    Bill,

    My implementation is a probably more complicated than what you have but the outlines are the same.
    I've had issues over the years/releases with the GoTo URL sometimes being sensitive about where it's executed from.
    I think I first used it in a Post Dialog Initialized event and it worked fine until the next major release came along and I had to move the actual call to GoTo URL to a pushbutton. At some point I think that had issues and now the push button invokes a Form/Row exit to call the GoTo URL.

    Net, net when you finally find the right combination its solid until the next major release, but finding the right combo can be frustrating.
    Larry Jones
    E1 9.1 - TR 9.1.5 on Win 2012 R2. Oracle DB 11.2.04
    Wintel, BI Publisher

    Migrating to JDE 9.2 (TR 9.2.2.4) and SQL Server 2016

  3. #3
    Senior Member johndanter's Avatar
    Join Date
    Sep 2003
    Location
    Cork, Ireland
    Posts
    1,313
    Goto URL works for me when coded into Post Dialog is Initialised on my FAT client NOT on thin
    Go to URL("www.bbc.co.uk")

    Use B34A1030 Call External Program and pass in
    iexplore.exe www.bbc.co.uk

    That works on both FAT and Thin
    Last edited by johndanter; 01-30-2018 at 04:28 AM.
    John Danter
    You don't go out looking for a job dressed like that do you, on a weekday?

    E900 TR 9.1.5.3 Unix

  4. #4
    Senior Member Larry_Jones's Avatar
    Join Date
    Nov 2000
    Location
    Spokane, WA, USA
    Posts
    3,183
    John,

    Won't B34A1030 attempt to execute on the server in a web environment?
    Larry Jones
    E1 9.1 - TR 9.1.5 on Win 2012 R2. Oracle DB 11.2.04
    Wintel, BI Publisher

    Migrating to JDE 9.2 (TR 9.2.2.4) and SQL Server 2016

  5. #5
    Senior Member johndanter's Avatar
    Join Date
    Sep 2003
    Location
    Cork, Ireland
    Posts
    1,313
    I don't know but that's a good point if iexplore isn't installed there
    John Danter
    You don't go out looking for a job dressed like that do you, on a weekday?

    E900 TR 9.1.5.3 Unix

  6. #6
    Because our db server is an iseries call external program will not work on the web. For now we are presenting the users with a window with one button on it to connect to the URL. Hopefully, Go To URL will be stabilized at some point so that it can be used in the way that we want without a tools upgrade breaking it.

  7. #7
    Senior Member
    Join Date
    Mar 2004
    Location
    Fort Worth, Texas
    Posts
    1,502
    Quote Originally Posted by johndanter View Post
    I don't know but that's a good point if iexplore isn't installed there
    The point is that it would be running on a server, forget if IE is installed there or not. You want the system function goto url to effectively render client side in the clients browser. We have used goto url in several places and never had any issues although not sure we ever did this on from initialization, it probably was a button the user pressed after the form was loaded in all situations.
    Brian Oster
    Application Development Manager
    E1: 9.0 (TR9.1.5.1) / 9.2 (TR9.2.2.2)
    JAS/BSSV: Weblogic 12.1.2 / Weblogic 12.2
    ES: Win2008 / Win2016
    DB: MSSQL 2014 / 2016
    WebDev Client: Win7Pro / Win10Pro

  8. #8
    New Member Olavo Henrique Dias's Avatar
    Join Date
    Nov 2004
    Location
    Brigham City, UT, USA
    Posts
    40
    Hi billscros.
    What exactly are you trying to accomplish?

    Some time ago I needed to create a Fix Inspect that would show an image of the item we were opening. I accomplished that doing the following:
    - Created a Fix Inspect Form
    - Added a Media Object Control to it
    - On "Post Dialog Is Initialized", I added three function calls: (I actually wrapped it inside a button, but did call the Press Button from Post Dialog Is Initialized).

    0001 //
    0002 Hide the Viewer Icon Panel(FC Media Object 13, <Yes>)
    0003 Delete Item(FC Media Object 13, <First Text Item>)
    0004 Insert URL(FC Media Object 13, <Blank>, "[Enter the URL or assign a Variable with the Dynamic URL]")

    That would load the contents of the URL on the Media Object control. Not sure if this is what you need to do, it will not for sure open another browser page, but depending on what you trying to do that could be useful.

  9. #9
    Senior Member Larry_Jones's Avatar
    Join Date
    Nov 2000
    Location
    Spokane, WA, USA
    Posts
    3,183
    Bill, ... what ARE your JDE and Tools Release versions ...???
    Larry Jones
    E1 9.1 - TR 9.1.5 on Win 2012 R2. Oracle DB 11.2.04
    Wintel, BI Publisher

    Migrating to JDE 9.2 (TR 9.2.2.4) and SQL Server 2016

  10. #10
    Senior Member Larry_Jones's Avatar
    Join Date
    Nov 2000
    Location
    Spokane, WA, USA
    Posts
    3,183
    One more question Bill,

    what field values are you referencing when you build your URL?
    FC, FI, BC, ...?
    Larry Jones
    E1 9.1 - TR 9.1.5 on Win 2012 R2. Oracle DB 11.2.04
    Wintel, BI Publisher

    Migrating to JDE 9.2 (TR 9.2.2.4) and SQL Server 2016

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
The legal restrictions and terms of use applicable to this site are available here.
Use of this site signifies your agreement to the terms of use.
JDELIST is NOT affiliated with JD Edwards® & Company, Oracle or Peoplesoft. Contents of this site are neither endorsed nor approved by JD Edwards® & Company and, or Oracle.