Open a WWW URL from WAD Button

Hi
   How do I enable a Button or a Link to open a external website say Google / Cnn.com from a Web Template ?
   Please assist

Hi.
You can just insert HTML code in web template.
In such code write:
<a href="www.google.com">Google Site</a>
Regards.

Similar Messages

  • Open a crystal report from WAD with passing  the variables values

    Hi,
    I need to know is there any way to link SAP WAD to crystal reports (open a crystal report from WAD)and pass the values of the variables which are entered in the Web App. (e.g. Customer id,year) should be passed to the Crystal Report.
    Maybe we need to pass parameter by WAD URL but this is just my assumption and have no idea how to do this with passing variable values.
    right now I know the method of how Bex queries which are used as data source for crystal reports but in my current scenario we have the structure like this that bex queries link with WAD and then WAD is linked with crystal reports.
    No doubt that Crystal report is target option in RRI but there the source is Bex Query only but in current scenario we are looking  WAD (web template) as a source to crystal report or crystal report called in WAD.
    Please suggest something on same.
    Thanks
    Take care
    Vishal sharma

    Hello Vishal.
    Did you find a solution for this problem?
    I'm facing right now the same problem, I need a way to link SAP WAD to crystal reports (open a crystal report from WAD) and pass the values of the variables which are entered in the Web App. (e.g. Customer id,year) should be passed to the Crystal Report.
    Have found an answer to this issue? If yes, please kindly inform how have you solved this.
    Best Regars
    Armando Santos

  • Open a Dynamic URL from a Table column link

    Hi,
    Jdev Version (11.1.1.6.0)
    I have requirement to open a dynamic URL from table column. Any time I click on link, it should generate dynamic URL based on column attribute and open in popup or browser. Can someone pls suggest how to achieve this.
    Thanks
    Ank

    1)If you have any parameters that needs to be passed to build that dynamicURL, just set a propertyListener on the column attribute and get the value.
    2)Then on the af:commandLink action, build your dynamicURL with the required parameters.
    3) If you URL is all together a different application which doesn't share your transaction, you can open it as below
    In the below code, urlWithParams will be your dynamicURL.
    ExtendedRenderKitService erks =
    Service.getRenderKitService(facesContext, ExtendedRenderKitService.class);
    StringBuilder sbURL = new StringBuilder();
    sbURL.append("window.open(\"" + urlWithParams + "\");");
    erks.addScript(facesContext, sbURL.toString());
    You can also try the above response by user 948181.
    Hope it helps.

  • Opening an external URL from the Web UI

    Hello,
    I want to use the Web UI in order to open an external URL.
    I know it can be done easily using JavaScript, but the URL is generated from one of the page controller methods, and I want to open it directly from there.
    I know that there's the Window Manager in the Component Controller, that can open popup windows, but none of it's methods receive an external URL.
    So how can I open an external URL from the Web UI methods?
    Thanks,
    Udi.

    Hi,
    you can use the Trnsaction launcher with OP.
    in the window you create an OP_X
    with the code
      data: lv_navigation type ref to     if_crm_ui_navigation_service.
      lv_navigation = cl_crm_ui_navigation_service=>get_instance( me ).
      lv_navigation->navigate( iv_link_id = 'ZTO_X' ). "runtime you create the TO_X nevigation"
    in your implamentation class of the view you add a preotected method OP_TO_X with the code
       data:
        lr_window type ref to cl_bsp_wd_window.
      lr_window = me->view_manager->get_window_controller( ).
      lr_window->call_outbound_plug( iv_outbound_plug = 'TO_X'
                                     iv_data_collection = iv_data_collection ).
    and you call to that method from the EVENT_HANDLER you want.
    Amit.

  • To open an external URL from your application

    Hello All,
    Please guide me in below scenario as I am new to SAP UI5.
    I have created a SHELL application with 5 tabs.
    We have a requirement where on clicking of a tab in the application it should open an external url. I am using "link" element of sap.ui.commons library. On press of link to action function I am using below code to open external url content.
    location.href = "http://google.com";  
    It is opening in the same tab but I have been navigated away from my application.
    As per the requirement external url content should be opened  without navigating away from my application.
    I am attaching the screenshot.
    Thanks
    Ansuman

    Hi Jagadeesh,
    See this code for reference.
    This is my view.
    sap.ui.jsview("demo.view1", {
           /** Specifies the Controller belonging to this View.
           * In the case that it is not implemented, or that "null" is returned, this View does not have a Controller.
           * @memberOf demo.view1
           getControllerName : function() {
                  return "demo.view1";
           /** Is initially called once after the Controller has been instantiated. It is the place where the UI is constructed.
           * Since the Controller is given to this method, its event handlers can be attached right away.
           * @memberOf demo.view1
           createContent : function(oController) {        
                         var btn1 = new sap.ui.commons.Button({
                               text: "This Is View One."
                         var link = new sap.ui.commons.Link({
                               text: "view3",
                          press : function() {                          
                                $("#frameId").slideDown();                                 
                         var iframe = new sap.ui.core.HTML("frameId",{
                          content : "<iframe src=" + 'http://www.jnvbuxaralumni.com' +" width='100%' height='700px'></iframe>",
                         var ele = [btn1, link, iframe];
                         return ele;         
    This is my controller.
    sap.ui.controller("demo.view1", {
           onAfterRendering: function() {
                  $("#frameId").hide();
    This is my index.html.
    <!DOCTYPE HTML>
    <html>
           <head>
                  <meta http-equiv="X-UA-Compatible" content="IE=edge">
                  <meta http-equiv='Content-Type' content='text/html;charset=UTF-8'/>
                  <script src="resources/sap-ui-core.js"
                               id="sap-ui-bootstrap"
                               data-sap-ui-libs="sap.ui.commons,sap.ui.ux3"
                               data-sap-ui-theme="sap_bluecrystal">
                  </script>
                  <!-- add sap.ui.table,sap.ui.ux3 and/or other libraries to 'data-sap-ui-libs' if required -->
                  <script>
                               sap.ui.localResources("demo");
                               //jQuery.sap.require("sap.ui.core.routing.Router");
                               //jQuery.sap.require("sap.ui.core.routing.HashChanger");
                               var oShell = sap.ui.ux3.Shell("shellId",{
                                      appTitle: "Shell Demo Program",
                                      showLogoutButton: false,
                                      showSearchTool: false,
                                      worksetItems: [
                                             new sap.ui.ux3.NavigationItem("homeId", {
                                                    key: "view1",
                                                    text: "Home"
                                             new sap.ui.ux3.NavigationItem("contactUsId", {
                                                    key: "view2",
                                                    text: "Contact Us"
                                      worksetItemSelected: function(e){
                                             this.removeAllContent();
                                             var selected = e.getParameter("key");
                                             var view = sap.ui.getCore().byId(selected);
                                             //console.log(selected);
                                             if( view == undefined){
                                                    view = new sap.ui.view({
                                                           id: selected,
                                                           viewName: "demo." + selected,
                                                           type: sap.ui.core.mvc.ViewType.JS
                                             this.addContent(view);
                                      content: [
                                                    new sap.ui.view({
                                                           id: "viewId1",
                                                           viewName: "demo.view1",
                                                           type: sap.ui.core.mvc.ViewType.JS
                               oShell.placeAt("content");
                  </script>
           </head>
           <body class="sapUiBody" role="application">
                  <div id="content"></div>
           </body>
    </html>
    Here you can see that on click of the link button i am able to display frame in same tab of shell.
    Let me know if it's helpful.
    Regards
    Dhananjay

  • How to open a new window from submit button &dialog page in current window?

    We have a requirement, wherein we have a OAF search page for PO lines with search criteria, Go button to search ,result region (table layout) and a submit button(Create new expedite).
    1. Now user can select some lines from result region and click on Submit button.
    2. On click of submit button we need to pop up a window or may be a dialog page asking that " Do you want open supplier web link portal or not?".
    3. If user clicks yes(in Dialog page) then first fetch the URL from a look up maintained in Oracle EBS on the basis of supplier of the lines selected and then open that URL in a new window and side by side we need to open a dialog page in search page asking "whether user has updated the expedite info in supplier portal or not?". On basis of this we need to updated some count in custom tables.
    So in step 3 i am facing problem, that how to open an URL in a new window through a submit button and side by side want to open a dialog page in the current window also.
    Hope a quick response from you all.
    Note:- To open a custom page we can have a link or button(button of type button and not submit button) on base page with destination url property as following javascript:
    javascript:var a = window.open('OA.jsp?page=/XXX/oracle/apps/xxx/......&retainAM=Y', 'a','height=500,width=900,status=yes,toolbar=no,menubar=no,location=no'); a.focus();
    So the question is how to do the same for submit button on OAF page???

    Antriksh,
    You just need to attach a submit action in button bean and not submit button bean, based on the output of confirm type of alert in javascript.
    Here is code u need to put in destination url of the button:
    //replace <confirm message> by message you want to show.
    javascript:input=confirm('<confirm message>');if(input==true){submitForm('DefaultFormName',0,{XXX:' abc'});}" Now in the process request of the base page CO, u can get parametre 'XXX' from the pagecontext....so
    if((("abc").equals(pageContext.getParameter("XXX"))))
    {/// custom LOGIC }
    The same i have replied in your mail. I hope this resolves the issue.
    --Mukul

  • Opening an excel file from a button. square brackets in filename

    Internet explorer 6. Apex 3.1
    When I open an excel file (via a button) , it has the filename as follows:
    production_report[1].csv
    The prompt to save or open has the name as production_report.csv
    This prevents people saving the opened file as square brackets are not allowed in the file name.
    Is this an apex issue (ie a problem with the way I specify the filename) or a browser issue, and is there a solution?
    I am passing the filename in to my excel download page using the items/values settings.
    eg
    ITEM P12_FILENAME
    ITEM VALUE production_report.csv

    Yes, It works on firefox. It is only an issue with Internet Explorer.
    However our web based application has to use IE and therefore when it calls apex it is in an IE browser.
    I am really just producing a csv file, and opening it in excel. If this was fixed (or customisable in some way in IE that would help)

  • Opening a URL from a button within a Web Template

    Hi All,
    I have a requirement to provide report specific help from within a standard web template. Assuming that I had a list of help URLs for each report and an intermediary way to redirect to those URL based upon a unique id such as the reports technical name, is it possible to create a generic button from within a web template that would dynamically create a URL based on the reports technical name? I.e., http://www.example.com/page.html?ZGTRPTNME
    To date I have only used the Action "Command via Command Wizard" from within the parameters of the button Web Item. However, I did notice that a Script Function was provided. Has any used this functionality and is it possible to create a URL with the technical name of the report?

    Rekesh,
    I had a look at the document you linked however what I need to find out is how I can place the technical name (dynamically) within the web template URL (i.e., this needs to work for multiple projects over many reports that all use the same global web template).
    It's actually very easy opening a new window via javascript however finding the varible for the report technical name remains unclear. At present I am looking at command URL's. The only other option is that I use a java script substring command to pull the report technical name from the URL (although this not as clean as using command URL's).
    EDIT: Found this document: http://help.sap.com/saphelp_nw70ehp1/helpdata/en/43/ef9a6c13f2025be10000000a1553f7/content.htm
    Appears that the command: sapbi_page.GetMainTemplateName(); will give me the technical name of the webtemplate although I'm finding it hard to find the command for getting the technical name of the current report.
    Edited by: Paul Thomson on Feb 18, 2010 4:00 PM

  • Captivate 4 Open url from a button not working?

    Hi All,
    I have published a scorm course from captivate 4 and have installed to our servers. I would like to have a link to a document that is online (.doc) but whenever I click the transparent button it starts to load, opens a window (which has the correct title name) but then disappears with no warning or error message.
    The link resides behind a transparent button, and has the settings On Success open url or file in a new window.  I know the problem is not specific to this document because I have had the same problem with a completly different online file location in the past.
    Please Help!!
    Many thanks in advance.
    Chris Maile

    Hi there
    Please send me a private E-Mail message to rstone75 (at) kc (dot) rr (dot) com and advise of the exact file name of the file you are linking to.
    I'll send you back a file that you can use to test and see if the link works.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • How to call a URL from a button

    Hi Experts,
    In my requirement I have to  call a URL in the same page,through a button,
    so please tell me how to acheive this.
    Regards
    Upendra

    Hi,
    use the below code to call the URL onAction of the Button,
    IWDWindow window = wdComponentAPI.getWindowManager().createExternalWindow(
    "<place URL here example http:www.sdn.sap.com>",
    "<description about the URL >",
    false);
    window.open();
    Regards,
    ramesh

  • How do I close window on opening a new one from a button on the first window

    I want to close my existing window when opening a new one. I
    have used
    a roll-over from Fireworks and the page is created using
    Macromedia
    Dreamweaver. I'd like to close the page that I am coming from
    and open
    a new one in its place.
    Thanks for looking.
    authorblue

    how to use iTunes to sync is in the
    http://www.apple.com/support/itunes
    For MacBook Pro community and OS X
    MacBook Pro
    https://discussions.apple.com/community/notebooks/macbook_pro 
    https://discussions.apple.com/community/mac_os?view=discussions
    http://www.apple.com/support/macbookpro
    While it isn't as easy to just use a Mac iDevice as media storage as Android and Windows, you can add documents and such like Word, PDF and others manually in iTunes to have them sync as well.
    http://support.apple.com/kb/HT1386
    http://support.apple.com/kb/HT1351
    They are all there searchable from Bing, Google or every Mac product has a support page.
    http://www.apple.com/support/

  • Open a new page from a button of table view

    Hello,
    I search how to open a new page when i click on a button of a table view. I already tried to use navigate connector but i have an error when I compiled it (flash doesn't support). Do you know a workaround or tips ?
    Thanks,

    Hi Aurelien,
    Why don't you try creating a pop up iView on clicking the button on your table view.
    You can have a look at this link for understanding how a pop up iView works:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a88c4b3c-0a01-0010-afa4-a6eeb859d8d2
    You can also see page 50 of this doc:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/63f2052e-0c01-0010-b9a2-e1f7457a7fbe
    Bye
    Ankur
    Do reward points if it helps!!

  • Opening Browser with URL from Forms

    Hi,
    We can open internet browser by using HOST command in FORMS. How to open specific URL into the browser through FORMS.

    Hi,
    The following Host built-in takes you to the specified site,
    Host('Netscape http://www.oracle.com');
    Best Regards,
    Deepak Rai
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Rama Ala ([email protected]):
    Hi,
    We can open internet browser by using HOST command in FORMS. How to open specific URL into the browser through FORMS.<HR></BLOCKQUOTE>
    null

  • Opening an applet window from a button in a frame.

    hi,
    i designed a frame,in that i took coordinates from the user in the Jtextfields and a button.i need that when user clicks that button,a new applet window should get opened and the line should be drawn(g.drawLine in the paint method) according to the coordinates passed.
    please help me.

    Yes, It works on firefox. It is only an issue with Internet Explorer.
    However our web based application has to use IE and therefore when it calls apex it is in an IE browser.
    I am really just producing a csv file, and opening it in excel. If this was fixed (or customisable in some way in IE that would help)

  • Open BEx Analyzer Workbook from WAD

    Hello All,
    I want to open a BEx Analyzer Workbook from a Web Application Template.
    My vision is, that I have got a Button in my Web Application Template and when clicking on
    it a Web Analyzer Workbook opens. The Analysis Item in the template and the Grid in the workbook are based on the same DataProvider. So the planning people can plan in web or in excel.
    I only found an export function, but this doesn't open a workbook. I couldn´t find a good solution here as well...
    Best regards

    SAP STANDARD BSP RSR_BEX_LAUNCH

Maybe you are looking for

  • Questions on PROMPT() in DM

    Hi, a couple of questions regarding the PROMPT() options in a data manager package: 1)  is it possible to refer to a dimension member list of an existing dimension when using TEXT of COMBOBOX option? I only succeed to hard coding the possible values

  • Use of MIN with text data

    I am not familiar with using MIN with text data as in the sample below and could use some help in deciphering what it is doing. This SELECT statement is taken from a larger CREATE OR REPLACE VIEW statement. The first line of the WHERE clause is makin

  • Porting to intel question...

    Does anybody know if there is a place where I can submit an application to be ported to run on Intels? For those of you wondering which apps I'm refering to... Flip4Mac http://www.Flip4Mac.com/ It allows Windows Media Player files to run in Quicktime

  • Receipts during clearing

    Hi Friends When I clear open items from payment run, no entry created in DFKKREPT but entry exists in DFKKREPTCL table. When I clear open items thru payment lot no entry in DFKKREPT but entry exists in DFKKREPTCL with out receipt number (receipt numb

  • Unable to set action of opening image/jpeg in Firefox

    I just want to open and view a jpg link in a firefox tab, but it instantly ask me if I want to save it or open it by other application. Fine. I go to Options - Applications to change the action of handling jpg. There are 2 kinds of jpeg, one is "JPEG