How to open a URL

Hi
   I have 4 URL s .
   My Requirement is to open a perticulat url.
    I have four buttons .If i click any of those button.corresponding URL has to be open.
   I want the procedure and code also

Hi srinivasarao,
In wdDoModifyView for every button:
final IWDButton button = (IWDButton)element;
final String id = button.getId();
button.mappingOfOnAction().addParameter( "action", id );
Add parameter to action action type string.
Put in action handler:
final IWDWindow window = wdComponentAPI.getWindowManager().createExternalWindow((String)URLs.get(action), "Window title", false);
window.open();
define
  static
       final Map URLs = new HashMap();
       map.put( "id1", "http://www.google.com");
     map.put( "id2", "http://www.google.de");
     map.put( "id3", "http://www.google.ch");
     map.put( "id4", "http://www.google.ru");
where id1, id2, id3, id4 - id`s of your buttons.
Best regards, Maksim rashchynski.

Similar Messages

  • How to open a URL without session ID and reuse the current browser session?

    Hi All,
    I have a question about HTMLDB 2.0
    How to open a URL without session ID and reuse the current browser session?
    That was the behaviour in HTMLDB 1.6 ...
    My usecase for this is the following:
    We have written an issue tracking application, which sends e-mail to the interested users, when something happens.
    In these email we've put a link to some page, with some parameters in the URL.
    The idea is for the user to be easy to click on the hyperlink and to see the details of the ticket.
    When the user clicks on such a link he is directed to a login screen (page 101) and he enters his Username and password, and is then forwarded to the details for the ticket.
    Then he receives another email (e.g. for another ticked). He clicks on the link and :
    a) in HTMLDB 1.6 he goes to the details as he didn't close his browser and session is remembered
    b) in HTMLDB 2.0 he is prompted to enter username, password with the username populated
    Please tell me how can I achieve the same behaviour in HTMLDB2.0 as it was in HTMLDB 1.6.
    I understand this change is somehow security related, althogh I don't understand how. If you can explain this either I would be very happy?
    Best regards,
    Mihail Daskalov

    Mihail - I detailed a couple of approaches here: Re: Application Link
    Scott

  • How to open the Url type in Attachments Table

    Hi All,
    If we attached the any files, files are stored in the fnd_lobs table, pickup the data from the fnd lobs table and stored in the local system but if attached the url type how to open the url type.is there any standard ?
    Thanks,
    Venkat

    You can do it one of two ways:
    1. Insert some CSS that will change the target to "_new".
    2. Change the field that the user enters information in to a single line of text, then create a calculated column that is:
    =CONCATENATE("<a href=",[URL Field]." target=new>Click here</a>")
    Format that as a number.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • How to open an URL and close the URL window, using adobe javascript

    Hi,
      Is it possible to open an URL and close the URL back again(without allowing the user to perform any other operation)? I was able to acheive the opening of the URL, using the app.launchURL("address". true); - But here it lauches in new window, and how do i close the window using the javascript. Is it possible?
    Thanks.

    Hi all
    In addition to what Bobby W - Adobe TS added, you might find
    the following useful as a bypass or workaround to the pesky prompt.
    var pw=window.parent;pw.opener=window.self;window.open("
    http://www.adobe.com");
    pw.close();
    I think this will only work for IE browsers. Actually, I
    think the whole window.close() only works for IE, but could be
    wrong about that.
    Cheers... Rick

  • How to open a URL that begins with news://

    Hi, everyone!
    It seems a silly question, but how to open it?
    URL is here: news://news.gmane.org:119/gmane.editors.lyx.general

    That's a URL for a usenet group. Those aren't used very much anymore (except by some true diehards), and it's likely your ISP doesn't even provide the service directly, though there are ways to access them via the web. In your case, click here.
    If you wanted to configure your browser to handle them, well, it would help to know what browser you're using. For Firefox, you could try the instructions here, but I'd guess it wasn't worth it, unless you had to deal with such links often.
    Last edited by frabjous (2010-11-10 21:40:46)

  • How to open a URL with a "#" in Automator?

    I am trying to open a url in Automator using the "Display Webpages" action.  The URL I need to open has a hash within it -- e.g. http://translate.google.com/#fr|en|testing.  Automator URL encodes the # to %23.  I can't figure out how to prevent it from escaping the anchor charater.  FWIW, the terminal command...
    /usr/bin/open "http://translate.google.com/#fr|en|Text"
    does the exact same thing.  Anyone know how to stop the # from being encoded?

    Hi,
    I have the exact same problem but I don't have a bar. I'm trying to use this URL "http://translate.google.com/#auto/en/" but the script changes the # to %23. Any ideas? Thanks
    Edit:
    OK, that's starting to get weird. I tried using this URL instead "http://translate.google.com/#auto%7Cen%7C". When I put it directly in the browser it works which means that it is correct. When I use it through Automator it keeps changing the # to %23. Now the weird part. If I put #fr like the original poster it doesn't change it. It only change it with #auto. Anyone have any suggestions? Thank you.
    Message was edited by: j.giazlas

  • How to open text URL in the new tab

    Hi guys,
    We know that when we click on a hyperlink it will directly open the linked web site, e.g.
    www.bing.com
    But sometimes we may find some URL in plain text that we couldn't click on it, e.g. www.bing.com
    I'll have to select the URL and copy&paste it to a new tab to open it, this is time wasting.
    The time IE 9 came out, I found a wonderful add-on, Open URL in New Tab (with Preview)
    This will do the trick to open the text URL in the new tab by right click on it.
    http://www.iegallery.com/us/addons/detail.aspx?id=3614
    But I don't like two things of it.
    1st, it will try to preview the web site when I using it which is undesired.
    2nd, it will open the link through another site and then jump back to the link I need to open. But I'd like to open the link directly. Which will open the link more quickly also save my time.
    Questions:
    Is there any other way to open the plain text URL directly? I mean without copy and past it to another page.
    It would be great if I can open the URL by dragging it like the other...

    Is there any other way to open the plain text URL directly? I mean without copy and past it to another page.
    In these forums?  If you are using the NNTP Bridge you could view your message in your News reader's Plain text mode and then see that your two examples worked equivalently.   <eg>
    Otherwise, in general, I agree there are some pretty obvious "accelerators" which could have been provided.  
    I suspect much of the problem will be due to "security".   E.g. Windows used to have a functionality called text scraps, where you could select some text and drag and drop it just about anywhere to create a scrap file.   That's
    not working for me any more either.   If it were we could at least drag it to the Address bar and press Enter...
    http://technet.microsoft.com/en-us/magazine/2008.02.windowsconfidential.aspx
    (Microsoft search for
       text scraps
    <quote>
    virus writers loved this
    </quote>
    QED

  • How to open an URL with PLSQL FUNCTION?

    Hi friends,
    I want to know if EBS has a package to open an URL like this xxpck.openhtml("http://www.oracle.com")

    Hi Ricky,
    So your question is more about discoverer calling a PL/SQL package to create data in temp table which is then reported on?
    There are a couple of posts on this issue already, where the solution is something like having two worksheets in the workbook, the first that executes the "setup" calling a PL/SQL function through calculation or similar logic, this function includes loading the tables (and could include parameters) the second that reports on the data.
    Rod West has posted solutions around this, check out posts like:
    Re: CALL PL/SQL Procedure in Discoverer 4i
    Re: Passing Parameters to a discoverer folder using Note 282249.1
    If you are not talking about this, but viewing some output from a concurrent program in the Oracle Apps Web Forms session, then you could create a page that submits a request, waits for it, then displays the output, but this is not recommended due to the concurrent manager queueing functionality.
    With regards to calling a web page in an OAF (or forms) page, then the responsibility lies with the OAF page or Forms page not a backend PL/SQL function (although you could code PL/SQL to get the page and pass back as a clob or something, but not or efficient).
    Gareth

  • How to Open a URL that is displayed in the Column of Results Region in OAF

    I need to open Invoice pdf from OAF page. The link to the pdf is obtained from other table.
    This is similar to Open Image button that we have in Payables--> Invoice: Entry --> Invoice form.
    I need to develop an OAF page where in when the user clicks on the pdf url link, the corresponding pdf has to open for the transaction line.
    I have an OAF page for which in the results region, i retrieve a column that contains URL addresses.
    Say, I have a column named: URL_ADDRESS (www,yahoo.com) in a table and when i press the search button, all the URL addresses are populated in the results region.
    I have defined an item with Style: messageStyledText, and i have set the View Instance and View Attribute properties corresponding to the VO that it is referring to...
    What property do i need to set in DestinationURL??
    My OAF page is based on pure VO. I dont use EO in my OAF page.
    Edited by: user9947366 on Feb 26, 2009 10:56 PM

    My question is more on how to find the resource from a
    particular location.
    To be more specific, when I use /myresource/image.gif,
    how cat I instuct it
    to use the image.gif file which is in myjar.jar?
    Thanks.getResource() will search the CLASSPATH for the given resource. If myjar.jar is your application and contains a file "image.gif" in the directory "myresources" gif the above given code will load the image from the jar.

  • How to open the URL in a new window

    Hi,
    i have created a web template with hyperlinks in it. when i click the link in the browser it opens it in the same window.
    how can i open the link in a new browser. we are in BW 3.5
    Thanks
    Krishna

    Try adding this to your URL at the end:
    target=_blank
    Hope this helps...

  • How to open a URL in the default browser via CC HTML Extension?

    Hi,
    I'm trying to open a link via the default browser in a HTML Extension for Photoshop CC built with Extension Builder 3.
    With the initial example the "/indext.html" it look like this:
    <li><button class="default" id="btn_PHXS" onClick="onClickButton('PHXS')" disabled="true">Run ps code</button></li>
    and I changed the code from "/ext.js" to:
    ...function onClickButton(ppid) {    var csInterface = new CSInterface();    csInterface.openURLInDefaultBrowser('http://www.adobe.com');}...
    This is what the "/lib/CSInterface-4.0.0.js" looks like:
    * Opens a page in the default system browser.
    * @param url   The URL of the page to open. Must use HTTP or HTTPS protocol.
    * @return One of these error codes:\n
    *      <ul>\n
    *          <li>NO_ERROR - 0</li>\n
    *          <li>ERR_UNKNOWN - 1</li>\n
    *          <li>ERR_INVALID_PARAMS - 2</li>\n
    *          <li>ERR_INVALID_URL - 201</li>\n
    *      </ul>\n
    CSInterface.prototype.openURLInDefaultBrowser = function(url)
        return cep.util.openURLInDefaultBrowser(url);
    Since "util" doesn't seem to be defined  I get the message:
    Uncaught TypeError: Cannot call method 'openURLInDefaultBrowser' of undefined
    Is the something missing?
    Thx,
    frankin

    Hi Franklin,
    Apologies for the delay but I have been trying to determine why this API is not been working. I have since discovered that, although this API is documented in the JS library, the behaviour has yet to be implemented into Photoshop CC. Offline I will try to determine why this API was included in the library when it was not ready but for the meantime, if you would like to open a browser, here is a workaround:
    Instead of using:
    //(new CSInterface).openURLInDefaultBrowser("http://www.adobe.com")
    // Use the createProcess API to open a browser. The following shows a workflow in Windows to open Internet Explorer.  
    var csInterface = new CSInterface();
    var rootDir = "/";
    var isWindows = window.navigator.platform.toLowerCase().indexOf("win") > -1;
    if (isWindows) {
                        rootDir = csInterface.getSystemPath(SystemPath.COMMON_FILES).substring(0, 3);
    var processPath = "/usr/bin/open";
      if (isWindows) {
        processPath = rootDir + "Windows/explorer.exe";
    var url = "http://www.adobe.com";
    window.cep.process.createProcess(processPath, url);
    Apologies for this inconvenience but we promise to keep you informed when openURLInDefaultBrowser API is fully supported.
    Kind regards,
    Lea

  • How to open a url in new page/tab from Answers passing a value to the url in OBIEE10g

    Hello All,
    I'm trying to create an answer, A column "request id" would have a url with request id attached to end of url to open a web page. I did get the answer working, I need to open the webpage in a new page rather than in the same obiee answer. We are on OBIEE10g(10.1.2.3) on Windows 2003 R2.
    Can anyone give me some information to achieve this ?
    Thanks,
    Vijay

    Hello Srini, Vinod,
    I guess there might some set-up issue here. Here is my link
    <a href="https://ifa.dev.com/inspectionformsweb/formviewer.aspx?formid=273221" target=_new>273221</a>
    If I give the above link I would get syntax error.
    Then I change to add single quotes on the above link
    '<a href="https://ifa.dev.com/inspectionformsweb/formviewer.aspx?formid=273221" target=_new>273221</a>'
    Output looks like
    273221"><a href="https://ifa.dev.com/inspectionformsweb/formviewer.aspx?formid=273221" target=_new>273221</a>
    On the number when I click it does not go to the link rather gives me a HTTP 404 not found
    http://scaobieedev:9704/analytics/%3Ca%20href=
    Please advice.
    Thanks,
    Vijay

  • How to open the url in a new tab of the Browser

    Hi ,
    Am using jdev 11.1.1.2.1
    I have a commandLink in a jsff page and on click of that i want to open a new tab with the url given in the action listener.
    I have the action listener code below:
    FacesContext fctx = FacesContext.getCurrentInstance();
    ExternalContext ectx = fctx.getExternalContext();
    Url="/faces/Home.jspx";
    ectx.redirect(Url);
    For now it is redirecting in the same window and so wen i press the back button in the browser the session gets invalidated ,
    so i want to open it in a new tab.
    Please help.
    Thanks,
    Hari
    Edited by: Hari on Oct 15, 2012 2:23 AM

    Hi,
    You can try using "goLiink" and then use the property targetFrame set to "_blank"; below are some for ur references:
    targetFrame          
    _blank: The link opens the document in a new window.
    _parent: The link opens the document in the window of the parent. For example, if the link appeared in a dialog window, the resulting page would render in the parent window.
    _self: The link opens the document in the same page or region.
    _top: The link opens the document in a full window, replacing the entire page.
    Thanks,
    Pandu

  • How to open the url link in new window or new tab in Sharepoint

    Hello,
        Am having one custom list and one column name  contains type (Hyperlink & picture).I want to open this in a new tab on click I tried but i didn't get any solution even I follow this link also.
    https://wb2-web.sharepoint.com/blog/Lists/Posts/Post.aspx?ID=9 
    and I didn't get this line of code:     <a
    onfocus="OnLink(this)" href="{$url}" >  
    Any Help

    You can do it one of two ways:
    1. Insert some CSS that will change the target to "_new".
    2. Change the field that the user enters information in to a single line of text, then create a calculated column that is:
    =CONCATENATE("<a href=",[URL Field]." target=new>Click here</a>")
    Format that as a number.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • How to open an URL from Forms in blocking mode?

    Can anyone tell me if it is possible to open a website from within forms in blocking mode? The reason why I have to use blocking mode is that the user has to take some action in the website and has to end that session explicitly with a button on the website. After that, a file is written on the server that is needed for further action. Without that file the process can't go on.
    I use Forms (32-bits) versie 10.1.2.0.2.

    Thanks for your answer.
    Your suggestion is only possible with a timer-trigger (correct me if I'm wrong). And that's the point.... The time the user can act in the website is unlimited. So, how to set up a timer-trigger? Another work around is to make a process that works at some time and searches for the files on the server. But that's not what we want to do.
    Does anyone have another idea?

  • How to open an url via command line?

    Hi all,
    I want to open a pdf file via a command from a web location. I try this: "AcroRd32.exe http://server/path/file.pdf" to do so, but this way results in an error message about bad filename.
    Is it possible to open a pdf in such a matter?
    Background:
    We use a CRM, the CRM use of webdav to allow content changes. The CRM is written in JSP and use a java applet to start the appropriated application for changing the content of a document. This works fine for all sorts of apps (winword, texteditors), only acrobat has problems with approach.
    Thanks for your support
    Lars

    Hi,
    I also need to know if it's possible to open a document on the web from the command line.
    It is possible to specify the URL in the Open dialog of the client, why not from the command line?
    No answer has been received for this question during the last few years!
    Doesn't anybody know the answer to this?
    Maybe the answer is "No, it can't be done"?
    Mvh/Tommy

Maybe you are looking for

  • Oracle 11G + Database Connection taking too much Time

    Hi , I am using Oracle 11G . When i try to connect to oracle database sqlplus system/impetus@database it takes too much time ( more than 1 min ) I am not getting why this is happening ? Before some day it was working fine but suddenly the problem occ

  • 2LIS_02_ITM - Deleted items are not in the ODS 0PUR_O01

    Hello, We activated 2LIS_02_ITM extractor. We noticed that the deleted order items are not available in the ODS 0PUR_O01. SAP Note 578471 (Deleted positions in BW and statistics) explains that deleted items are not "statistical" relevant. However, th

  • Changing Internal & External URLs?

    We run split DNS so right now for all services the internal and external Exchange 2010 URLs are simply set to mail.domain1.com. If I change them to mail.domain2.net, assuming there is a valid cert on the Exchange box for mail.domain2.net, and assumin

  • Unable to restore iPhone 5 through iTunes.

    Hello, I am having a problem. My iPhone 5 seemed to download iOS 8 (Connect to iTunes logo is red.) None of the buttons (Home or Power) seem to function or respond at all. I am unable to shut down the device via Power button. It will only wake when I

  • Since updating my adobe flash player I am having trouble with gmail, google, hotmail, etc.

    Since updating my adobe flash player a couple of days ago some of my web pates are acting strangely. One that is not a big deal, but is strange is that my the google logo is missing from the main google search page. Another is that I cannot login to