EXPORTed file name

hi,
We have a requriment that when a user EXPORT a report in Excel the name of report should include the DATE Selected in Prompt. So if i run a report of 1-Jan-2012
Then name of the report should be ,<YYMMDD_Report1> that is <20120110_Report1>.
Is this requriment feasible? there is any workaround to achieve it ?
Thanks

You will need to use ibots and javascript. Take a look at this for some hints:
http://siebel.ittoolbox.com/groups/technical-functional/siebel-analytics-l/ibot-delivery-to-a-file-server-2970784
http://oraclebizint.wordpress.com/2007/12/17/oracle-bi-ee-101332-calling-java-scripts-and-java-classes-from-ibots/
http://sureshotstrategies.wordpress.com/2008/04/12/writing-ibots-results-to-a-file/

Similar Messages

  • Add report parameter to the export file name

    is it possible to pass a report parameter(s) as a file name when saving an export?
    eg if I have a list of cars AUDI,MAZDA,BMW,TATA  on a multi select drop down and I search for BMW,MAZDA so is it possible for me when i'm clicking on my export to have BMW,MAZDA as a filename without renaming it

    Hi waras,
    We can use report Viewer control that shipped with Visual Studio to achieve your requirement. For more details, please refer to the following blog:
    http://www.jimandkatrin.com/CodeBlog/post/Setting-export-file-name-in-SSRS-report-viewer.aspx
    If we are using SSRS in standalone way, Reporting Services does not supports automatically rename the filename with parameter name when export a report.
    Personally, I think the requirement is a good point. Additionally, if you have any concern about this, please submit a feedback at
    https://connect.microsoft.com/SQLServer/Feedback. Connect site is a connection point between you and Microsoft, and ultimately the larger community. Your feedback enables Microsoft to make software
    and services the best that they can be, and you can learn about and contribute to exciting projects.
    Thank you for your understanding.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How can I auto export a PDF File using the "Smallest File Size" preset and set the Exported File Name based on information from an Imported PDF?

    Greetings all,
    I am trying to create a script to automate a PDF export process for my company for inDesign. I’m fairly new to inDesign itself and have no previous experience with javascript, although I did take C++ in high school and have found it helpful in putting this code together.
    We have an inDesign template file and then use the Multi-page PDF importer script to import PDF files. We then have to export two version of each file that we import, then delete the imported file and all of the pages to reset the template. This has to be done for nearly 1000 pdf files each month and is quite tedious. I’m working on automating the process as much as possible. I’ve managed to piece together code that will cleanup the file much quicker and am now trying to automate the PDF exports themselves.
    The files are sent to us as “TRUGLY#####_Client” and need to be exported as “POP#####_Client_Date-Range_North/South.pdf”
    For example, TRUGLY12345_Client needs to be exported as POP12345_Client_Mar01-Mar31_North and POP12345_Client_Mar01-Mar31_South.
    There are two templates built into the template file for the north and south file that are toggled easily via layer visibility switches. I need to get a code that can ideally read the #s from the imported Trugly file as well as the Client and input those into variables to use when exporting. The date range is found in the same place in the top right of each pdf file. I am not sure if this can be read somehow or if it will have to be input manually. I can put North or South into the file name based on which template layer is visible.
    I am not sure how to go about doing this. I did find the following code for exporting to PDF with preset but it requires me to select a preset and then type the full file name. How can I set it to automatically use the “Smallest File Size” preset without prompting me to choose and then automatically input some or preferably all of the file name automatically? (If the entire filename is possible then I don’t even want a prompt to appear so it will be fully automated!)
    PDF Export Code (Originally from here: Simple PDF Export with Preset selection | IndiSnip [InDesign® Snippets]):
    var myPresets = app.pdfExportPresets.everyItem().name;
    myPresets.unshift("- Select Preset -");
    var myWin = new Window('dialog', 'PDF Export Presets');
    myWin.orientation = 'row';
    with(myWin){
        myWin.sText = add('statictext', undefined, 'Select PDF Export preset:');
        myWin.myPDFExport = add('dropdownlist',undefined,undefined,{items:myPresets});
        myWin.myPDFExport.selection = 0;
        myWin.btnOK = add('button', undefined, 'OK');
    myWin.center();
    var myWindow = myWin.show();
    if(myWindow == true && myWin.myPDFExport.selection.index != 0){
        var myPreset = app.pdfExportPresets.item(String(myWin.myPDFExport.selection));
        myFile = File(File.saveDialog("Save file with preset: " + myPreset.name,"PDF files: *.pdf"));
        if(myFile != null){
            app.activeDocument.exportFile(ExportFormat.PDF_TYPE, myFile, false, myPreset);
        }else{
            alert("No File selected");
    }else{
        alert("No PDF Preset selected");
    So far my code does the following:
    1) Runs the Multi-Page PDF Import Script
    2) Runs PDF Export Script Above
    3) Toggles the Template
    4) Runs #2 Again
    5) Deletes the imported PDF and all pages and toggles template again.
    It’s close and much better than the original process which was almost 100% manual but I’d like to remove the Preset prompt from the PDF script and have it automatically select the “Smallest File Size” preset. and then if there’s a way to have it auto-fill in the file name so no user input is required at all other than selecting each file to import. (If there’s a way to setup a batch action for the multi-import script that would be even better!)
    Thanks in advance and if there’s anything else I can provide that would help please let me know! Even a nudge in the right direction will be a big help!

    If you hold down the option key, it will typically show the location. Or you can often hit option-return on the file and it will reveal the file in the Finder, instead of opening it.
    Final option is to open it, and just option-click the filename in the toolbar of Preview and it should show you the location.
    It's probably an attachment to an email you've received. If you have Mail set to cache emails and their attachments it'll be stashed in a subdirectory of ~/Library/Mail. Which is fine.

  • How do I add leading zero(s) to exported files' names?

    I'm using Lightroom 1.4 on an iMac, with OS X 10.4. When I export a batch of photos, they get numbered automatically. For example, if they're pictures of my dog, I'll specify "Dog" as the name to be used and 1 as the starting number. Lightroom will then export them as "Dog-1.tif" and "Dog-2.tif" and so on.
    The problem is that when I then load these files into another application, it thinks that "Dog -1.tif" should be followed by "Dog-11.tif," then "Dog-12.tif," and so on to "Dog-19.tif" and then "Dog-2.tif," "Dog-20.tif," "Dog-21.tif," etc.
    One solution to this would be to have them numbered as 01, 02, 03. . . 09, 10, 11, etc. Rather than add those leading zeros to the file names manually, I'd like to have Lightroom put them in when it exports the files, but I can't figure out how to do that. I've tried entering 01 as the starting number in the "Export" dialogue box, but that doesn't do the trick.
    Can anybody tell me how to get Lightroom to add a leading zero (or zeros, when I export more than 99 files at a time) to the file names?

    >What if I just wanted to name the images 0001, 0002, 0003, etc? Can't seem to figure that out.
    In the Filename Template Editor, simply insert the [Sequence # (0001)] token as the only entry in the template field.

  • Append date to exporting file name in SQL reporting service

    When exporting a report to another format, say excel,PDF; the file name is always set to the report name. Our client has a requirement where whenever a user exports a report to pdf, the timestamp of when the data of the report was made should be appended in the filename. Is there a way to do this in Reporting Services as well as report builder?
    example : Report name : Testreport
    Exported file should be : Testreport-November-22-20076.pdf
    please help me in this
    Thanks
    suku

    Hi,
    I know it's been while since this question was posted. I am replying so that it'll be useful for other people when they come across this same situation.
    If you have access to SQL Server Agent to create jobs then this idea will be helpful -
    1. Connect to your Report Server from SSMS.
    2. Note the ItemID for your report by executing this query
    select *
    from ReportServer..Catalog
    where Path like '%NameofyourReport%'
    3. Create a job in here with the name say "AppendDatetoxyzreport" and add a step in it with the code
    UPDATE [Catalog]
    SET [Path] = '/PathofyourrerportfromReportServer/ReportName_' + CONVERT(VARCHAR(8), GETDATE(), 112),
    [Name] = '/ReportName_' + CONVERT(VARCHAR(8), GETDATE(), 112)
    WHERE ItemID ='<ItemID>'
    4. Create another job with a name like "RemoveDatexyzreport" and add a step in it with the code
    UPDATE [Catalog]
    SET [Path] = 'PathofyoureportinReportserver/ReportName',
    [Name] = 'ReportName''
    WHERE ItemID = '<ItemID>'
    5. Now set your AppendDatetoxyzreport job schedule to execute first, then the Report's subscription and then the RemoveDatexyzreport.
    By doing this the first job changes the name to include present date, then you get you report and the next job sets it back to its previous name.

  • Changing an export file name by using a time stamp

    Hello Everyone,
    I am trying to create a way, utilizing the Report Attributes/Report Export field, to have an export file created with a time stamp associated with the file name.
    The reason for this is that I have users who will do multiple exports to Excel from a single parameters driven report. As opposed to manually giving the file a unique name each time the export occurs, I would like to give the export a time stamp as part of the name therefore making it unique.
    Any help would be greatly appreciated.
    Thank you

    I found the typo mm instead of MM which was my problem from the beginning.  MM represents month not mm.  A simple mistake that costed a lot of time.  Thanks Mike
    Cheers, you're very welcome. Glad I could help out.
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • How to Customize exported file name

    Guys,
    Need your assistance for one of the requirement.
    I have a report which gives info about sales & invoice. I'm using BO XIR3 to refresh this report each time.
    My requirement is after refresh, when I do export to excel/pdf, the file should be stored on my local machine with NAMING in customized format. i.., report name followed by Fiscal Week Name.
    Ex: Report name: sales.rep, the download excel or pdf should be named as sales201048.xls or sales201048.pdf
    Please assist on how to do this. I'm new to this tool.
    Hoping for your kind response.

    With InfoView it is not possible. Max you can place add only Date and Time.
    However, you can use SDK and schedule the report and set your required name by implementing the logic of adding WeekNumber to the file name within your java code.

  • Override Export File Name

    Hi Everyone,
    I have a question which I cannot see being asked in the forum yet.
    I'd like to override the standard behaviour of exporting files to the target system by loading an once exported file again if the POV has not been validated since the last target data load. This is to speed up batch loading (we load 1500 POVs every night to Essbase). As such I need to overwrite the name of the export files as they are not unique and file names may be used more than one time for different POVs.
    Is there any way to do this in an action script? I can see that strFile occurs as a parameter in the function calls for BefExportToDat, ActExport etc. I was not able to find an API function for this purpose yet and manipulating tPOVPartition.PartLastExpFile for the location was not doing the trick as this entry is overriden in the background after export.
    Thanks in advance.
    Regards,
    Hauke

    Wayne,
    Thank you for your answer. You lead me into the right direction. Obviously, something was going horribly wrong when I tested the manipulated export script for the first time. This caused FDM to overwrite export files during batch and made me believe that the file names are not uniquely exported for all POVs.
    For anyone interested, FDM is keeping the export filenames unique for all POVs as long as historical export data files exist in the Outbox folder. When you clear the Outbox folder, file names are reused in different POVs during export. You may query the last file which was exported for any POV in the tDataArchive table in FDM.
    I am querying this table instead of tLogActivity now and move the file which was exported last for the respective POV and the filename has not been reused by another POV (due to clearing Outbox) afterwards to the filename which is created by FDM before exporting. This is speeding up the export batch to run in one fourth of the time compared to the original export behaviour as the database is not queried for all these files.
    Best regards,
    Hauke

  • Exporting File Name to "Raw Data" Metadata

    At one time I was able to export a file's original file name in the "Raw Data" area of the metadata. I seem to have lost that ability in LR 4. I find this useful when a client renames a file and then wants me to find the original. I would open the file in Photoshop (or even a word processor) and the original name would be in the Raw Data area in File Info.
    When LR 4 imports the file the first time, it apparently still creates the xmp file with the file name at the end of <rdf:Description rdf:about="" field and it looks like:  crs:RawFileName="_DSC6501.NEF">
    At one time Lightroom exported that info. But now I seem to have lost that file name info, even with "Export All Metadata" selected.
    This is how it would look in Photoshop's File Info:
    <rdf:Description rdf:about=""
                xmlns:crs="http://ns.adobe.com/camera-raw-settings/1.0/">
             <crs:RawFileName>DSC_8466.NEF</crs:RawFileName>
             <crs:Version>6.7</crs:Version>
             <crs:ProcessVersion>5.7</crs:ProcessVersion>
    Now it just says:
    <rdf:Description rdf:about=""
                xmlns:crs="http://ns.adobe.com/camera-raw-settings/1.0/">
             <crs:Version>7.0</crs:Version>
             <crs:ProcessVersion>6.7</crs:ProcessVersion>
    What am I missing?
    Thanks!
    Stan

    Hi John, Thanks for your reply. I actually use Metadata Wrangler, but there is no "copy original file name into metadata" switch that I can see. And when you ask it to export all metadata, it actually doesn't.
    After several hours of testing I've found the culprit. Lightroom does not export all the metadata if you save it to a JPEG file, even if you tell it to. Neither does Photoshop's "Save for Web" even if you tell it to save all metadata. Both lose the field with the original file name (see my first post above).
    But if you export the file to Photoshop using the "CMD + E" command, Photoshop gets all the metadata.  If you then "Save As" a JPEG, the original file name travels to the newly created JPEG file.  It's there in the metadata. If you then do the same thing with "Save for Web" with "metadata" "all" you lose the file name field.
    So since you are asking all these programs to "save all metadata" and they don't, I would consider that a bug.
    Wouldn't you?

  • FCP changes exported file name

    Just checking to see if this is a small bug/quirk in the software. I export UC QT movies constantly from FCP. Occasionally, it will cut off the last letter of a file name I set and append some gibberish, like #6DB5 or something. I delete render files, rerender, and same thing. Sometimes I batch export, and only one file in the batch will get this problem. Just a bug?

    This is when you have FCP limited to a certain size of file on export (often 2000 MB). I believe this was designed to cope with MSDOS limitations of 2gig per file on their file system, so the original QT would link to several under 2 gig size files. Change or remove your limit - it's under System Settings - remove the tick from Limit Capture/Export File Segment Size...
    post back,
    Patrick

  • Export file names with Face name?

    There doesn't appear to be a way to do this from what I can tell but I figured I'd ask. I'd like the export photos so the name of the file is the person's name. Possible?

    You can export a file, so that the version name is used as the filename for the exported file. So you would have to open each Faces stack and rename the versions in this with a custom name preset, where you add the name of the person to the custom name.
    A lot of work.
    If you export the an image version with a named face, Aperture 3.5.1 will add the name as a keyword to the exported file. Perhaps the keyword will suffice for your purpose?

  • Export File Names with Dashes

    How do I tell Illustrator to NOT put dashes in the file names when I save for web and to JPG or PNG, etc. etc.?  I take them out, only to have Illustrator put them right back in. I can understand if this is for people creating images specifically for websites, whereby spaces are invalid for file names, but I'm not and I happen to like my spaces, thank you very much! Frustrated.

    You can export a file, so that the version name is used as the filename for the exported file. So you would have to open each Faces stack and rename the versions in this with a custom name preset, where you add the name of the person to the custom name.
    A lot of work.
    If you export the an image version with a named face, Aperture 3.5.1 will add the name as a keyword to the exported file. Perhaps the keyword will suffice for your purpose?

  • Export File Names from Finder Window...

    I want to export all the file names in a finder window to a file that I can use in Excel (txt, csv, etc.). Can I do this directly from the finder window somehow?

    The answer just above is excellent.
    One additional point which might assist when importing into a spreadsheet.
    If you use a simple naming convention which I developed about 6 years ago for exactly this purpose, you can sort on various features of documents, etc.
    The name of each file is:
    International date,originator,receiver,subject
    This structure looks like this:
    2008-09-12,dwc,you,naming files for spreadsheet use
    THis allows for automatic date sorting or date structuring of files chronologically
    It allows one to know who or what was the source of the document
    It allows one to know to whom it was sent
    and it allows a brief subject with keywords
    More important, because commas are used to separate the fields, they can
    be used as delimiters when importing the text file into a spreadsheet, thus allowing far greater sorting capabilities.
    Best wishes,

  • Export File name as system time and date

    Dear all
    Please kindly help me to get the solution
    I want to mark my dunp file as system date and time.
    thanks adv
    Ora-BD

    Hi..
    Refer to below link, it might be helpfull
    Export dump file and log file  name as sysdate in script
    Anand

  • Date concatination to export file name on windows / Novell

    Hi everybody,
    I need utility which can add date at end of export file. How its possible in DOS/Windows/NT/Novell.
    eg: exprod.dmp --- exprod07122002.dmp
    Thanks

    If you're invoking export with a shell script you could do something like:
    exp file=exp%date%.dmp <other options>
    If you want to format the date you need to do something ugly like:
    setlocal
    for /F "tokens=1-4 delims=/ " %%i in ('date /t') do (
    set DayOfWeek=%%i
    set Month=%%j
    set Day=%%k
    set Year=%%l
    exp file=exp%Day%%Month%%Year%.dmp <other options>
    endlocal
    -Antti

  • Export File Names from a Folder to a Database Program

    Ok, so this one probably fairly simple, I just cant seem to figure out how to do it. I have a folder containing over 200 file names. It is my wish to figure out a way to import all the file names (just the names) into a document, preferably an MS excel doc. I assume their is a way to do this with auditor maybe, but I am not sure. Any one know how to do this.
    Thanks for your help in advance

    Hi, Tim. This should do it for you:
    http://www.corieslate.com/projects/filelister/index.html

Maybe you are looking for

  • How do I get to make tracks list in the proper order in a playlist?

    I name all the tracks in the playlist with the same album name.  I idicate the number of tracks.  Then I separately name each track and its number within the album. The tracks still will not list in iTunes in the CORRECT ORDER, as they used to in ear

  • Pdf file transfer using ftp in java

    Hi, I am tried to get a pdf file from ftp. I am using the following code. This code works fine with .txt files but not with .pdf files. The pdf file generated is empty. import java.awt.Desktop; import java.io.File; import java.io.FileNotFoundExceptio

  • How to download item from computer to ipodtouch?

    don't what happen to itunes???

  • ME21N and Subcontracting

    Is it possible to enter the batch number at component level in a subcontracting purchase order (ME21N) ? As far as I know, the batches are entered when sending the components to the vendor (movement type 541) and they are not entered when creating th

  • Split table record into several lines - pdf forms

    hello experts im trying to split a table record into several lines in order to present the whole table record in the form. for example: table T has 4 fields F1 F2 F3 F4 if the tables has 2 records - R1 and R2 (every record contains 4 data fields) the