Alpha Video Training
Results 1 to 5 of 5

Thread: Open external Website in Tabbed UI

  1. #1
    Member
    Real Name
    Alan Sawyer
    Join Date
    Apr 2006
    Location
    western New York (rural)
    Posts
    269

    Default Open external Website in Tabbed UI

    I am trying to open a specific external website in the tabbed ui. I want the website to appear in a tab in the tabbed ui, not as a new tab in the browser.

    I have filled out the URL value.

    I was able to have it open in a new browser tab by doing inline JS and doing a window.open with the '_blank' parameter, but in this case I want it to be in the actual tabbed UI.

    I have in the past opened a couple URL's in the tabbed ui but this particular one seems to be an issue and I'm not sure what's going on?

    Alan

  2. #2
    Member
    Real Name
    Alan Sawyer
    Join Date
    Apr 2006
    Location
    western New York (rural)
    Posts
    269

    Default Re: Open external Website in Tabbed UI

    I was able to get this to work. I was having an issue where the site wouldn't allow iframes.

    Now that I've resolved that and it works, I need to pass a session variable as a parameter on the url.

    Right now I have the url without the parameter in the URL field for the external page. Do I have to do something different such as some form of Windows.Open or something after adding the parameter to a JS variable?

    Bit confused so any help would be appreciated.

    Looks like I put this in the wrong forum group. I am using Alpha Anywhere. Sorry, if someone can move it I would appreciate it.

  3. #3
    Member
    Real Name
    Alan Sawyer
    Join Date
    Apr 2006
    Location
    western New York (rural)
    Posts
    269

    Default Re: Open external Website in Tabbed UI

    https://documentation.alphasoftware....ered%20URL.xml

    I was trying to see if I could use some technique like this but I don't understand if the tabbedui button has a component name value that I can grab....

  4. #4
    Member
    Real Name
    Alan Sawyer
    Join Date
    Apr 2006
    Location
    western New York (rural)
    Posts
    269

    Default Re: Open external Website in Tabbed UI

    https://forum.alphasoftware.com/arch...?t-113078.html

    Don't understand this one as far as how to get the JS code?? or XBasic(?).. If I could get the OnClick JS code that opens the URL I could probably alter the URL which is what I need. Anyone here understand how to do this?

  5. #5
    Member
    Real Name
    Alan Sawyer
    Join Date
    Apr 2006
    Location
    western New York (rural)
    Posts
    269

    Default Re: Open external Website in Tabbed UI

    Selwyn was kind enough to take the time to answer.

    you tabbed ui button need to make an ajax callback

    the ajax callback calls an xbasic function
    your xbasic function needs to compute some javascript to send back the the browser

    here is what the javascript open a new pane in the tabbed UI should look like

    tbiObj.add({title: 'title for the new pane', type: 'url', url: 'url for the new pane' , autoRefresh: false });


    your xbasic code can easily compute the "url for the new pane" based on the session variable.

Similar Threads

  1. Accessing A5v9 database from external website
    By den1s in forum Application Server Version 9 - Web/Browser Applications
    Replies: 0
    Last Post: 02-18-2018, 06:50 AM
  2. Displaying an external web page in a tabbed UI pane
    By jstahl1970 in forum Windows Desktop Applications
    Replies: 1
    Last Post: 02-01-2016, 07:47 PM
  3. Tabbed UI Builder: external web page
    By pja67 in forum Application Server Version 10 - Web/Browser Applications
    Replies: 1
    Last Post: 06-24-2010, 12:08 PM
  4. how to call data from external website
    By ikrick in forum Application Server Version 8
    Replies: 0
    Last Post: 12-15-2009, 11:47 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •