Changing Report Link To A Button

Apex 3.2
I have a report with a column link (to another page).
The user would like to have a html button instead, so I changed the report code to
{code}
'<input type="button" name="clean_up" value="Clean Up" onclick="cleanup('||jobid||')">' button_link
{code}
I also have some javascript
{code}
<script type="text/javascript">
function cleanup(jobid) {
javascript:html_PopUp('f?p=&APP_ID.:28:&SESSION.::&DEBUG.:YES:P28_JOBID,P28_PG:'+jobid+',3', 'Clean Up', 800, 600);
</script>
{code}
Instead of opening in a pop up, I would just like to go to another page and also I need to add a checksum to the link.
Help appreciated
Gus

Hi,
I think you can use normal link column. That will add checksum automatically.
To change link look like button, place to link text e.g.
<button type="button">Clean Up</button>
Regards,
Jari

Similar Messages

  • Dynamically select detail report for a master report link item or button?

    I'm still new to APEX, so apologies if this sounds like a stupid question, but so far I can't find anything online about how to do the following.
    I have a simple report, and I want to be able to drill down from here to a detail report via a link item (or a button) in each row. The problem is that the specific detail report to use depends on a combination of values in the parent record.
    So if I have a parent record in the master report with values for columns 1/2/3 of A/B/C, I would drill down to a detail report against table X. If my parent record has values of D/E/F, I might drill down to a different detail report against table Y.
    I can build the individual reports easily enough, and I can set up a link item in the master report to drill down to a hard-coded detail report page. I can even generate the name (alias) of the relevant target report as an extra non-DB item in each row of the parent report. But I can't figure out how to allow each row in the parent report to actually link to a different detail report dynamically, depending on the contents of the parent row.
    Can anybody suggest an easy way to do this, or point me towards an online resource that would explain how to do this (preferably in basic terms that this APEX-newbie can understand)?
    Thanks for your help!

    Hi,
    When you say "Detail report" do you just mean a normal report of the child records for the selected master record or a tabular form style "Details report"?
    Using different reports on a page would, typically, depend on the value in a hidden page item - for example, P1_REPORT_TYPE. Your link could pass an appropriate value into this item and the second page would then use this as a Condition for each of the report regions - each region being conditionally displayed when the hidden item is a specific value.
    Andy

  • How to change the movie clip a button links to???

    I am working on a website in Flash that had already been
    designed by someone else. There are a number of buttons across the
    website that are linked to the same symbol. Those buttons link to
    movie clips, in the button's actions, that pop up as small windows
    providing more information in regards to the button clicked. The
    problem is that I cannot figure out how to properly change the link
    association between button and movie clip.
    Here is the action script for one of the buttons:
    on (release) {
    _root.scrHEIGHT=100
    _root.scroller.scroller.gotoAndStop(2);
    _root.scroller._x = 100;
    _root.scroller._y = 150.7;
    _root.TM_title = "About Chris Smith";
    _root.READ = 3;
    When I change the number after "root.READ =" it will change
    it to another movie clip but I how do I know what that association
    is based on? For instance if I make a duplicate movie clip how can
    I make the above script link to it? Also, what exactly does that
    last line in the above script mean? When I tested various numbers,
    like 3 and 6, they would link to the same movie clip.
    Please help! This is driving me crazy!
    Thanks!!!

    Hi,
    buttons can be defined with static icon/text, or dynamically via a variable (containing @08\Qtooltip@text for example). You choose the pushbutton type when you define your button using the screen painter. For the dynamic definition, you must tick the "output only" checkbox, enter a global variable name, that you'll fill in your program, preferably using ICON_CREATE function module.
    BR
    Sandra

  • Change the prompt of Global button or links

    Hi guys,
    How to change the prompt of global button or link like Home,Logout,Help,Preferences for all oaf pages in R12 application?
    plz guide me ......ASAP
    Thanks,

    I've got the problem fixed. For any of you that would like to know the solution is this. I added the following javascript at the end of an unstructured UI template where I have the form:
    <script language="JavaScript1.1">
    var inURL = false;
    for (i = 0; i < document.all.length; i++) {
         if (document.all.name != null) {
         if (document.all[i].name.indexOf("BACK_URL") > 0) {
                   if (document.all[i].value != '') {
                        inURL = true;
              else {
                   if (inURL) {
                        if (document.all[i].name != null) {
                             if (document.all[i].name.indexOf(".UPDATE") > 0 || document.all[i].name.indexOf(".SAVE") > 0) {
                                  var doc = document.all[i];
                                  doc.value = "Save & Back to Report";
    </script>
    The script works in IE 6+, I don't know if it works in any other browser, I haven't test it and I don't think I will.
    I hope this could help somebody

  • Can i make a button change anchor link when you scroll down the site?

    I am trying to make a scroll site.. and i have navigation buttons on the right, a full menu, but also a "1 topic up" button and "1 topic down" button.
    Is there any way that i can have those buttons change anchor link when you scroll down the site.
    Example:
    I am at home, then i press "1 topic down" and gets scrolled to the next topic on the website, but then i cant make the button change to link to the anchor below that, so the button becomes useless after that 1 press.
    Is that in any way possible in Muse to make it change link?

    Hi
    You can try to create different buttons on page positions where down scrolling will be active with separate button actions. For example you click on "I topic down" , page scrolls and there is another button placed with "Next Topic down" , on click this would scroll the page more and similarly along the length of page.
    Button with anchor link scrolling down the page cannot be used for different anchor links, creating different buttons with anchors is the solution.
    Thanks,
    Sanjit

  • Published report with Parameter that changes a link

    Is it possible to publish a single report that was designed with the following linking:
    invoice.totals -> period.quote
    After the report is published, I would like to have a parameter that would change the table link to this:
    invoice.totals -> period.final
    The format of the report will stay the same except the values will change because the links changed.
    Is this possible?
    Thanks in advance,
    Zack H.

    Does your suggestion physically change the link?
    will the code
    if {?parameter1}='quote' then invoice.totals -> period.quote
    else invoice.totals -> period.totals
    change the link from table invoice.totals -> table period.quote to
    table invoice.totals -> period.totals
    Remember, I am not looking to create a formula that will trigger which field to use.  If the link doesn't change the fields' data are meaningless.  I need the links to change before I can start using the fields.  But, I want the links to change dynamically on a user request.
    I hope I am making sense.
    Regards,
    Zack H.
    Edited by: Zack H on Jul 2, 2009 5:19 PM
    Edited by: Zack H on Jul 2, 2009 5:20 PM

  • Is it possible to change the link to the WMP of the Play/Pause/Stop buttons

    Is it possible to change the link to the WMP of the Play/Pause and Stop Button?
    Because by software only the Network and Media Buttons are changable.
    And I don't prefer WMP to be my favorite media player.

    I used to have this problem too. When pressing +play/pause+ button on my +Satellite+ always wmp start. I used RM-X media to configure media keys, or Global Hotkeys in Winamp to solve this problem, but in case of +play/pause+ it was still the same. I found simple solution how to use this key in Winamp - assaying Winamp as default media player in Control panel/Add remove programs. And then in specific application edit file associations.

  • Call a pl/sql stored procedure from a report link

    Hello everyone:
    I have a report with a link in a column, which takes you to another page and passes values to that page, but also need the link, run a stored procedure before going to the other page.
    In the Forum I found cases similar to this, but none of the examples is clear to me how I do this. It seems that the target of the link should be URL, and also I have to call the stored procedure with a javascript function.
    My questions are:
    - Is this the best method to make what I need?
    - How should be the syntax of the link that takes me to another page and run the "stored procedure"
    - How and where I put the function "javascript" to run the "stored procedure"
    BDD: Oracle 11 g
    Apex version 4.1
    Best regards
    Gerard

    Hi,
    Change the link to call an apex.submit process. (javascript).
    Edit:
    I've set up a basic example.
    Region 1 (just so you can see the value getting set):
    select :P27_HIDDEN item_Value
    from dual
    Region 2:
    select rownum id, dbms_random.string('U', 12) sss
    from dual
    connect by level <= 20
    item attributes for ID:
    Target: URL
    URL: javascript:apex.submit({request:'NAVIGATE', set:{'P27_HIDDEN':#ID#}});
    (P27_HIDDEN is just a hidden item i created)
    http://apex.oracle.com/pls/apex/f?p=54920:27
    Edit2:
    In your case, then you can just have a page process based on conditions request = expression1, expression1: NAVIGATE..... then a page branch to go to the desired page, also with the same conditions
    Edit3:
    Im not sure what examples you are referring to , as you didn't supply any links; but you mention calling the stored procedure from javascript, so would likely involve some AJAX, but imo not necessary.

  • Issue with Report Links in OBIEE

    I'm facing a issue with report links(modify,printer friendly,refresh etc) in obiee
    The reports which are set as "Display Results-->Embedded in Section" for those reports if I put report links(modify,printer friendly,refresh etc),the links do not show up.In the palce of link I can see "-"(minus sign) appearing.
    If I change the report to "Display Results--->Show as link in seperate window" the lniks show up fine.
    Any idea why this is happening?
    Your suggestions are welcome.
    Please help
    Regards.
    Edited by: 810008 on Apr 14, 2011 1:39 AM

    Edit Dashboard -> Report Properties -> Report Links... (directly under Display Results) -> Customize
    M.

  • Report Links in OBIEE 11g Dashboard not displayed correctly

    In the Dashboard pages the Report Links for Export are not displayed correctly .
    Instead of showing the multiple options for export/download it shows just text.

    It can be done by doing below steps.
    1) before doing this take a backup of instanconfig.xml file and do the below changes...
    You can configure various options that change the way that right-click interactions are handled in views for an analysis at runtime. The elements in the instanceconfig.xml file specify the default settings for a new or upgraded analysis. You can edit the properties of an analysis in Presentation Services to modify how the analysis handles right-click interactions in views.
    Before you begin this procedure, ensure that you are familiar with the information in Section 3.4, "Using a Text Editor to Update Configuration Settings."
    To manually configure for interactions in views:
    2) C:\Oracle\Middleware\instances\instance1\config\OracleBIPresentationServicesComponent\coreapplication_obips1\instanceconfig.xml
    Open the instanceconfig.xml file for editing,
    3)
    Locate the sections in which you must add the elements
    Include the elements and their ancestor elements as appropriate, as shown in the following example:
    <ServerInstance>
    <Analysis>
    <InteractionProperties>
    <InteractionPropertyAddRemoveValues>false</InteractionPropertyAddRemoveValues>
    <InteractionPropertyCalcItemOperations>false</InteractionPropertyCalcItemOperations>
    <InteractionPropertyDrill>false</InteractionPropertyDrill>
    <InteractionPropertyGroupOperations>false</InteractionPropertyGroupOperations>
    <InteractionPropertyInclExclColumns>false</InteractionPropertyInclExclColumns>
    <InteractionPropertyMoveColumns>false</InteractionPropertyMoveColumns>
    <InteractionPropertyRunningSum>false</InteractionPropertyRunningSum>
    <InteractionPropertyShowHideSubTotal>false</InteractionPropertyShowHideSubTotal>
    <InteractionPropertySortColumns>false</InteractionPropertySortColumns>
    </InteractionProperties>
    </Analysis>
    </ServerInstance>
    4) Save your changes and close the file.
    5)
    Restart Oracle Business Intelligence.
    Mark as correct if it is helpful :)
    Thanks.

  • Report Links issue in obiee 11g

    hi all,
    we are using obiee 11.1.1.5 version. we are facing issue with report links. when there is no data in the dashboard, the dashboard is displaying only Refresh button, it is not displaying Export and Print(even though we customized the report links to display Refresh, Export, Print). when there is data in the dashboard it is displaying Refresh, Export and Print as expected. Is this product limitation or a bug in obiee.

    You need to repost this in the OBI-EE forum.

  • Sub report linking definition based on result, not on parameter value

    Dear all,
    I have created a report with CR 2008 SP6. The parameters from the referring BI query are period and customer. After the user enter parameter values, the report provides then Customer and product information.
    I have add a sub report with additional information for product. I can transfer the parameter value (user input) for Customer to the sub report, but not for product, due to the fact that in the main report Product is not selected as parameter, but is a result set after the report is executed.
    Is there a way to define in the Sub report linking exactly these result values of Product as new parameter for the sub report.
    In the sub report linking definition I only see the possibility of defining the parameter as linking object, but not the report result set. See also the screenshot.
    Any idea would be great. Best regards,
    Stefanos from Munich/Germany

    Hi Stefanos,
    Where is the Subreport placed on the report?
    Do you have a prompt in the Subreport for 'product'?
    If yes, then here's open the 'Change Subreport Links' window > Move the Product field to the Pane on the right > From the drop down at the bottom left that says 'Subreport parameter field to use', choose the Product prompt.
    If you don't have a prompt for product in the Subreport, then just move the Product field to the Pane on the right > From the drop down at the bottom right that says 'Select data in Subreport based on field', choose the Product field from the drop-down.
    -Abhilash

  • DW CS4: How to play a Flash Movie in a NEW window after clicking a link or a button on a page?

    Hi, using Adobe Dreamweaver CS4, I would like to have a link or a button on a webpage that when clicked will play a Flash Movie in a new window.
    Using the 'Insert Panel' > Media: FLV I managed to insert the .flv file on the page, but the movie plays 'in line' instead of in a new window. So far I can't find any 'Properties' or settings to change this behaviour. E.g. like Target _blank for opening e.g. a .pdf in a new Window.
    > Please help.
    Thank you!

    Try using one of the popular javascript methods for this. I use shadowbox and you can find examples, info and a download here: http://www.shadowbox-js.com

  • Missing Parameter Values while using Change SubReport links

    Hi,
    I am using Change SubReport Links to pass data from Main Report to the SubReport. The report works fine at design time when I preview it, but at runtime I get "Missing Parameter Values" error.
    As I have used Chanage SubReport Links do I still need to pass the parameter to the SubReport from the code.
    cr.Export gives this error.
    Below is the code
    ExportOptions crExportOptions;
            DiskFileDestinationOptions crDiskFileDestinationOptions;
            string Fname = string.Empty;
            string strReportName = string.Empty;
            ReportDocument cr = new ReportDocument();
            string strReportPath = Request.PhysicalApplicationPath.ToString() + @"Members\Reports\UnPaidReceipt.rpt";
            if (!System.IO.File.Exists(strReportPath))
                throw (new Exception("Unable to locate report file:\n" + strReportPath));
            cr.Load(strReportPath);
            MtollBLL Unpaid = new MtollBLL();
            cr.SetDataSource(Unpaid.GetUnpaidPayments().DefaultView.Table);
            // Set the Crytal Report Viewer control's source to the report document.
            CrystalReportViewer1.ReportSource = cr;
            MtollBLL Violation= new MtollBLL();
            cr.Subreports[0].SetDataSource(Violation.GetReportViolation().DefaultView.Table);
            // cr.PrintToPrinter(1, False, 0, 0)
            Response.Write( cr.Subreports[0].DataDefinition.ParameterFields.Count);
            Fname = Request.PhysicalApplicationPath.ToString() + Session.SessionID.ToString() + ".pdf";
            crDiskFileDestinationOptions = new DiskFileDestinationOptions();
            crDiskFileDestinationOptions.DiskFileName = Fname;
            crExportOptions = cr.ExportOptions;
            crExportOptions.DestinationOptions = crDiskFileDestinationOptions;
            crExportOptions.ExportDestinationType = ExportDestinationType.DiskFile;
            crExportOptions.ExportFormatType = ExportFormatType.PortableDocFormat;
            cr.VerifyDatabase();
            cr.Subreports[0].VerifyDatabase();
            cr.Export();//' The following code writes the pdf file to the Clientu2019s browser
    Please Advise.

    Please post your SDK development questions to the Developers forum

  • Linking a radio button to a text field in a pdf form

    Forgive my ignorance but does anyone know how to link a radio button to a text field in an Acobat pdf form?
    I have a series of 4 radio buttons. If you click on one of them I would like to activate a text field which you then have to fill in. In addition it would be good to have it so that if you don't click on the radio button you're not able to fill in the associated text box.
    I am a designer not a programmer so I don't know much about javascript. Can anyone help?
    Many thanks

    You might want to look at Hiding and Showing Form Fields by Thom Parker. You might also want to clear the text field when the radio button changes.

Maybe you are looking for

  • Search function no longer works after upgrading to 10.5.6

    After upgrading to 10.5.6 I noticed that the search command no longer finds anything on my connected AFP Server (OS X Server 10.3. 9). When I start a search in the finder, even though I can see the item on the screen it gives a result of zero. Is any

  • Automatic Backup not working like it should

    Is anyone else having any problems with their iDevice not doing the automatic iCloud backups?  Ever since I installed iOS 5, I have had to run the iCloud backup manually and its a little concerning that it wont run automatically.

  • All USB ports are no longer 2.0

    I have been struggling recently with the USB ports on my Intel Mac Mini, circa 2007, OSX 10.5.8. Everything I plug into any of the 4 USB ports in the back will come up as a 12 Mbps port, not a high speed 2.0 port. I don't know how to diagnose the iss

  • Will tethering my IPhone5 to my MacBook to watch tv programs result in large data usage?

    My wifi signal is not strong/reliable.  I tether my IPhone 5 to my MacBook for a more secure/reliable internet connection.  I'd like to use my IPhone hotspot to watch tv on my laptop but I'm concerned that it will use large amount of data  I do not h

  • Hello world servlet on UCM 11g embedded tomcat

    Hi, I'm using UCM 11.1.1.5. I'm trying to run a simple jsp and servlet (hello world) on UCM embedded Tomcat (deployed with a war). I successfully executes jsp, however I'm not able to runs servlets...I receive a 404 Http error (generated by WebLogic)