DataPump Problem. Automaticaly change dump file name.

Deal All
I have create a plsql block and which will backup the database using datapump.
He is working fine in scheduler but he generates error because it doesnot change
file name every time. Against the following he always generates
'EXPORT%U.DMP' = EXPORT01.DMP file name.
Please tell me how i can change every file name automatically.
Thanks
Abid

Hi,
I have 10.2.0.4 db on windows and want to have a full datapump export every night and want a unique file name but this does not work for me. The script just does not execute. I have even tried this from the command line
par file is
DUMPFILE='expdp_testdb_full.'||to_char(sysdate,'YYYYMMDDHH24MISS')||'.dmp'
JOB_NAME=expdp_testdb_full
LOGFILE="expdp_full_testdb.log"
DIRECTORY=DATAPUMP_DIR
FULL=Y
ESTIMATE=STATISTICS
CONTENT=ALL
PARALLEL=20

Similar Messages

  • I can not transfer date from one hard drive to another, I keep getting an error because I have two of the same file names and one file name is in caps and I cant change the file name

    can not transfer date from one hard drive to another, I keep getting an error because I have two of the same file names and one file name is in caps and I cant change the file name. My original external has an error and needs to be reformatted but I dont want to lose this informations its my entire Itunes library.

    Sounds like the source drive is formatted as case sensitive and the destination drive is not. The preferred format for OS X is case insensitive unless there is a compelling reason to go case sensitive.
    Why can't you change the filename? Is it because the source drive is having problems?  If so is this happening with only one or two or a few files? If so the best thing would be to copy those over individually and then rename them on the destination drive.
    If it is more then you can do manually and you can't change the name on the source you will have to reformat the destination as case sensitive.
    Btw this group is for discussion of the Support Communities itself, you;d do better posting to Lion group. I'll see if a host will move it.

  • If I change a file name, how can I get all the links to update?

    I've recently finished my webpage
    (kensingtonconcertseries.com),.....then my client wanted to change
    the name of one of his pages from 'Marold Duo' to
    'Rodewald-Morebello Duo.' All of my links to that page are to the
    original page(MaroldDuo.html). Arrrhhhhh!!! Is there anyway I can
    change the name of the page and have all the links within the
    website update automatically?
    I figured out my problem...make a copy and rename it and put
    it on the server. Simple....eventually, I'll have to get rid of the
    original file, but for now works well.

    On Sun, 3 Feb 2008 22:55:19 +0000 (UTC), "kai1111"
    <[email protected]> wrote:
    >I've recently finished my webpage
    (kensingtonconcertseries.com),.....then my
    >client wanted to change the name of one of his pages from
    'Marold Duo' to
    >'Rodewald-Morebello Duo.' All of my links to that page
    are to the original
    >page(MaroldDuo.html). Arrrhhhhh!!! Is there anyway I can
    change the name of
    >the page and have all the links within the website update
    automatically?
    If you change a file name within Dw's File manager - it will
    offer to
    update all pages linked to it, accept that invitation
    ~Malcolm N....
    ~

  • How to change the file name of pdf file in html page?

    Hi,
    Actually my requirement is to upload 50 PDF files containing javascript in each file into flex page with the help of one html page.
    i did the the javascript part by using batch processing.
    now i want to call those pdf files one after another without changing the file name in html page
    the code written in html page is
    <html>
        <body>
            <object id="PDFObj"
                    data="http:\\localhost\pdf\20090807 - Batch 630.pdf"
                    type="application/pdf"
                    width="100%"
                    height="100%">
            </object>
            </body>
    </html>
    So every time i have to change that file name to acess another file.
    Is there is any other way to sort this problem????
    Plz anyone help me to sort out this problem with some code or some example.

    I once had a similar task for creating a webpage that I only use on my computer--a webpage that accesses PDF's and SWF's font previews from a list of fonts as "a href's".  What you must do is utilize the power of the command line, whether on a Mac on a PC or on Linux, Linux being the most powerful (although Mac IS Unix).  You must utilize variables, variable replacement, and then a command to print out the results of a "for" or "while" loop to a text file which will be your HTML file with each individual link automatically built into the HTML code.  You will have a list of 50 links.  If you are simply looking for a GOOGLE type functionality where you click on "Next" and "Previous" you will have to dig deeper into variable replacement--this I don't know how to do yet but there are books for command-line shell interpreters.  One shell interpreter is called "bash" (born-again shell) and there is a book on the market which gives a detailed example of how to replace variables in a shell script.  Again, I don't know how it works.  I will try to learn this at a later time when I am more seasoned with the basics of shell scripting.

  • IPhoto: After I've changed the file name/format in Finder iPhoto can't load/relink to the referenced file.

    After I've changed the file name/format in Finder iPhoto can't load/relink to the referenced file anymore. For some reasons I don't like to reimport the file.

    Hmm the advice has been not to use referenced libraries - you ignored and did it anyway and you find the advise not helpful
    Furthermore the advice is that if you choose to use a referenced library that you assure that the path never changes - you also choose to ignore that advice and do it anyway - and you blame the peopson trying to help you
    once again - you have one choice - change the file names back and put the files back in the exact same place - and again you are totally ignoring the advice and instead name calling and attacking the person giving you advice
    Maybe life would be easier if you followed advice rather than ignoring it and then complaining that things no longer work
    change the name back and you will be fine until the next problem you hit that is caused by choosing a referenced library
    Have a nice day
    LN

  • Finder changes the file name in Save/Save As dialogue box

    Whenever I save or save as a file, the dialogue box opens, but when I make the file list active when using a mouse, the file name I click to changes the file name I am saving. I simply want to activate the file list window so I can find the right folder. For example if I am looking for a folder called "Receipts" I want to be able to click on the file list window to activate it and then type the first 2 letters of the folder-- "re" and then save the file in that folder. The finder keeps changing the name of the current file whenever I click on one of the "greyed-out" file names? This doesn't make sense unless of course I want to replace that file.
    Is there a shortcut that makes the file list window in the dialogue box active while in the SAVE/SAVE AS dialogue box??

    Yes, this example of horrible UI design has been a problem since "Panther". It illustrates what happens when you try to copy UI behaviour from another OS, do it poorly, and end up with a mess. In 10.3 and 10.4, the combination of the renaming behaviour with the default "replace" selection in the resulting save can result in data loss.
    Compared to the old Mac OS where a tab would flip the focus between the text field for the file name and the file browser, the current behaviour either doesn't allow enough keyboard access to controls, or with "full access" enabled, too many to cycle through easily. The inability to switch focus to the file browser using the mouse (depending on the view) is a horrible productivity loss. Having to recheck the filename before saving is a horrible productivity loss. Since there is no "undo" for the renaming in most files, having to retype the name is again, a horrible productivity loss.
    If they had done it right (a simple change, like requiring a modifier to rename), users would probably welcome the "rename" feature as a useful addition. Instead, it has the feel of something a junior Windows-trained programmer slipped in past their supervisor.
    In short, I am not aware of any workaround or hack to avoid this "renaming" behaviour. I doubt it will do any good since people have been doing so since "Panther", but you could try submitting feedback:
    http://www.apple.com/feedback/macosx.html

  • How to Append Date to Export Dump file name

    hi everyone,
    This is 10g on Windows.
    I want my dump file name to reflect the date it was ran on. I'm using the Job Scheduler tool in Database Control.
    So when I try EXPSSU%date.DMP as the dump file name, I get error "dump file name "EXPSSU%d.DMP" contains an invalid substitution variable ."
    what is the correct syntax? I dont care about the formatting of the date - whatever the default is will be OK.
    Thanks, John

    i have the same problem, any one have the solution?!?!??!

  • I need command to change the file name in vi please.

    quick question
    i need command to change the file name in vi please.
    oldname = initprod12.ora new name = initprod2.ora

    SQL> startup;
    ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/usr/oracle/oradata/dbs/initprod2.ora'
    SQL> !
    [oracle@oracle2 ~]$ cd /usr/oracle/oradata/dbs
    [oracle@oracle2 dbs]$ ls
    ab_ASM2.dat  hc_prod12.dat  initASM2.ora init.ora orapw+ASM2
    hc_+ASM2.dat  hc_prod2.dat   initdw.ora     initprod12.ora  orapwprod12
    [oracle@oracle2 dbs]$ exit
    exit
    SQL> startup pfile='/usr/oracle/oradata/dbs/initprod2.ora';
    LRM-00109: could not open parameter file '/usr/oracle/oradata/dbs/initprod2.ora'
    ORA-01078: failure in processing system parameters
    if i change the name of initprod12.ora to initpord1.ora , will my problem be solved?

  • Changed wav file names – files unrecoverable

    Hi. I was asked to import some important imterviews made on an iPod mini and an ExtremeMac Micromemo onto a Mac, but, as requested, I change the file names first. Since changing the file names the files are completely unplayable, undownloadable and unrecoverable. Please, can anyone help.
    Matthew Whiting

    Hi Chris
    What I did was to change the file names of the wav files in the Finder while they were still on the iPod Nano, before downloading them to iTunes. The iPod Nano uses a hybrid file system, and once the file names were changed iTunes refused to recognize the files. The Finder and Mac OS X flags them as wav files but cannot read them. All other software (players, audio apps and file recovery apps) that we have attempted to use, whether on Mac OS X, Windows XP and Vista, and Linux Red Hat has either crashed, failed to read the files or ignored them. Changing the file names back to an arbitrary time, similar to the original, still does not help.
    It's hard to appreciate the problem, but two of us with many years of Mac (and other IT) experience spent three hours yesterday, on a total of 6 computers, trying to get something to read or recover these files, without any luck whatsoever.
    Thanks for your interest.
    I might be able to get my hands on some industrial strength recovery software, today, and then we'll see. The problem, however, is that the data of the files is intact, but absolutely nothing succeeds in reading them as wav files.
    Matthew Whiting

  • Change wav file names on iPod - unreadable

    Hi. I was asked to import some important imterviews made on an iPod mini and an ExtremeMac Micromemo onto a Mac, but, as requested, I change the file names first. Since changing the file names the files are completely unplayable, undownloadable and unrecoverable. Please, can anyone help.
    Matthew Whiting

    Hi Chris
    What I did was to change the file names of the wav files in the Finder while they were still on the iPod Nano, before downloading them to iTunes. The iPod Nano uses a hybrid file system, and once the file names were changed iTunes refused to recognize the files. The Finder and Mac OS X flags them as wav files but cannot read them. All other software (players, audio apps and file recovery apps) that we have attempted to use, whether on Mac OS X, Windows XP and Vista, and Linux Red Hat has either crashed, failed to read the files or ignored them. Changing the file names back to an arbitrary time, similar to the original, still does not help.
    It's hard to appreciate the problem, but two of us with many years of Mac (and other IT) experience spent three hours yesterday, on a total of 6 computers, trying to get something to read or recover these files, without any luck whatsoever.
    Thanks for your interest.
    I might be able to get my hands on some industrial strength recovery software, today, and then we'll see. The problem, however, is that the data of the files is intact, but absolutely nothing succeeds in reading them as wav files.
    Matthew Whiting

  • Changing the file name dynamicallly in file Adapter - NullPointerException

    Hi, I want to change the file name directly from Java Mapping in the file adapter for this i have written this code:
    [code]
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http:""/""/"+"sap.com/xi/XI/System/File","FileName");
    String newFileName = CCC'_'NNN'_'NOMCIA'_'DATE;
    conf.put(key, newFileName);
    return newFileName;[/code]
    Where CCC, NNN, NOMCIA and DATE are input of the user-defined function.
    but it gives a null pointer exception:
    [code]16:44:53 Start of test
    Runtime exception during processing target field mapping /ns0:MT_HSBCAltasTrabajadores_TEST/row/separador7. The message is: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._MM_JDBC_2_HSBCAltasTrabajadores_TEST_ method FileName$[123, James, Gates, Spectory, com.sap.aii.mappingtool.tf3.rt.Context@247d247d]
    com.sap.aii.mappingtool.tf3.MessageMappingException: Runtime exception during processing target field mapping /ns0:MT_HSBCAltasTrabajadores_TEST/row/separador7. The message is: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._MM_JDBC_2_HSBCAltasTrabajadores_TEST_ method FileName$[123, James, Gates, Spectory, com.sap.aii.mappingtool.tf3.rt.Context@247d247d]
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:347)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:309)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:309)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:398)
    at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:141)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:102)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInternal(ServerMapService.java:431)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:169)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.execute(MapServiceRemoteObjectImpl0.java:301)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:146)
    at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
    at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
    at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(AccessController.java:215)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Root Cause:
    com.sap.aii.utilxi.misc.api.BaseRuntimeException: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._MM_JDBC_2_HSBCAltasTrabajadores_TEST_ method FileName$[123, James, Gates, Spectory, com.sap.aii.mappingtool.tf3.rt.Context@247d247d]
    at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.getValue(FunctionWrapper.java:56)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:291)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:309)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:309)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:398)
    at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:141)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:102)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInternal(ServerMapService.java:431)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:169)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.execute(MapServiceRemoteObjectImpl0.java:301)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:146)
    at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
    at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
    at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(AccessController.java:215)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Root Cause:
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
    at java.lang.reflect.Method.invoke(Method.java:391)
    at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.getValue(FunctionWrapper.java:47)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:291)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:309)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:309)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:398)
    at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:141)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:102)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInternal(ServerMapService.java:431)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:169)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.execute(MapServiceRemoteObjectImpl0.java:301)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:146)
    at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
    at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
    at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(AccessController.java:215)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: java.lang.NullPointerException
    at com.sap.xi.tf._MM_JDBC_2_HSBCAltasTrabajadores_TEST_.FileName$(_MM_JDBC_2_HSBCAltasTrabajadores_TEST_.java:564)
    ... 26 more
    RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ns0:MT_HSBCAltasTrabajadores_TEST/row/separador7. The message is: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._MM_JDBC_2_HSBCAltasTrabajadores_TEST_ method FileName$[123, James, Gates, Spectory, com.sap.aii.mappingtool.tf3.rt.Context@247d247d]
    16:44:53 End of test[/code]
    Regards,
    Luis Diego

    Hey Luis,
    the container object only exists in message mapping runtime.
    Thus you're getting a null pointer exception there.
    For java mappings, remember that you have a .setParameter() method (which is necessary from definition of StreamTransformation interface),
    which sets the private variable param with the transformation parameters. In your .execute() method, just use it like this:
    DynamicConfiguration conf = param.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    Regards,
    Henrique.

  • Changing the file name dynamicallly in file Adapter

    Hi i want to change the file name directly from Java Mapping in the file adapter
    for this i have written this code
    DynamicConfiguration dynamicConfiguration = (DynamicConfiguration)map.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
                   DynamicConfigurationKey keyFile = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
                   DynamicConfigurationKey keyDir = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
                   dynamicConfiguration.put(keyFile,fileName);
                   dynamicConfiguration.put(keyDir,outputpath);
    but it gives a null pointer exception at dynamicConfiguration.put(keyFile,fileName);
    please suggest.
    regards
    Nilesh Taunk.

    Hi Nilesh,
    If your requirement is to create , the file name dynamically for your receiver file adapter, you can do so using your <b>FILE ADAPTER CONFIGURATION</b> itself, and need not go for any JAVA Mappping / Java Code at all.
    The dynamic filename generation concept is as follows.
    In your filename field in the receiver file adapter, just give a variable with <b>%</b> symbols. (eg: %file% ).
    Now, under the option <b>Variable Name Substitution</b>, you can give how the value has to be created.
    <b>It can be your interface name, sender service name, etc or it can be some value dynamically from your payload.</b>
    For the former, your give
    <b>message:interface_name</b> ,etc
    and for the payload part you give,
    <b>Payload: "your element root which u wanna acecss"</b>
    Just check this link out,
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    And read the contents under variable substitution and it will help you understand the concepts better.
    Also, in your FILE Adapter under the option FILE CREATION MODE, you have options like,
    1.Add Counter,
    2. Append
    3. Create
    4. Add Time Stamp
    If you have any clarifications on this approach, do get back.
    Regards,
    Bhavesh

  • DNG Converter changes my file names

    What is the correct setting for keeping original the names when converting RAW files? When I try the default "Document Name" it replaces the first letter of the original file number with an underscore (_). In place of P1010036.RW2, for instance, it provides _1010036.dng. To me an underscore is a less than ideal as they way to start a file name.
    None of the other options seem appropriate. All the assorted serial number options are shorter than the serial numbers of the original Panasonic files.
    Suggestions much appreciated.

    I thought I'd posted a reply but I failed to make it stick, somehow. Anyway, thanks Jim for that. Makes perfect sense.
    Except I've just had a further thought. Why would Adobe change a file name to distinguish between color spaces if DNGs/RAWs are color-space agnostic? Where it would make sense is with jpegs, but name-changing doesn't happen there, of course, as there's no conversion taking place.

  • Changing the file name of photo in Finder.

    I need to change the file name of my photos. I have changed the settings so that they show on iPhoto as 001, 002 etc - but I need this information to also be set in Finder. Is this possible?
    NikiKL

    No - iPhoto is a photo database and it controls the files - you can not - in fact must not (if you make any changes in the structure or content of the iPhoto library you will corrupt it and lose data) -- and there is no reason to - you have full access to your files - <a href-"http://web.me.com/larryhn/iPhoto08_(version_7.x.x)_FAQ/Accessing_iPhotoPhotos.html"> click here for a discussion of the many ways to properly and safely access your photos -- and you can always export them using the title for the file name to have them outside iPhoto with any name you desire
    LN

  • Changing the File Name

    Hi
    i am designing a adobe form which will be send in mail when a button is clicked, i found that the attachment name to be "unknown.pdf". how can i change this ???
    i found out a method called getAcrobatApplicationName() in XML and when i changed application name in that its not getting reflected. So is there any other way to change the file name on "Button Click" event?
    Thanks
    Gopal

    Hi Gopal,
    See if it helps:
    In NW2004s we use the following. getPdf() returns a byte[], the filename is "document-<username>.pdf" and source is the attribute of an IFrame UI element.
    code
    private void initPdf() {
    IWDResource resource =
    WDResourceFactory.createResource(
    getPdf(),
    "document-"
    + WDClientUser.getLoggedInClientUser().getSAPUser().getUniqueName(),
    WDWebResourceType.PDF);
    String source =
    resource.getUrl(WDFileDownloadBehaviour.OPEN_INPLACE.ordinal());
    wdContext.currentContextElement().setSource(source);
    [/code]
    On NW2004 we use a FileDownload UI element (with target=_self) and we call initFileBinaryType method in the wdDoInit method. Of course you still need to set the binary PdfData context attribute with the actual content of the PDF file.
    code
    private void initFileBinaryType() {
    IWDModifiableBinaryType pdf =
    initFileBinaryType(IPrivateTestAppView.IContextElement.PDF_DATA);
    pdf.setFileName("document-"
    + WDClientUser.getLoggedInClientUser().getSAPUser().getUniqueName());
    pdf.setMimeType(WDWebResourceType.PDF);
    private IWDModifiableBinaryType initFileBinaryType(String attribute) {
    return (IWDModifiableBinaryType) wdContext
    .getNodeInfo()
    .getAttribute(attribute)
    .getModifiableSimpleType();
    [/code]
    Regards,
    Arafat

Maybe you are looking for

  • A Complain To Adobe

    As the start of another weeks dawns and most of us come face to face with our “income earning” pursuits, I am faced again with Adobe and its suite of software that is a source of Terror, stress and a lack of productivity in our lives. I would attempt

  • View HD Video Input on iMac Screen

    I would like to view the high-definition output of my cable company's hi-def cable box (via firewire, hdmi, dvi, usb, or composite connections) on my iMac's scree. Is there any such device that will do this? I have a high-def tv stick that does work

  • Unexpected minimum value for SHEAPTHRES_SHR

    Hi Folks - We keep getting the following message every 30 seconds on our BI QA server. 2009-08-24-07.26.17.263989-240 E78429A607         LEVEL: Warning PID     : 930014               TID  : 15425       PROC : db2sysc 0 INSTANCE: db2bq1              

  • 'flagged' to 'filters off' not working.  still showing only flagged images.

    Recent issue: when I try to switch from 'flagged' to 'filters off', it is not working.  The app is still showing only flagged images.  I can't access my unflagged images in the gallery at all. I have to exit the app completely to correct issue. I'm u

  • Can I pay the previous purchase with a apple card

    I have my credit card on the Apple Store and I dont have any credit cards to make the update but is there a way that I can pay the previous purchase with a apple card