HTML-DB 1.6 (Apex) calling an URL and go back to the calling page

Hi everybody,
Is there somebody who can help us ?
We have a button in your page which call an URL link. This link creates operate a job that will make an XML document. We try to use target....blank to open a new window and after the job is finished to close this new window; but it doesn't work, no new window have been created.
But, we want to go back to the calling page after doing the XML document creating job. We can't go back to our calling page, the application is gone.
How, we can do this?
Thanks. Bye.

Hi Timiche,
Firstly, create a new region on your calling page and add in the following as the region's Region Source:
<script language="JavaScript" type="text/javascript">
function exportList(page)
var url;
url = 'f?p=&APP_ID.:' + page + ':&APP_SESSION.';
w = open(url,"winExport","Scrollbars=1,resizable=1,width=100,height=100");
if (w.opener == null)
w.opener = self;
w.focus();
</script>
<a href="javascript:exportList('n');">Export XML</a>
Replace n with the page number for your xml export. Notice that I've added an A tag here - you can style this to look like a button if you like.
I have also set a branch back to the calling page, but this should not be used by the A tag as it doesn't submit the page - I've just included it on my page for completeness.
Secondly, on your page containing the xml export, make the following settings:
In the Page Attributes, set the Page Template to "Popup"
In the Region's Region Definition, set the Template to "No Template"
In the Region's Report Attributes, set the Report Template to "export: XML"
And, here's my working example:
http://htmldb.oracle.com/pls/otn/f?p=42012:1
Regards
Andy

