Saving a pdf in an iframe with specific name

Hi,
in our application there is an iframe which displays different pdf depending of the situation. As source we use URLs.
If the user want to save the pdf within the iframe it suggest always a default name. Is it possible that it suggest a specific name for each pdf? I can't find any attributes to deliver a desired name. Or maybe an iFrame is the wrong ui element for this demand?
Thanks, regards
Susanne

Hi Susanne
You can append time ahead of the pdf, so that name of pdf would never be same.
code would be like this -
java.util.Calendar calendar = java.util.Calendar.getInstance();
String currentTimeInLong = "" + calendar.getTimeInMillis();
and append this string ahead of your pdf. You can give a try.
Regards,
Sen

Similar Messages

  • How to create PDF from text file with specific layout?

    I wanted to create the pdf from text file in specific layout - Landscape orientation and JIS B3 Page size while at Adobe Acrobat Pro.
    In past, I could do a right click on a text file (desktop area) and select print to print out the document into .pdf BUT only if I set the Adobe PDF to Landscape and JIS B3 Page size BEFORE.  And I could only do 15 text documents at once.
    I wanted to see if I could do the create the pdf from text file with specific layout in Adobe Acrobat without having to go to Control Panel to preset the Adobe PDF to specific layout at every time.   I would have to set Adobe PDF back to normal layout after I'm done with these pdf print outs.  I do lots of pdfs in normal layout.  Sometimes I would forget to do that.
    So, How do I do that?

    No such luck.  It would output the contents in letter size even in JIS B3 Page layout at MS word. 
    Is there a script or action where I could set the orientation and page size before creating PDF on these text files?

  • Sap adobeform sending pdf as attachment with specific name

    Hi Experts,
    Need your help in solving my problem !!
    My requirement is to send adobe form as mail attachment in PDF format, Which I am able to do.
    My Problem is PDF attachment should be generated with specific name.
    For example my scenario (below given screen shot),
    When i click on submit by email button, PDF will be attached to my mail,
    with some random name such as "d4811f8_45171.pdf" Instead it should be generated with
    fixed name such as "new_attach.pdf" or dynamic name using user name such as
    "Vishwa_attachment.pdf".
    Kindly help to achieve my needs.
    Any help will be greatly appreciated and rewarded.
    Thanks in advance,
    Regards,
    Vishwa

    Hi Naveen,
    please read through my query again, I should generate pdf when I click on "submit by email button".
    I am not using any function for conversion it will happen automatically.
    thanks,
    Vishwa

  • Pro grammatically create three sub-folders with specific name under each of root folders in site collection level??

    Hi,
    i have a document library Named "Digital" in a site collection. In that document library i have bunch of customer folders with different customer name. My requirement is i need to create three sub-folders (like Images, Processed, Status) each of
    customer folders. so how can i automate to create sub-folders with specific name. can i use object model or power shell to achieve this one.
    Thanks in advanced!

    Hi Murugesa,
    Thanks for your help. i was trying to create folder inside document library using your code. but unfortunately i cant debug code and cannot create folder inside customers folder. Following is the code, basically i am creating a SharePoint project and adding
    an item as class file and deploying to share point site and then trying to debugging code, but break-point showing as yellow circle. i checked solution has been deployed to the server but still not creating any folder. It will be very helpful if you can describe
    all the steps. should i create console application?
    Appreciated !!
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using Microsoft.SharePoint;
    namespace Add_Sub_Folders
        class Create_Folders
            public void Sub_Folders()
                var foldersList = new List<string>();
                SPSecurity.RunWithElevatedPrivileges(delegate()
                    try
                        using (var site = new SPSite(SPContext.Current.Site.Url.ToString()))
                            using (var web = site.OpenWeb())
                                web.AllowUnsafeUpdates = true;
                                foreach (SPFolder folder in web.GetFolder("http://nyc01d1sptmp01:8080/Shared%20Documents/").SubFolders)
                                    if (folder.Url.ToString() != "Shared Documents/Forms" && folder.Url.ToString() != "Shared Documents")
                                        foldersList.Add(folder.Url);
                                        SPFolder subFolder = web.GetFolder(folder.Url);
                                        subFolder.SubFolders.Add("Draft");
                                        subFolder.SubFolders.Add("Status");
                                        subFolder.SubFolders.Add("Final");
                                    folder.Update();
                                web.AllowUnsafeUpdates = false;
                    catch (Exception ex)
                        ex.Message.ToString();

  • Trouble saving a pdf from In Design with Illustrator files linked.

    I have trouble saving a pdf from In Design. Most of the files i've linked are Illustrator files with size up to 70mb.
    I am getting out of memory message   The In Design file isn't that big - about 9mb.
    HELP!!!!!!

    It did not help to close and reopen it.
    Not sure what you mean with exporting in chunks but if you mean exporting page for page , so it didn't work either.
    I think that i'll try to reduce the size of Illustrator files , but I 'm not sure what will be the optimum size for that In Design won't crush again.
    Or maybe i should make the presentation in illustrator instead? It take some time to save pdf from illustrator when the original file is about 90mb, but still it works.

  • While saving multiple attachments from mail, files with same name are added and not replaced

    While saving Multiple Attachments from Mail, existing file with same name are not overwritted but new files are added in the folder.

    Bjørn Larsen a écrit:
    Hi all
    Hope to get some help with Elements Organizer.
    I have 12-15 years of digital photos that I now want to import into my newly aquirede Adobe Elements Organizer / Photoshop. Since my Nikon names the files with continous numbers from 0001 to 9999 I have multiple files with the same name although they are not alike at all. My previous software had no problems with that since I keep the photos in separate file folders based on import date. I generally import photos after each event and so name the folder with the date and some event info (e.g. 2014.12.24 - Christmas at grandparents).
    That is a common situation, I have the same limitation for files not going over 9999 on my Canons...
    Now - when I import my photos into Elements Organizer I get a lot of error messages with "same name exist .....) Hmmmmmmm
    Please sate the exact wording of the error message, I have never seen a message stating 'same name exist...' or equivalent; only messages about files already in the catalog. Files already in the catalog mean that some files have the same 'date taken' and file size in Kb.
    Any suggestions. I'm using a mac and tried to rename files based on date taken. The mac can do that but it takes ages to go into each folder and run the renaming script there.
    I also use a similar folder creation scheme (such a date naming is the default for the downloader). That way I never get a message about duplicates for the same file names.
    However - I can't be the first or only person with this problem so I figure that some workaround must be known out there. Maybe the import action can recognize date taken or - well. Thank you very much in advance if you can help me out here.
    You can alsways set the downloader to rename the imported files with a unique new name, there are many options in the 'advanced' dialog of the downloader. I don't know about Macs, but I don't thing there is a difference.

  • How can i sort PDF's on IBook with the name that starting with numbers

    i import a number of pdf's representing ameeting agenda as the files names (1xxx,1.1xxxx, 2.xxxx,10.xxxx) on ibook , however the files sorted on a diffrent way as file start with 10 on first . so how can i sor the files on the IBook  with its name starting with numbers as1 &1.1 and so on.

    You seem to want a numeric sort but are getting a character sort.
    a number range  would be 0,1,2,3, ... 9,10,11 ...
    sorting like everything else with computers is an algorithm.  Someone needs to define how it works.  When you see a list of files, someone has defined how the list will be sorted. If you compare Windows file sorting to Mac files sorting you will find there are differences.
    In the case of files sorting, the files are sorted on characters from left to right. In file sorting the sorting algorithm does not try to determine that files are numbers.  All files beginning with a 1 will be sorted together becuase the file sorting althorithm doesn't look at the second character position before grouping all the 1's together.
    For what it is worth, there are multple books written on sorting.
    Robert

  • How to make a spot swatch with specific name by using AppleScript?

    Hi there,
    I am trying to create a script in AppleScript to make a new spot color swatch that must be the COLOR TYPE : SPOT (with specific values). I've got it to make a global process color but can't seem to make a spot swatch. I'm using the script below :
    tell application "Adobe Illustrator"
        set docColorSpace to color space of document 1
        if (docColorSpace is CMYK) then
            set SpotColor to {cyan:100.0, magenta:0, yellow:0.0, black:0.0}
        else
            set SpotColor to {red:0.0, green:174.0, blue:239.0}
        end if
        make new spot in document 1 with properties {name:"ADHESIVE", color:SpotColor}
    end tell
    I did find an entry in an old forum that did this using javascript, however, I am not experienced with this at all and have no idea what or how to use it on a mac platform. This script is listed below.
    #target illustrator
    var docRef = app.activeDocument;
    var newCMYK = new CMYKColor();
    newCMYK.cyan = 100;
    newCMYK.magenta = 0;
    newCMYK.yellow = 0;
    newCMYK.black = 0;
    var thisSpot = docRef.spots.add();
    thisSpot.name = 'ADHESIVE';
    thisSpot.color = newCMYK;
    thisSpot.colorType = ColorModel.SPOT;
    Any help would be greatly appreciated.
    Thank you!

    You are close but missing the last property listed in the JavaScript… It translates to… 'color type:spot color'
    tell application "Adobe Illustrator"
    set docColorSpace to color space of document 1
    if (docColorSpace is CMYK) then
    set SpotColor to {cyan:100.0, magenta:0, yellow:0.0, black:0.0}
    else
    set SpotColor to {red:0.0, green:174.0, blue:239.0}
    end if
    make new spot in document 1 with properties {name:"ADHESIVE", color:SpotColor, color type:spot color}
    end tell
    BTW… The use of JavaScript in the CS apps is more common because of its 'platform independence' There is a toolkit supplied along with the CS install.

  • Saving a PDF in Acrobat 9 with comments enabled for viewer

    Hi,
    Is there a quicker way to enable comments for Reader than actually having to choose to do so? I have maybe 30-40 files saved as a PDF but they do not have comments enabled so I have to open each one and click on enable comments for Reader. That takes a lot of time and sometime you can make a mistake.
    Any work around? A macro?
    Thanks!
    Luke

    Ha ha ha.
    I saw that and, of course, my company would never get into this but I wanted to thank you for your response.

  • OSB file Write, not naming the file with specific name.

    Hi ALL,
    I have a requirement, i should accept the data or XML file from from JMs queue and place it in a location specified. For this i have build the PS and BS.
    Where PS will De-queue the JMS queue and route using Service call out to BS. And the BS will place the file in location. I could do this easily. BUT the thing is that i could not name the file perfectly with the intended file name. to build the BS i used .JCA file , .WSDL file, XML file from Jdeveloper. and imported to osb console. i could write the file as follows..
    MY business Services:
    services TYPE : ANY XML services
    transport
    Protocol ==> file
    Load Balancing Algorithm ==> round-robin
    Endpoint URI ==> file:///oracle/Middleware/user_projects/domains/Agile
    Request encoding ==> utf-8
    this is the file name i am getting:
    <con:metadata      xmlns:con="http://www.bea.com/wli/sb/test/config">
         <tran:response-code      xmlns:tran="http://www.bea.com/wli/sb/transports">0</tran:response-code>
         <tran:encoding      xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
         <file:filePath      xmlns:file="http://www.bea.com/wli/sb/transports/file">
         /oracle/Middleware/user_projects/domains/Agile/POTest3338620552690675292--411054fa.1363686ca89.3e8d.xml
         </file:filePath>
    </con:metadata>
    the file NAME : POTest3338620552690675292--411054fa.1363686ca89.3e8d.xml ( POTest is prefix and .xml is Sufix)
    3338620552690675292--411054fa.1363686ca89.3e8d i dont know y the this garbage file name is created...
    please give suggestions to avoid garbage name
    thanks --
    ANIL

    Hi ALL,
    I have a requirement, i should accept the data or XML file from from JMs queue and place it in a location specified. For this i have build the PS and BS.
    Where PS will De-queue the JMS queue and route using Service call out to BS. And the BS will place the file in location. I could do this easily. BUT the thing is that i could not name the file perfectly with the intended file name. to build the BS i used .JCA file , .WSDL file, XML file from Jdeveloper. and imported to osb console. i could write the file as follows..
    MY proxy services:
    services type : any XML services
    protocol :jms
    MY business Services:
    services TYPE : ANY XML services
    transport
    Protocol ==> file
    Load Balancing Algorithm ==> round-robin
    Endpoint URI ==> file:///oracle/Middleware/user_projects/domains/Agile
    Request encoding ==> utf-8
    this is the file name i am getting:
    <con:metadata xmlns:con="http://www.bea.com/wli/sb/test/config">
    <tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">0</tran:response-code>
    <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
    <file:filePath xmlns:file="http://www.bea.com/wli/sb/transports/file">
    /oracle/Middleware/user_projects/domains/Agile/POTest3338620552690675292--411054fa.1363686ca89.3e8d.xml
    </file:filePath>
    </con:metadata>
    the file NAME : POTest3338620552690675292--411054fa.1363686ca89.3e8d.xml ( POTest is prefix and .xml is Sufix)
    3338620552690675292--411054fa.1363686ca89.3e8d i dont know y the this garbage file name is created...
    i am getting this error when i process test from proxy services then i may use route and change it as Use Routing Options on the Service Callout and override the header (jca.file.FileName).
    but the thing is when i test from Business services also i am getting the same garbage name on both window and linux.
    please give suggestions to avoid garbage name
    thanks --
    ANIL

  • Check which table has no column with specific name over number of tables

    Hello,
    Withing my schema I have 66 tables, all of them have column last_update_date. Though not all have the column program_update_date. The problem is I want to go through all the tables and know which tables does not have the program_update_date column. It is to be noted that if the table does not have the program_update_date column query 2 will be used instead of query 1.
    query1:
    select last_extract_date,
    to_char(min(greatest(nvl(*last_update_date*,'01-Jan-10'),nvl(*program_update_date*,'01-Jan-10'))),'DD-MON-YY HH24:MI:SS') mi,
    to_char(max(greatest(nvl(*last_update_date*,'01-Jan-10'),nvl(*program_update_date*,'01-Jan-10'))),'DD-MON-YY HH24:MI:SS') ma
    from table_names
    group by last_extract_date
    order by last_extract_date desc;
    query2:
    select last_extract_date,
         to_char(min(nvl(last_update_date,'01-Jan-10')),'DD-MON-YY HH24:MI:SS') mi,
         to_char(max(nvl(last_update_date,'01-Jan-10')),'DD-MON-YY HH24:MI:SS') ma
         from mispa_events
         group by last_extract_date
         order by last_extract_date desc ;
    Please find the PLSQL code that should be used:
    Declare
    cursor C_1 is
    select unique table_name from user_tables; table_names varchar2(240); Begin Open C_1; Loop Fetch C_1 into table_names; EXIT WHEN C_1%NOTFOUND;
    EXECUTE IMMEDIATE('select last_extract_date,
    to_char(min(greatest(nvl(last_update_date,''01-Jan-10''),nvl(program_update_date,''01-Jan-10''))),''DD-MON-YY HH24:MI:SS'') mi,
    to_char(max(greatest(nvl(last_update_date,''01-Jan-10''),nvl(program_update_date,''01-Jan-10''))),''DD-MON-YY HH24:MI:SS'') ma
    from ' || table_names ||'
    group by last_extract_date
    order by last_extract_date desc');
    End Loop;
    Close C_1;
    COMMIT;
    End;
    Please help.
    Thanks in advance.
    Edited by: P.Sam on Jun 14, 2010 5:00 PM

    why not use user_tab_columns
    SQL> desc user_tab_columns
    Name                                                              Null?    Type
    TABLE_NAME                                                        NOT NULL VARCHAR2(30)
    COLUMN_NAME                                                       NOT NULL VARCHAR2(30)
    DATA_TYPE                                                                  VARCHAR2(106)
    DATA_TYPE_MOD                                                              VARCHAR2(3)
    DATA_TYPE_OWNER                                                            VARCHAR2(30)
    DATA_LENGTH                                                       NOT NULL NUMBER
    DATA_PRECISION                                                             NUMBER
    DATA_SCALE                                                                 NUMBER
    NULLABLE                                                                   VARCHAR2(1)
    COLUMN_ID                                                                  NUMBER
    DEFAULT_LENGTH                                                             NUMBER
    DATA_DEFAULT                                                               LONG
    NUM_DISTINCT                                                               NUMBER
    LOW_VALUE                                                                  RAW(32)
    HIGH_VALUE                                                                 RAW(32)
    DENSITY                                                                    NUMBER
    NUM_NULLS                                                                  NUMBER
    NUM_BUCKETS                                                                NUMBER
    LAST_ANALYZED                                                              DATE
    SAMPLE_SIZE                                                                NUMBER
    CHARACTER_SET_NAME                                                         VARCHAR2(44)
    CHAR_COL_DECL_LENGTH                                                       NUMBER
    GLOBAL_STATS                                                               VARCHAR2(3)
    USER_STATS                                                                 VARCHAR2(3)
    AVG_COL_LEN                                                                NUMBER
    CHAR_LENGTH                                                                NUMBER
    CHAR_USED                                                                  VARCHAR2(1)
    V80_FMT_IMAGE                                                              VARCHAR2(3)
    DATA_UPGRADED                                                              VARCHAR2(3)
    HISTOGRAM                                                                  VARCHAR2(15)

  • Hi, All. Iam using Adobe Document Cloud. After saving a pdf document to this cloud, I am able to see my PC folders . How to disable this? Does my PC folders are also available across other PC's to access them with my Adobe ID? Please help me. Thanks

    Hi, All. Iam using Adobe Document Cloud. After saving a pdf document to this cloud, I am able to see my PC folders as well with a browsing option  . How to disable this? Does my PC folders will  also available across other PC's to access them with my Adobe ID? Please help me. Thanks in advance.

    Hi indi68632954,
    I can understand your concern & you need to worry about this, as your PC folders won't be available on other PC's as this option is just to browse through the files of the specific system on which you are working as shown in the screenshot below.
    Only the files uploaded on the Document cloud will be available over Internet using Adobe Document Cloud service upon the authentication of your Adobe ID & password.
    I hope this will answer your query.
    In case if you have any further query please let us know, we will be happy to assist you.
    Regards,
    Aadesh

  • Problem with saving a pdf file to computer. Continually get an error message " This document could not be saved. There was a problem reading this document (21).

    Need advice on a saving file issue. I'm having problem with saving a .pdf file to computer. Continually get an error message " This document could not be saved. There was a problem reading this document (21). This is new as this error message just recently started to pop-up.

    More information about this issue can be found here:
    https://forums.adobe.com/thread/1672655
    A "quick" fix that worked for me was to uninstall Adobe... then download the base install for Adobe Reader 11.0.
    Then download each of the individual updates and run them sequentially. 
    I've installed back up to the last security update which is version 08 and have been able to do normal Save As operations.
    You will have to disable automatic updates in order to stay at version 08 until Adobe resolves this issue in a later release.
    http://www.adobe.com/support/downloads/product.jsp?product=10&platform=Windows
    Adobe Reader 11.0 - Multilingual (MUI) installer    AdbeRdr11000_mui_Std
    Adobe Reader 11.0.01 update - Multilingual (MUI) installer    AdbeRdrUpd11001_MUI.msp
    Adobe Reader 11.0.02 update - All languages    AdbeRdrSecUpd11002.msp
    Adobe Reader 11.0.03 update - Multilingual (MUI) installer    AdbeRdrUpd11003_MUI.msp
    Adobe Reader 11.0.04 update - Multilingual (MUI) installer    AdbeRdrUpd11004_MUI.msp
    Adobe Reader 11.0.05 security update - All languages    AdbeRdrSecUpd11005.msp
    Adobe Reader 11.0.06 update - Multilingual (MUI) installer    AdbeRdrUpd11006_MUI.msp
    Adobe Reader 11.0.07 update - Multilingual (MUI) installer    AdbeRdrUpd11007_MUI.msp
    Adobe Reader 11.0.08 security update - All languages    AdbeRdrSecUpd11008.msp

  • Printing an iframe with pdf using javascript is not working in IE8 and above

    I have a problem with printing and Iframe with PDF in IE 8 and above
    Following is my javascript:
    var urlValue="";//Path of the file to be printed
    var div = document.getElementById("printerDiv");
    div.innerHTML = '<iframe src="' + urlValue + '" id="frame" name="frame" style="width:100%;height:100%;"></iframe>';
    frame.focus();
    frame.print();
    This same thing is working fine in other browser but for IE is just not invoking the print dialog.
    Also I tried to get the frame.print(); on load of the frame but even that is not working exactly as that way it print the parent window in output.
    Few things I tried like:
    1) div.innerHTML = '<iframe src="' + urlValue + '"
    onload="this.contentWindow.print();"></iframe>';
    2) frame.contentWindow.focus();
    frame.contentWindow.print();
    3) window.document.getElementsByTagName('iframe')['frame'].onload = (function () {
    frame.focus();
    frame.print();
    I need to get the print of only the content which is in Iframe which I am binding in "printerDiv" by javascript.
    Any perfect/different solution from which I have tried then please post here?
    Thanks.

    PDF documents are hosted in an ActiveX or netscape plugin control which have their own printing functions.
    Start>Adobe Reader>Edit>Preferences - to adjust what functionality the PDF document viewer addon displays (menus etc).
    Tools>Manage Addons>Show all addons
    make sure you have both the x86 and x64 versions of your PDF reader Active X control installed and enabled. I would recommend also that you update to the latest version of the vendors' (Adobe?) plugin.
    Possibly you have disabled scripting of ActiveX controls in the IE security zone that your parent page maps to. Also there is an IE security zone feature that prevents navigation to a domain in a zone of lower integrity.
    Tools>Internet Options>Security tab, click "Reset all zones to default".
    when asking developer related questions it is helpful if you can include a link to your website.
    Rob^_^

  • Converting word to pdf in A4 with specific margins

    I need  all my new forms designed in Word and converted into pdf  to be in A4 size with specific sized margins top, bottom, left and right as  per Standards guidelines. Do I need to set up Acrobat to do this or will it just convert exactly from MS Word margins?  Are there preferences or properties I need to set up first for  Adobe Acrobat.

    Acrobat works with page layouts that are already fixed before it starts, it has no idea of a margin. So all the setup is in Word. Word sometimes changes layout as the PDF is made. To minmize this, choose the Adobe PDF printer before making the PDF (even if you don't directly use the printer).

Maybe you are looking for