How can automatic save file from apex to user local directory?

how can save pdf file from apex to user local directory on button click?

>
Welcome to the forum: please read the FAQ and forum sticky threads (if you haven't done so already), and update your profile with a real handle instead of "940509".
When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
<li>Full APEX version
<li>Full DB/version/edition/host OS
<li>Web server architecture (EPG, OHS or APEX listener/host OS)
<li>Browser(s) and version(s) used
<li>Theme
<li>Template(s)
<li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.
how can save pdf file from apex to user local directory on button click?As Tony points out the ability to do so would represent a major security breach. The normal approach is to present the user with a download link that when clicked prompts them with a Save dialog in which they can select a location for the downloaded file.
What is the source of the PDF file?

Similar Messages

  • How can I save files from disc recovery mode?

    My Imac wont boot - disc recovery wants me to save files before reloading OSX - how can I save them?. I have a new external hard drive to plug in.
    I have tried safe start and resetting PRAM, neither work . I am in disc recovery mode and disc repair cannot fix my hard drive and is telling me to back up my files. How can I do this from this situation?

    If you have another mac available start your imac in Target Disk Mode and backup your files that way. OS X Mountain Lion: Transfer files between two computers using target disk mode

  • How Can we move files from apex database to third party database (i.e. Google drive)

    Hi All,
    I am storing the files in apex database which are uploaded through apex form. Now i want to move these files to the third party server on regular bases. Means once we stored those files in our apex database at specific time on everyday we have to move these files to google drive. How can i achieve this please do  need full.
    Version: apex 4.2
    Regards,
    Vijay J

    Hi Vijay,
    Check out the following code: https://gist.github.com/trent-/7526011
    The following need to be set accordingly
    g_upload_folder_id - the google folder ID (obtained from the URL) - used as a default to upload into a particular folder
    g_wallet_path - the path of your oracle wallet with the trusted certificates imported
    g_wallet_password - the password for the above wallet
    g_redirect_uri - The procedure that has your implementation with what to do after the user accepts
    g_client_id and g_client_secret - property's from your project out of your google API console
    l_endpoint_url in the function authorization_code_callback - the page to go to after authorizing
    This particular code is designed to use a refresh token such that once the user authorizes, the system can refresh the token whenever they need. But you can adjust this to suit your needs. I suggest reviewing the following documentation: https://developers.google.com/accounts/docs/OAuth2WebServer
    So, here is what I've done. Create a button, with a dynamic action click event with the following code:
    $.ajax({
        url: '&OWNER..google_drive.GET_AUTHORIZATION_URL',
        data: {
            p_state: &APP_SESSION.
        success: function(data){
            window.location.href=data;
    This redirects the user to the authorization page. And as you can see in the code, would run the following when authorized:
    update app_users set refresh_token = (returned token); -- that is, depending on your user management design, you would need to adjust this accordingly.
    Then to upload the file, I have an onsubmit process with:
    declare
        l_filerow apex_application_files%rowtype;
    begin
        select * into l_filerow
        from apex_application_files
        where name = :P133_ATTACH_DATA;
        :P133_GOOGLE_DOC_ID := google_drive.create_file(l_filerow.blob_content, l_filerow.mime_Type, l_filerow.filename);
    end;
    Please also review the following post, which describes the overall process of setting up the project, wallet, acl, etc: Oracle Apex Tips: Accessing Google Data
    There are probably bits of the code that need refinement, and better error checking, but hope it helps :-)

  • How to recover plist files from a deleted user home directory .dmg file

    Our company is starting to have our mac users authenticate against active Directory, One of the requirement is that the local mac user account short name can not be the same as the active directory account so it is necessary to remove the local users account, we do this by removing the local and turning the home directory into a .dmg file, after the user logs in with their active directory account, we mount the .dmg file and move the files over to the new home directory, However the system does not transfer over the pervious system setting such as Dock settings Desktop background setting, and plist files how do we get these setting moved also.

    there is nothing else to transfer. the problem is probably related to the fact that you are using AD. I'm not familiar with it so can not comment further.

  • How do i save files from mac pro to an external hard drive

    how do i save files from mac pro to an external hard drive

    Your external drive is formatted NTFS which OS X can read from but not write to. You can either install third-party software on the Mac to enable writing to the drive or repartition and reformat the drive for exclusive use with the Mac. If you don't need to move files between a Mac and a PC, then I would recommend the latter solution.
    Tuxera NTFS 2012.3.2
    NTFS for Mac OS X 9.5.3
    To repartition:
    Drive Preparation
    1. Open Disk Utility in your Utilities folder.
    2. After DU loads select the external hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Security button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.

  • APEX: How to execute Script file from APEX

    Hello All,
    Can anyone tell me how to execute script file from APEX?(Step by Step process)
    Thanks & Regards,
    Jiten Pansara

    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21677/sql_rep.htm#AEUTL193
    Regards,

  • How can I save videos from iPad to Mac?

    How can I save videos from iPad to Mac?

    How to Transfer Photos from an iPad to a Computer
    http://www.wikihow.com/Transfer-Photos-from-an-iPad-to-a-Computer
    Importing Personal Photos and videos from your iOS device to your computer.
    http://support.apple.com/kb/HT4083
    iTunes: Frequently asked questions about viewing and syncing videos
    http://support.apple.com/kb/HT2729
    Also check out the Photo Manager Pro app.
    https://itunes.apple.com/us/app/photo-manager-pro/id393858562
    Check out the Feem WiFi File Transfer app
    https://itunes.apple.com/us/app/feem-wifi-file-transfer-free/id596378699?mt=8
     Cheers, Tom 

  • How can i open file from adobe reader..i already have adobe read

    how can i open file from adobe reader..i already have adobe reader installed and cannot open a
    file and i cannot convert my file into pdf..

    Is the file really a PDF? Where is it? Have you tried opening it from within Reader?

  • Where can I find the Start up disk and how can I delete file from it.

    where can I find the Start up disk on theMac Book Air?
    How can I delete files from it?

    The startup disk is the internal SSD in your MBA.  You may delete files by draging the file  to Trash (or clicking on them and then execute COMMAND+Delete).  Then empty Trash.
    Ciao.

  • How can I access files from a flash drive that were previously saved using a Windows computer? When I attempt to open the file on MacBook Pro, it is asking to "convert file to"; I also have Microsoft Word installed on the Mac as well.

    How can I access files from a flash drive that were previously saved using a Windows computer? When I attempt to open the file on MacBook Pro, it is asking to "convert file to"; none of the options I choose work. I also have Microsoft Office (with Word) installed on the Mac as well.

    Format the external drive as FAT32 or ExFAT. Both computers will then be able to read and write to it.

  • How can i copy files from one external hard disk to another using macbook pro with retina display

    How can i copy files from one external hard drive to another using macbook pro with retina display?

    That's odd - if you open Disk Utility (Applications->Utilities) and select the disk(s), how are they formatted? If you're only going to be used with your Mac, they should be formatted as "Mac OS Extended (Journaled)".
    Clinton

  • How can I transfer files from one external HD (WD My Passport) to another external HD (Seagate Backup Plus)?  WD drive was improperly ejected and Finder no longer recognizes it.  Tried fixing with Disk Utility but failed.

    How can I transfer files from one external HD (WD My Passport 2T) to another external HD (Seagate Backup Plus 2T)?  WD drive was improperly ejected (although we did tell it to eject) and now Finder no longer recognizes it.   Using MacBook Pro and I just upgraded to Yosemite before this happened. Was told at Apple Store to use Disk Utility to repartition, but it failed.  It says to backup files and restore.  But how do I backup files?  Or would appreciate any other suggestions to repair drive.

    You may drag & drop between external hds. 
    Should you run into trouble.
    Take the exernal drive appart.  Take out the harddrive.  Try reading the data via a usb adapter. Put a household finan on the hd.
    http://www.cablewholesale.com/products/usb-firewire/usb-2.0-products/product-40u   2-01000.php?utm_source=Nextag&utm_medium=cpc&zmam=54972865&zmas=1&zmac=4&zmap=4 4 77

  • How can i upload files from one ip address to another  ip address machine ?

    how can i upload files from one ip address to another ip address machine ?

    i need to copy files from one client m/c to server m/c like sftp
    please suggest solution on this

  • How can i transfer files from adobe reader to my kobo e-book

    how can i transfer files from adobe reader to my kobo e-book??

    I think you should ask in the Digital Editions forum,
    http://forums.adobe.com/community/adobe_digital_editions
    This is the Reader one.

  • How can I transfer files from my computer to my I pad ?

    How can I transfer files from my computer to my I Pad?

    Try a conduit such as Dropbox.
    Goodreader or Documents to Go also have helper apps that allow transfers.
    Goodreader is particularly good in that it has a integal file tree and you can mount your computers harddrive and navigate directly on your ipad.
    Use the open with to view/move files into other apps.

Maybe you are looking for

  • 24" iMac with dead pixels

    I haven't seen any threads about this so I figured I'd give it a go and see how many others have dead pixels. My first 24" that I took home from the Apple store had one single, almost not noticeable, dead pixel. Most LCD manufactures will not warrant

  • Two iPhone under one iCloud account - trying to send a text to the other phone but I am the one getting hte message from myself...? How do I fix that?

    I have recently added a iPhone 4S to my account (my daughters) and I tried to send her a text message but I got the message sent to my phone... How can I fix this?

  • Flash websites?

    I have found that my iPhone G3 will not display the video contained in sites that require a flash plugin. Is this supposed to happen. I assumed that since the iPhone can display video that there would be no problem with flash or shockwave sites. I as

  • Re: Container Based Software Configuration Management

    I've read the overview of Container Based Software Configuration Management and have to admit that it is a nice concept. In fact, our SCM product SiberSafe Expert 2.0 (www.siberlogic.www) almost literally follows the guidelines mentioned in the overv

  • Can we pass arguments within HTML pages

    can we send some arguments among the HTML pages. eg: say if I have a form in one.html whose action is two.html?txtText=evil&txttext2=actuallywon if the same page was requested to a JSP page I could have retrived through request.getParameter(""); But