Save last path from webutil file dialog

Is it possible, or how is it possible to save every client's "last path" from choosing files with webutil?
When we used forms 6, the standard Windows file dialog appeared and it's saving the last path where a file was choosen. With the "new" webutil filedialog this behavior changed and it always opens at the "initial" directory.
Is there any solution to this?
Thanks in advance for help

If you are using the WebUtil_File.File_Open_Dialog() function, you can specify the directory_name as a parameter. When you open a file for the first time in your form, just capture the directory location to a variable and pass this in subsequent calls. Unfortunately, since your form is now Web Deployed, Forms uses Java to display a File Open Dialog so it doesn't retail the last location opened.
Craig B-)
If someone's response is helpful or correct, please mark it accordingly.

Similar Messages

  • How can I script moving paths from one file to another?

    Hello. I have 1 image with various color correction layers. The other is the exact same size but only contains paths. How can I script moving paths from one file to another? Thanks, in advance, for any help you can offer. Thanks!

    Thanks! This one actually worked for me. Thanks for your help.

  • How to get folder(directory path only not file path) from local file system

    Hi Firends,
    How to get folder(directory path only not file path) from local file system , whenevr i will click on browse button.
    Please give reply for this one , if anybody knows.

    Hi Anderson,
    if you're using flash.filesystem.FileReference - then it is run in black box - except of filename, size and creation data (and few other properties available after some operation succeeded). This is part of security features in Flash runtime (described in header section): .html
    This for example implies that user can download a content to local machine - but that content cannot be loaded back into Flash runtime. For this you would need either Air runtime flash.filesystem.File: tml
    (so you would created Air runtime based application: desktop or mobile but not web, even as standalone project) or you would need one of 3rd party tools that add file access/file information features to standard Flash runtime applications converted to standalone native applications.
    kind regards,

  • Problem with webutil file dialog box when trying to save/open

    Approximately 12 months ago we had this same issue and I think we managed to resolve it with a one off patch. Were getting it on another site now so any info will be much appreicated.
    Basically when using webutil file chooser Client_Get_File_Name to upload/download something to/from the database it works sporadically.
    When we choose a location to upload from or download to. we then click the buttonon the webutil file chooser and the box disapears without doing anything. Sometimes it works ok but i cant find any pattern to it working/not working
    Has anyone else experienced these problems?

    i found it
    patch 6127521

  • Getting the file path from a File browse button

    I was wondering if there is a way to extract the whole file path (not just the file name) from a file which is selected using a file browse button?
    I am trying to save the file path as text in my database (I don't want to upload the file). I have linked the file browse object to a table field in the database. But when entered in the database, all I get is a series of random characters, followed by the file name. I would like to have the complete file path instead.

    Hi thanks
    I've placed the java script into the head of the page, but unsure as to how to change the taget url for my submit button from doSubmit('SUBMIT') to doPrepareAndSubmit('SUBMIT'). In fact I don't actually have a submit button, but a save new record (which performs an SQL INSERT into the database using the values contained in the fields on the page) or a update record buttons instead.
    I'm sorry but my knowledge of java scripts is not very good either.
    How do I do the follwoing?: if your submit button has not any target set its target to url:
    javascript: doPrepareAndSubmit('SUBMIT')
    Cheers, Tom

  • How to get physical file path from logical file path

    there is a immediate requirement ,
    I have logical file path but I need to get physical file path from it.
    So is there any FM which providesthis functionality.
    Points will be rewarded.

    Can you please share the piece of code ?
    Which File APIs are you using ?
    For java file, you can get complete path by simple method call : getAbsolutePath() on file object.
    Ashwani Kr Sharma

  • Is there any FM to separate the path from the file ?

    I have a file given by WS_FILENAME_GET. I want the path and the file in different fields. How can I split them?
    thank you

    or use:
    data delimiter value '\'.
    split file at delimiter into table sptab.
    1) file = last entry
    loop at sptab.
    2) dir
    delete sptab.    "del file
    loop at sptab.
    concatenate string sptab delimiter into string.
    Message was edited by:
            Andreas Mann

  • Read last characters from a file

    Hey All:
    i'm a novice when it comes to powershell- but this is what i'm trying to do.
    I have the following command-
    I want to then read the last three characters of the computername from the file. If there is a 'cleaner' approach
    please enlighten me.
    Thanks for all the help

    Here's a method you can use:
    $name = (Get-WmiObject Win32_ComputerSystem).Name
    $shortName = $name.SubString($name.Length - 3)
    EDIT: Show on the draw, see Tommy's response above.
    Don't retire TechNet! -
    (Don't give up yet - 12,700+ strong and growing)

  • Read to get the last line from a File

    I am sending in a clarification , hoping that I get an efficient solution from the group, should somebody have come across this scenario and implemented.
    How to read or get the last line from a text file , which usually have a no of records, without actually reading or looping through all the lines
    I know there is some solution with the RandomAccessFile, but given there can be some encoding issues or so.
    Please let me know if somebody have implemented the same.
    Thanks n advance

    The character encoding could, indeed, be an issue especially with UTF-8. I think what I'd do is to create a byte array with the encoded, expected end of line sequence in it and work on the file in bytes. For example, seek to the last 100 bytes of the file, read those bytes and look for an EOL sequence backwards. If not found read the previous 100, 200, 400 bytes etc. until you do find an end of line. Then seek to after the EOL and read normally. Remember an EOL sequence might cross a boundary.
    UTF-8 would be a problem, especially with a unix format file because you might mistake part of a multi-byte sequence for '\n'. To be reliable on UTF-8 you'd need to go back three characters looking for sequence start markers (has the previous character got the top bit set, or the one before that the first two bits set, or the one before that the top three bits). Or you could just react to an encoding exception and try another position.

  • Unable to SAVE AS psd from jpg file

    Recently installed PE 6.0 on Windows XP. After working on a photo in Quick Fix or Edit, when I select SAVE AS psd and then close, the supposedly saved file appears in the organizer as a torn-photo icon and then its properties are listed as ".jpg". So it looks like the jpg format was not changed to psd, and also that the photo is lost. Saving as jpg works fine. Any suggestions are most appreciated.

    Thanks for your time and advice, Barbara. This is what happened:
    First, I restarted editor while grabbing ctrl+alt+shift, and I got the delete settings query and clicked yes. This did not make a difference. Then, I started playing with blank files. After experimenting for a couple hours, I have found this: If I Save As in the File menu, and then CHANGE the format, AND change the title, it works to go from JPEG to PSD or the other way around, and the thumbnail in the organizer is normal and its properties reflect the change. However, if the title of the file is unchanged and I attempt the same thing, is when it doesn't work. Switching formats seems to depend on making a title change. Thanks again for your help.

  • How to create a link (path) from a file.

    I'm sending an email out and would like to tell the team where a graphic file (illustrator file) is located. I've seen in other emails where it comes in a form of a link (i.e.,  file://localhost/Volumes/creative/Active/VISUAL/; click on this link and takes one directly to the graphic file. I've tried control clicking on the file (MAC platform) and didn't see anything remote indicating a link.
    Does anyone has insight to this question?

    1. Read the file using OPEN DATASET and read and fill up the segment info and fill the EDIDC header data
    and then call function
          IDOC_CONTROL       =  i_edidc
          IDOC_DATA          =  i_edid4.

  • Gap in the path from Ai file

    hi, I have just ONE question.
    If you have any good answer, Please comment this discussion!
    Q: I have Ai file made by Illustrator CC, kind of follows
    There are no gap in the red point, It is touched(not overlap)
    However, When I open this file in Photoshop CC,
    There are tiny gap line
    I need to know "Why" and "how to make no gap file with Photoshop CC (I cant edit Illustrator file)"
    Thank you

    thank you response. It is touched, I think its not gap.
    Please check this image.

  • Getting path from file

    Good Morning,
    Is there a way to get a file path from a file without having to select it through client_get_file_name?
    for example i have a file 'test_01.txt' in C:/
    I cannot hard code the path as each day the txt name will change eg. 'test_02'.
    Is there another way to select the full path name in C:/ where file like 'test%'?
    Thank you in advance,

    Sorry francois ill be a more clear
    On a variable i want to keep changing the path provided.
    For example one day will be var:='C:/Test_01'
    next day will be var:='C:/Test_03'
    as the last number is generated randomly im trying to figure a way to get the correct path in C:/ where the name corresponds to 'test' so i can pass it to my variable
    Edited by: 794018 on 18-Oct-2012 00:50

  • On my new Imac, I had the trial version of Pages, and saved some files in it. Now I have purchased the full version from Apple via a download, but I cannot save or print the old files, please help!

    On my new Imac I saved some files on the free trial version of Pages, since downloading the full version from Apple, have been unable to save or print from old files saved when using the trial version. Any ideas? Thank you!

    My guess is the 30-day trial period has expired but you didn't remove the trial before installing the full version. The files to delete are the iWork ’09 folder from the main HD > Applications; the iWork ’09 folder in HD > Library > Application Support & the individual iWork application plist files found in HD > Users > (your account) > Library > Preferences for each user.
    Yvan Koenig has written an AppleScript that removes the files. You can find it on his iDisk in For_iWork > iWork '09 > uninstall iWork '

  • Save as file dialog can't browse

    I'm a Snow Leopard newbie. When I save a file (e.g. OpenOffice 'save as'), I get a file dialog where I can only choose between a few 'places' to save the file. I don't get to choose a new directory that I'd like to save to.
    Help would be greatly appreciated!

    There's a little downward-pointing triangle button next to the place where you type the name... click that and you'll get more options.

Maybe you are looking for

  • Setting up a new system

    Hello everyone, I'm setting up a new system and would appreciate any comments on the components I've selected: (the idea is to have a mid-range system, with room for upgrades in the future). thanks! CPU Overclocked Intel® Quad Core i7-3820 (3.6GHz @

  • MacPro - Kernel Panic while reading a movie... what can i do ?

    Hi all, i'm from Paris, France so please excuse my approximative english ! Here is my computer : MacPro - 2x2.8Ghz Quad-Core Xeon, 8Go Ram - OSX 10.5.7 - Hardware test done : all is ok. Here is the problem : When i launch a video, with EyeTv live for

  • XML file in the form of .config file how to convert it to class and store it in single object

    Hi, I have a config file in which i have to convert it to class and get an object. example: <?xml version="1.0" encoding="utf-8" ?> <xyz xmlns="">   <Container name ="Basic">     <Connectivity user="" server="" protocol="udp"/>     <Connectivity user

  • Goods Receipt and Goods Issue

    Hi Gurus, I am working on an interface where I need to work on a process that allows posting of Goods recipts and goods issue and for this I have been asked to create a custom transaction that will pull the data from the local file and replicate Good

  • ODI-HFM issue with decimal separator

    Hi all, We are extracting data from an HFM application A and loading into an HFM application B. Example: Data extracted from applicaiton A = 21.742.139,55 Data loaded to application B (verified from Explore Data and Smart View) =,00 Is