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

Similar Messages

  • How do I Re enabled the Buttons in MainMovie.swf from a Button within SecondMovie.swf???

    I have the following situation
    MainMove.swf is doing a loadmovie of SecondMovie.swf
    The Button that loads SecondMovie.swf also disables other buttons in MainMovie.swf
    on (release) {
        _root.intro_btn.enabled = false;
        loadMovieNum("SecondMovie.swf", 2);
    How do I Re enabled the Buttons in MainMovie.swf from a Button within SecondMovie.swf???
    Using AS2 is this current project
    Thanks

    lol Sorry bout that I'm brand new here and was looking for the option to remove the post from the other location.

  • I need help adding an additional button to a web template

    Hello,
    I am trying to add an aditional button to a web template I inherited.  I am not a web person just trying to fill a gap at the company.
    If you look at my test server www.pondviewtech.com I want to add another button above the request demo one.  I have tried a bunch of things:  making the button smaller, adding a similar line to my index file as the same button, deleting the "Welcome to" text.  The best I could get was this www.pondviewtech.com/buttontest.html .  I have attached my buttontest.html file.  I couldn't figure out how to paste a few lines of code in this page.
    I didn't create the template so if it is a mess don't worry about my feelings.
    Thanks for any help or suggestions.

    Change this -
            <p><u>Welcome to Automated Compliance Solutions</u></p>
            <p><a href="contactacs.htm"><img src="button.png" width="266" height="56" border="0" align="right" /></a></p>
    to this -
            <p><u>Welcome to Automated Compliance Solutions</u></p>
            <p><a href="yourlink.htm"><img src="yourbutton.png" width="266" height="56" border="0" align="right" /></a></p>
            <p><a href="contactacs.htm"><img src="button.png" width="266" height="56" border="0" align="right" /></a></p>
    Be aware that my suggestion here is NOT valid XHTML, but since you are not a web developer, and the 'invalid' markup that I have suggested will not affect the rendering or operation of the page, I decided to keep it simple for you.  In my suggestion, "yourlink.html" refers to the page to which you want this button to link, and "yourbutton.png" refers to the filename of the button image (obviously you'd want to change this to correspond to the filename and extension of the image you have created).

  • If I open another URL from my homepage, the "go back one page" button is grayed out so I can't get back to my home page.

    This problem only started recently.
    Opening another web page (URL) from my homepage always opens in the same tab and the "go back one page" button is gray and does not work. If I open a series of web pages in the same tab the green "back" button is green. Clicking on the "recent pages" down arrow will allow me to go back, but only to the page after the home page.
    In other words, after browsing, I can get back to the opening page (my home page) only by clicking on the house icon but not by using the "recent pages" function.
    Is there an option that changed after the last update?

    Do you see any tab history if you right click the Back or Forward button?
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • How can I open a URL from a Custom Button in a second help window?

    I have a custom button, which currently opens a URL in a web
    browser, using a redirect page. How can I change this so that it
    opens in a second help window instead? If I understand some of the
    posts I've read, it is possible by linking the button to a related
    topics function but I've no idea how this is done.
    As usual, your help is most appreciated. Thanks a lot.

    Hi, ecoulyn,
    You need to make a topic file like the one below the target
    of the Jump button.
    The onLoad function on the Body start-tag causes the Related
    Topics command to fire when the topic file is loaded in the topic
    pane. When specifying the file name of the topic to display in the
    secondary window, you must always prepend it with the name of your
    .chm file, followed by "::/". Otherwise, an error message appears
    when the Jump button is clicked.
    Pete

  • 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.

  • Can't open an Executable From Click Button

    Hi, Everyone!
    I've broken a learning module into several small project
    files to match the client's standards. I've set up click buttons
    within each file to open each of the published movies for the
    module. Everything works as expected.
    Now I need to create a standalone course using the same
    files. I've published each file as a Standalone executable. I've
    modified the open action on the click buttons to "Open URL or File"
    and selected the appropriate .exe file as the target. I've
    republished the files with the new click action. When I open an
    executable and click a button to open another executable, I get an
    error message stating that the page cannot be displayed.
    What am I doing wrong? Can anyone help?
    Thanks,
    Bob Browne

    Hi Bob
    For starters, did you try simply exporting all related files
    as .EXE files and test that way before making any changes? If so,
    what were your results? I've seen before where once Captivate was
    successfully linking to another movie, simply changing from .SWF to
    .EXE format just worked.
    Just a thought... Rick

  • Opening an URL from a JAVA application

    hi,
    iam new to Java.
    Currently iam designing a simle GUI which takes input(URL) from user in a test field and has a button.Upon clicking button i want to open the webPage specified by that URL in a default webBrowser.
    How can i do that(opening webPage)?
    advanced thanks for your help.
    vd.rach

    getting an error on that line as follows: "unreported
    exception; must be caught or declared to be thrown".exec() throws IOException so catch it.
    try {
    Runtime.getRuntime.exec(...);
    catch(IOException e) {
    System.err("Cannot launch the browser: " + e.getMessage());
    }On the side note: I found javaworld's [url http://www.javaworld.com/javatips/jw-javatip66_p.html]solution most useful in serving this purpose in a project, even though its a little bit platform specific.

  • 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?

  • Issue in opening an URL from UI

    Hi Experts,
    When clicking  button in an assignment block of campaign screen, it should open an URL (SRM screen) in new window.
    I have written the following code in htm page inside script tag.
    window.open("lv_url").focus();
    lv_url is obtained from the eventhandler onclick.
    First time, when I click on the button, the URL is opened in the new window successfully. If I close that window (SRM screen),
    and click on the button again, it is executing the code window.open but not opening a new window. Please help.
    Thanks,
    Ramya

    Hi Ramya,
    The problem is with the window handler. That is the window handler doesnt terminate even when you manually close the new window and so when attempting to open a same url it doesnt show up.
    One solution is to generate a guid and pass it with the url so that the url will differ (since the guid differes the url will not be the same). Check the below sample code,
    <%
    CALL FUNCTION 'GUID_CREATE'
       IMPORTING
         EV_GUID_32       = lv_guid.
      CONCATENATE 'guid=' lv_guid INTO lv_query.
      CALL METHOD cl_crm_web_utility=>create_url
        EXPORTING
          iv_path                     = lc_path
          iv_query                   = lv_query
          iv_absolute               = lc_flag
          iv_in_same_session = lc_flag
          iv_server_object      = server
          iv_no_cookie            = 'X'
        RECEIVING
          ev_url                       = lv_url.
    %> 
    <scirpt language="javascirpt">
         window.open(' <%= lv_url %> ');
         window.close();
    </script>
    Regards,
    Arun

  • Open Explorer (windows) from CRM button

    Hi,
    how can i open windows explorer for a specific directory from a CRM button in the Web UI ?
    The CALL_BROWSER function (which works fine in the SAP GUI) will result in a
    500 SAP Internal Server Error
    ERROR: Exception condition "FRONTEND_ERROR"  raised. (termination: RABAX_STATE).
    How to solve my problem ?
    Any suggestions ?
    gr
    Hans

    kelvin_nitk wrote:
    Hi i have a java application running on a unix machine.What does this have to do with the rest of the question?
    On a jsp i need to provide a hyperlink which should open a new window but not the internet explorer window but the windows explorer window of some remote windows machine. How can this be done. Can anybody suggest?You want to execute the Windows Explorer program on somebody's computer from within the browser? Running executables from the browser is a security hazard that the browser tries very hard to prevent. You can't do it without getting the user to install some software into their browser where they agree, in advance, that they will let your site do insecure things.
    In this case most likely an ActiveX component would be the best bet.

  • Open a URL from InDesign (JS OSX CS3)

    Hi -- I have some limited experience javascripting In InDesign. Most of what I have done focuses on text and documents, so I need to ask a question that is outside my current experience.
    I am trying to write an Indesign script that when deployed by a user opens a URL in a Web browser. It would be the same url every time -- not dependent on any hyperlinks that may or may not be in a document.
    Is there anyway for me to use a Hyperlink.showDestination()function to accomplish this using this static URL within the script? If so, I am unsure how to proceed.
    Any thoughts would be greatly appreciated.
    thanks

    Check out this post.
    Kasyan

  • Opening a popup from custom button in a Form

    I have a requirement to open a popup from a custom button of a portal form and once the value is selected from the popup the control should return to the main form with the value selected and set it to some display only field in that same form. It can be done thru' popup of a field directly but how can I do this thru'a button ?.
    Help would be appreciated.
    Thanks
    -Krishnamurthy

    Works for me if I middle-click a bookmark on the Bookmarks Toolbar and browser.tabs.loadBookmarksInBackground is set to true.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Can InDesign recognise a URL from a PDF within a picture box?

    I want to find out if InDesign can recognise a URL from a PDF which I have pulled into a picture box?
    We are using InDesign and DPS to create magazine apps from PDF pages, a lot of these pages have a lot of URL's which we need live in the app. At the moment we create a hyperlink box, open the pdf from the links window and cut and paste each URL into each hyperlink box.
    Is this the only way or are we missing something??
    Thanks,
    B

    Is there any sort of workaround?
    I was thinking, is there a way to pull the URL's from the pdf's (before importing into InDesign) and then adding them into some sort of list in InDesign, then use the Hyperlinks panel to select the correct URL for the correct Hyperlink box??

  • Controlling and object state from a button within an object state

    I have a MSO with a set of fridge images, to show the different colourways, but I also want to be able to show open and closed versions of the images.
    My idea was to have two MSO, one with the colour varients and one with the open varients and have a button inside the colour varient MSO so each colour shows its own button, but it looks like that button can only control the MSO that it is part of, is there anyway for it to trigger the second MSO?

    Ok well this is a screenshot from the laundry page, but its the same as fridge freezers.
    There is a MSO called colour change, and the red box is the button which has a go to next state action.
    I was going to have a second MSO with the open versions of the products that would be triggered by a button in each state of the first MSO, but this isn't possible.
    I don't want to put all the images in one MSO because that button is specifically to change the colour of the product.
    I guess one option could be to make each image in a scrollable frame so you swipe up/down to open/close.
    Any other possibilities?

Maybe you are looking for