Similar Messages

  • I want to launch a Bo report whith a URL and render it back to the web page

    I want to launch a Bo report whith a URL and render it back to the web pages in HTML format? And the report have parameters as well.
    Exampel: If a have report in InfoView that i want to se in my web page i just click a link button with my URL. And i get my report.
    My version of BO is 5.1.6 at the moment but we are going to upgrade to BO XI soon.
    Here is another exampel that works for Reporting Services:
    http://stosp2/Reportserver?/KPI/KPI_map3&rs:command=render&KPI=CA&rc:Toolbar=False&rc:Parameters=False
    Best regards
    Mikael Bergströ

    Hi,
    You can find the guide here
    [http://resources.businessobjects.com/support/communitycs/TechnicalPapers/boe_xi_opendocument.pdf]
    The openDocument API is available in Business Objects XI onwards. I don't think you would be able to do it from 5.1.6.
    Regards
    Jacques

  • The main part of the safari page is grey and won't respond/can't type in any commands.  I can move back through the previous pages, and even open new ones via the URL, but can't get onto the main part of the page and I can't get onto the 9 page option. !?

    The main part of the safari page is grey and won't respond/can't type in any commands.  I can move back through the previous pages, and even open new ones via the URL, but can't get onto the main part of the page and I can't get onto the 9 page option. !?
    Help, please.

    Try clearing Safari's cache : Settings > Safari > Clear Cache (and Clear History)
    If that doesn't work then try closing Safari completely and then re-open it : from the home screen (i.e. not with Safari 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Safari app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    A third option is a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • I want to create an external video widget with iAd. I followed the steps and copied the Url and paste it in the Video pop-up menu in the Properties section of the inspector. When i select 'preview' the video doesn't play and the Url that i pasted is gone.

    i want to create an external video widget with iAd to use in an iBook. I followed the steps and copied the Url and paste it in the Video pop-up menu in the Properties section of the inspector. When i select 'preview' the video doesn't play and the Url that i pasted is gone.
    hope someone can help!

    May have something to do with whether or not the URL can be reached while building your widget.  I've got a video on the web. When I enter the URL into the field for the video object and click to another field,  the URL is replaced with some text indicating that it is accessing the video then updates itself to displaying just the name of the video file.
    It shows just fine in preview and I can see the full path to the video when I export the widget so it should work for you. 
    Is the video accessible from your Mac while you're laying out your widget?
    -Mark

  • Common URL and not to use the hostname.domain to connect

    Hi All
    We are interested in geeting information regarding the iAS vs. load balancer our question is : we have one common URL but we need to configure iAS10g to use this common URL and not to use the hostname.domain to connect
    Can you please share some solutions ?
    Thanks

    Well, let me step back. I am not sure if I understand your question completely. Can you give me an example of what do you mean by "common url"?
    Also when you say you want to use a common url vs. hostname.domain to connect, what is this connection you are talking about? Is this the connection to EM (AS Control)? Your application? Or something else?
    Knowing this will help me suggest you the right/appropriate solution.
    Thanks
    Shail

  • Hi going to Florida soon. Have un locked I phone 4s. Need a micro sim to use in Florida but will allow Calls and texts back to the uk

    Hi Going to Florida in March. Have a I phone 4s and it's un locked. Would like to buy a micro sim to use in Florida but want it to allow me to call and text back to the uk. Don't mind a different number for my holiday period
    Just would like a part number and where to buy one of these micro sims
    Many Thanks
    Terry

    T-mobile may be the the best bet...
    Also, see about this- http://www.dataroam.co.uk/

  • SPD 2013 workflow making a REST call to Search returns no records, even though I can take the exact URL and get back records in the browser

    I am making the following REST call from a SharePoint Designer workflow:
    Site-URL/_api/search/query?querytext='WorkEmail:*zafgen.com'&rowlimit=10&startrow=0&selectproperties='LastName,FirstName,WorkEmail,JobTitle,Path,PictureUrl,PreferredName,Department,AboutMe'&SourceId='b09a7990-05ea-4af9-81ef-edfab16c4e31'
    When I make this call from a designer workflow running as the user who started it (The user is a site collection admin) I get the results shown below.  NOTE that I get ZERO records.  If I take the url above and place it in the address bar
    of any browser, I get back 10 users.  (Exactly what I asked for.)  Furthermore, if I try to put the call to a REST service in a APP Step, I get a failure return code:
    {"error":{"code":"-1, Microsoft.Office.Server.Search.REST.SearchServiceException","message":{"lang":"en-US","value":"An unknown error occurred."}}}
    I have no issues making REST calls to SharePoint Lists and Libraries, but a call to search seems to have issues.  Any thoughts?
    {"d":{"query":{"__metadata":{"type":"Microsoft.Office.Server.Search.REST.SearchResult"},"ElapsedTime":135,"PrimaryQueryResult":{"__metadata":{"type":"Microsoft.Office.Server.Search.REST.QueryResult"},"CustomResults":{"__metadata":{"type":"Collection(Microsoft.Office.Server.Search.REST.CustomResult)"},"results":[]},"QueryId":"deba5b38-d89e-46d6-9911-a4280beead31","QueryRuleId":"00000000-0000-0000-0000-000000000000","RefinementResults":null,"RelevantResults":{"__metadata":{"type":"Microsoft.Office.Server.Search.REST.RelevantResults"},"GroupTemplateId":null,"ItemTemplateId":null,"Properties":{"results":[{"__metadata":{"type":"SP.KeyValue"},"Key":"GenerationId","Value":"9223372036854775806","ValueType":"Edm.Int64"},{"__metadata":{"type":"SP.KeyValue"},"Key":"indexSystem","Value":"","ValueType":"Edm.String"},{"__metadata":{"type":"SP.KeyValue"},"Key":"ExecutionTimeMs","Value":"63","ValueType":"Edm.Int32"},{"__metadata":{"type":"SP.KeyValue"},"Key":"QueryModification","Value":"WorkEmail:*zafgen.com
    ContentClass=urn:content-class:SPSPeople","ValueType":"Edm.String"},{"__metadata":{"type":"SP.KeyValue"},"Key":"RenderTemplateId","Value":"~sitecollection\/_catalogs\/masterpage\/Display
    Templates\/Search\/Group_Default.js","ValueType":"Edm.String"},{"__metadata":{"type":"SP.KeyValue"},"Key":"StartRecord","Value":"0","ValueType":"Edm.Int32"},{"__metadata":{"type":"SP.KeyValue"},"Key":"IsFirstBlockInSubstrate","Value":"true","ValueType":"Edm.Boolean"},{"__metadata":{"type":"SP.KeyValue"},"Key":"IsLastBlockInSubstrate","Value":"true","ValueType":"Edm.Boolean"}]},"ResultTitle":null,"ResultTitleUrl":null,"RowCount":0,"Table":{"__metadata":{"type":"SP.SimpleDataTable"},"Rows":{"results":[]}},"TotalRows":0,"TotalRowsIncludingDuplicates":0},"SpecialTermResults":null},"Properties":{"results":[{"__metadata":{"type":"SP.KeyValue"},"Key":"RowLimit","Value":"10","ValueType":"Edm.Int32"},{"__metadata":{"type":"SP.KeyValue"},"Key":"SourceId","Value":"b09a7990-05ea-4af9-81ef-edfab16c4e31","ValueType":"Edm.Guid"},{"__metadata":{"type":"SP.KeyValue"},"Key":"CorrelationId","Value":"6288bf51-64fc-45de-a9ca-d62c36e3ebd1","ValueType":"Edm.Guid"},{"__metadata":{"type":"SP.KeyValue"},"Key":"WasGroupRestricted","Value":"false","ValueType":"Edm.Boolean"},{"__metadata":{"type":"SP.KeyValue"},"Key":"EnableInterleaving","Value":"true","ValueType":"Edm.Boolean"},{"__metadata":{"type":"SP.KeyValue"},"Key":"piPageImpression","Value":"16620813_415_1033","ValueType":"Edm.String"},{"__metadata":{"type":"SP.KeyValue"},"Key":"SerializedQuery","Value":"","ValueType":"Edm.String"}]},"SecondaryQueryResults":{"__metadata":{"type":"Collection(Microsoft.Office.Server.Search.REST.QueryResult)"},"results":[]},"SpellingSuggestion":null,"TriggeredRules":{"__metadata":{"type":"Collection(Edm.Guid)"},"results":[]}}}}
    Marcel Meth

    Hi,
    We are currently looking into this issue and will give you an update as soon as possible.
    Thank you for your understanding and support.
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • I would like to open a URL and extract tables from the HTML code of the web

    Hi I have opened a URL say www.amazon.com and I would like to extract te tables in that particular web page would somebody out there help me with the code so that the output file displays only the relevant tables containing books and its prices dropping out all other data on the web page . My code for opening the URL goes here. Any quick help would be appreciated
    import java.net.*;
    import java.io.*;
    class ConnectionTest {
    public static void main(String[] args) {
    try {
    URL amazon = new URL("http://www.amazon.com");
    URLConnection amazonConnection = amazon.openConnection();
    DataInputStream dis = new DataInputStream(amazonConnection.getInputStream());
    String inputLine;
    while ((inputLine = dis.readLine()) != null) {
    System.out.println(inputLine);
    dis.close();
    } catch (MalformedURLException me) {
    System.out.println("MalformedURLException: " + me);
    } catch (IOException ioe) {
    System.out.println("IOException: " + ioe);
    }

    The quick and dirty way ( Not perfect and will be prone to errors ) :
    As you read the lines using readLine(), look for the string "<table>" (Perhaps using String.indexOf ? -- Java API for class String -- http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html)
    If the start tag is found, start dumping lines into a String (string concatenation), keep doing it until you find the end tag, using the method mentioned.
    Also, you may want to consider the case where <table> or </table> may not be at the beginning of the line, so you may want to use String.substring to selectively extract part of the line that you want to keep.
    Oh, and don't assume that the <table> tag is in lower case, and don't forget that there may be other attributes that are defined in the start and end tags.
    I wouldn't recommend using this method other than a quick and dirty extraction. If you really want to do things the right way, use a HTML parser or use the Amazon Web Services as paulcw suggested.
    Amazon Web Services:
    http://aws.amazon.com

  • HTML DB form and reports in on the same Page

    I have a form take input from the user and two reports (please see the URL and LINK).
    If I click on the Staff report to populate the employee_no, name, and then click on the service report to populate the service_id, service name.
    The problem is if populate the employee_no, name then it clear out the service_id, name and other fields. vice versa.
    Why?
    Is there solution?
    URL
    http://tinypic.com/view/?pic=rblds0
    LINK
    http://i2.tinypic.com/rblds0.jpg

    Sounds like you might be specifying Clear Cache for page in your column link attributes.
    So, every time you click on the column link, it clears session state for items on the target page and then proceeds to set the items you specify in the column link itself.

  • Running APEX 2.2.1 and 3.x through the same web server

    Here is the scenario: Three database servers - one with APEX 2.2.1 and the other two with 3.2.1 (new installations) and the web server has the old images directory (for 2.2.1).
    For a few reasons (production apps) I cannot upgrade 2.2.1 to v3 right now but need to get the new APEX installs working. I looked for a discussion on a second HTTP Server install but didn't see it - and reading through the install documentation I didn't see how this might be done.
    Anyone done this?
    Thanks,
    Steve

    Hi Steve,
    You can setup different DADs for each of your environments and also setup different Location directives for each of the different locations for the files (javascript/css etc), for example /i/212, /i/312 etc (or whatever you want to name them). Then in your applications specify the correct images directory so that it points to the right location.
    Hope this helps,
    John.
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!

  • After latest security update Safari 5.1.9 (OSX 10.6.8) is not always going back to the preceeding page even the the URL is the correct page.

    On several different occassions, I have hit the back button on Safari and it goes baack to a page several sites earlier.  The URL displayed is the correct one (the one preceedin the page), but the page is not the one that the UL is saying it is - sometimes it is an entirely different domain.  Any ideas anyone?
    Sass

    With Safari open, press Command + Option + E on your keyboard (empties the Safari cachee) then quit and relaunch Safari to test.
    If that helped, empty the cache more often.
    BTW, the Safari 5.1.10 update is available for download > Safari 5.1.10 for Snow Leopard

  • Download files from the URL and store them in the table

    Hello,
    I want to download files from the URL and want to store them in the table.
    Can I do it using sql/pl-sql.
    Please help me on this.
    Thanks,
    Rajendra Yadav

    Never tried it before...
    Is this what you are talking about?
    http://www.oracle-base.com/articles/10g/file-upload-download-procedures-10g.php
    Cheers,
    Manik.

  • I have 2 missed calls on my iPhone but when I try to pick them up, the screen goes back to the first page, any ideas?

    I have two missed calls on my iPhone, each time I try to pick them up, my phone returns to the home screen, it will not let me see my recent calls. I have restored my phone, switched it off, taken the sim card out etc but still have the same problem. Has anyone any ideas?

    First thing you need to check is if you have do not disturb on to find this out got to settings-do not disturb and tap on it and turn it off this should work

  • Can URL opening by pasting on the web page be re-enabled in Firefox 5?

    Under Linux, in previous versions of Firefox (and Seamonkey, all the way back to Mozilla), I could open a URL by selecting the text in an xterm, then using the middle mouse button "paste" it anywhere in web page document window. That text would then open as a URL.
    This no longer works in Firefox 5. Is there any way to re-enable this feature ?

    Here's how to re-enable this feature :
    Browse to: about:config
    Enable "middlemouse.contentLoadUrl"
    Next you probably want to set editor.singleLine.pasteNewlines to 2 or 3 lines; it 'repairs' URLs that contain newlines.
    Enjoy !

  • How to encode the data to HexDec in url and decode back to data from HexDec

    Hi,
    Pls can any one give me solution on this.

    Do you man you need URL decoder? If so then java.net.URLDecoder.

Maybe you are looking for

  • Updated to Airport Utility 5.3.2 - now can't see my time capsule disk!

    I updated to 5.3.2 of the Airport Utility through software update but, after rebooting both my Mac and Time Capsule, I can now no longer access my Time Capsule's disk. Airport Utility says 'no disks found' A similar thing happened after the update to

  • HP Deskjet 1000 j110 sleep mode on Mac OSX 10.7.2

    Just bought a Deskjet 1000 j110 for an iMac.  I have it hooked up and updated drivers loaded (as of 11/21/11).  When I let the printer sit idle, it appears to go into a sleep mode (power button fades in and out).  When attempting to print, I see "Wai

  • Duty exemption pass book in IMPOT PO

    hello everyone In Import P.O. how i can map senario for duty exemption pass book licence for clearing goods from custom .Tax proceduer TAXINN . Thanks in advance. Ragards Raj Jin

  • Burning clips to a DVD

    Hi all, I have a sony HDR-CX7, which I import clips from to my computer. Is it possible to burn the clips I download directly to a DVD without adding all the menus and staff? Thanks, Ziv

  • Multiple user/ID -address book not separable

    We have two users and two apple id one for me ond one for my partner on my imac. Why it is not possible at all to have also two different addressbooks? Asked the support phone line, he told me I have to go in by separate ID`s but I did, always the ad