Limiting/controllong the size of the attachments

Hi,
I have developed a PDF form(which contains a SUBMIT button), and an application that processes it. As the PDF may contain files attached, the problem I face is: is there a way to limit or control the size of the complete PDF(including the attached files) that the user tries to send?
I imagine it exits, but I'm not able to find it.
Thanks in advance for your help.

My research shows that there is no way to limit the size of attachments to a PDF. I suggest you enter it as an emhancement.

Similar Messages

  • Is there a limitation on the Size of Attachments to SBO Documents?

    Hi, Experts.
    Is there a size limitation to the Attachments that you can Attatch to an SBO Document like an Activity?
    Does this depend only on the Hardware Specifications, or does SBO also limit the Size of Attachments?
    Any help would be appreciated.
    Thanks,
    Marli

    Hi Marli,
    There is no limitation on the size of attachment. Otherwise also, SBO stores only the name of the file and copies it to the attachment folder. Since, in SBO, only the name is stored, therefore the size of the attachment does not matter.
    Rahul

  • Check the total sizes of total attachments not allow more than 9 mb when adding attachments to a PDF

    My clients requested the form has the validation when I add attachments to a PDF, the total sizes of these  attachments not more than 9 Mb. I can just check the size of each attachment but I cannot check the total sizes of the attachment.  I am not sure what I am doing wrong the coding is unsuccessful.  Please help!!!! 
    Thank you very much.
    CindyWhat
    Here is the coding in event:click - attachment button
    var maxSize=75497472; //bits
    try{
    var count= 0;
    var oDoc = event.target;
    var oAttachment = oDoc.dataObjects;
    if(oAttachment != null){
      count = oAttachment.length;
    oDoc.importDataObject("attachment" + (count + 1))
    var dataObj = oDoc.getDataObject("attachment" + (count + 1));
    var fileName = dataObj.path;
    var fileType = fileName.substring(fileName.lastIndexOf("."));
      if(fileType != ".pdf" && fileType != ".PDF" && fileType != ".JPG" &&
      fileType != ".jpg" && fileType != ".tif" && fileType != ".TIF"&&
      fileType != ".tiff" && fileType != ".TIFF" &&
      fileType != ".doc" && fileType != ".DOC"){
                    xfa.host.messageBox("Please correct the file type.");
                    oDoc.removeDataObject("attachment" + (count + 1));
    // combine size
      //get content
      var oFile = oDoc.getDataObjectContents("attachment" + (count + 1), true);
                            var oBase64Stream = SOAP.streamEncode(oFile, "base64");
                          var oFile = SOAP.stringFromStream(oBase64Stream);
                            // check the length of the document
                            var lenTotal = oFile.length;
                            FileSize.rawValue = lenTotal;
      if (lenTotal > maxSize)
       xfa.host.messageBox("the total size is 9 MB");
       oDoc.removeDataObject("attachment" + (count + 1));
      }// end if
      else
       xfa.host.messageBox("successfull attachment","Attachment",2);
    catch (e)
    xfa.host.messageBox("Please review the document");

    We are using Microsoft SQL Server 2008 . but it's well with MySQL & JBoss

  • Is there a file size limitation on the cut and paste function in OSX?

    I have noticed that sometime I am able to cut and paste files and sometimes I can only copy them.  Is there a limitation in the system and if so what is it?  I have also that sometimes I get the option to keep a duplicate file and sometimes it will only allow me to replace it.  Clarity anyone?

    You should not be able to "cut" a file at all, regardless of its size. Files can only be copied.
    Depending on where you copied it from and where you are trying to copy it to, you may be able to only copy.
    If the enclosing folder has an ACL that denies delete, then you wont be able to move it, only copy.

  • Where can I Increase the size limit for attachments

    Good Morning:
    I am working in OCS R2 (9.0.4). Where can I Increase the size limit for attachments in the messages sent. Also can I set this parameters to user level or the change affect every user in the system?
    Thanks a lot.

    babowa wrote:
    The only way to increase the fonts on your desktop would be system wide by going down a notch on the resolution. Some people won't do it because it increases the pixel size so the fonts won't be quite as sharp; I decided I'd rather have that than having to squint continuously. Go to System Preferences > Displays > Scaled > this will give you all resolution options available. No harm in trying - just check the default (top) choice again if you don't like any of the others.
    It's a b*&^ch getting old .  I still use the screen zoom instead of decreasing resolution, but maybe soon ...

  • Limitation on the number of applications for a domain?

    Does anyone know if there is a limitation on the number of applications you can
    deploy on a domain for weblogic server 7?

    java -XX:MaxPermSize=... worked, so now the app server starts fine
    Thanks a lot.
    Rob Woollen <[email protected]> wrote:
    Jing wrote:
    Rob,
    I deployed 291 EJBs into the applications directory for a weblogicdomain, since
    each jars stands on its own, so weblogic treats them as individualapplications.
    Interesting. Is that really how you want to structure your server?
    The behaviour I ran into was weblogic server was not able to startcorrectly,
    it seems to stuck on some infinite loop, keep printing out the samemessage saying
    it's trying to active xxx.jar, but as soon as I reduce the number ofEJBs to a
    certain number(238) in this directory, weblogic server started correctly,deployed
    xxx.jar just fine.Without more information (like showing me what error it printed out),
    I
    can't tell you where the problem lies.
    However, the server is limited by the heap size, and the class size
    space is another limit you might hit.
    I would suggest increasing the heap size as well as the MaxPermSize in
    your JVM.
    -- Rob
    Is there any configuration I need to set on the domain?
    Thanks
    Rob Woollen <[email protected]> wrote:
    No limit.
    -- Rob
    Jing wrote:
    Does anyone know if there is a limitation on the number of applicationsyou can
    deploy on a domain for weblogic server 7?

  • Limitation on the data stored in community preferences

    Is there a limitation on the amount of data stored in community preferences?
    Thanks
    Sampath

    no there is not in the portal...but remember: the community preferences (as well as the other type of preferences) are passed to your portlet code through HTTP header and that's where the limit is (it depends on the app server / web server you are using...i.e. i think tomcat limits by default http header size to 16k)...plus having a lot of data in your preference will be a performance hog for your portlet (much more data goes back and forth beteen portal and portlet)
    Hope that helps.
    Fabien

  • How can I include multiple limits in the sequence file documentat​ion for custom step type?

    Hi,
    I have a custom Step Type that contains Measurements property under Results. Its type is Array of NI_LimitMeasurement.
    I would like to see the values in the sequence file documentation like NI_MultipleNumericLimitTest type.
    Is there any trick to do that?
    Thanks,
    Andras

    Hi Andras,
    I have made  a slight change to the sequencefile 'docgen_txt.seq'.
    In the Sequence 'Step Doc' is a section which handles MultipleNumericLimit step type. There is a precondition check on the step 'Add Multiple Numeric Limits' if the step is of type 'NI_MultipleNumericLimit'. As your step type is based on the MultipleNumeric Limit type, I have just removed this precondition and just relied on the existence of Parameters.Step.Result.Measurement. Equally you could add a new section in this sequence to handle your Custom Step Type which is only called when the precodition match your type name.
    Now when you run the DocGen tool it handles your custom step type.
    Find attached my modified sequencefile 'docgen_txt.seq'.
    Just copy the contents of '..\National Instruments\TestStand 3.5\Components\NI\Tools\DocGen' to the User folder. Then place the attached file in the User\Tools\DocGen overwritting the version that is in that folder.
    Then launch TestStand and try it out on your sequence file.
    If you are using the html version, then you will have to make the same change into Step Doc sequence of the docgen_html sequence file.
    Hope this helps
    Regards
    Ray Farmer
    Message Edited by Ray Farmer on 05-19-2007 05:28 PM
    Regards
    Ray Farmer
    Attachments:
    docgen_txt.seq ‏184 KB

  • Two questions about possible limitations in the Trial version

    1) I'm unable to format Date and Time using the Inspector/Table/Format option - is this because I'm using the Trial Version?
    The thing I'm trying to do is lose the day of the week in the default, so instead of "Sunday, August 26, 2007" it would read "August 26, 2007".
    Can I do this in the full registered version?
    2) I'm unable to change the top margin of a document in the trial version. I've gone into File/Page Setup/Paper Size/Manage custom sizes and changed the margins to no avail. It prints out exactly as it did before I made the changes. Is this also a limitation of the trial version that works fine in the full version?

    Hi Walt:
    Thanks for the quick reply.
    Re: the date format, I know I can change it manually by control-click, but I was trying to change the default, so that it always gives me "Month Date, Year", instead of "Day of week, Month Date, Year". My problem with the "Automatically Update on Open" option is that yes, it will give me what I want when I CREATE a new document, but anytime I open an old document to read it, it will change the date from the date it was created to the date it was re-opened.
    Is there ANY way I can insert date and get the format I want each time without having to manually change it?
    As for the top margin, thanks. I see that the only way to change a document's margins is by going into the Inspector and changing them under "Document Margins". I was changing them under File/Page Setup, and drilling down to Printer Margins. Since that didn't seem to change anything ... what are Printer Margins and what does changing them actually do (since I couldn't tell any difference when I changed them)?
    /rb

  • I receive and e-mail with attachments but when I forward them, the attachments are smaller. how to fix this?

    I receive e-mails with attachments, but when I forward them the attachments are reduced in size.  What do I need to do to have them forwarded the same size as I received them?

    If the attachments are photos, when you forward them, look on the bottom right of your compose window, change to "actual size".  It's probably set to small as displayed here:
    Regards,
    Captfred

  • How to export all the attachments from Oracle Apps R12?

    Hi
    Our configuration single node EBS R12.0.6, DB 10.2.0.3 & AIX 5.3.7. We are live with ERP since 2009. In our application/database instance, we have hundreds of attachments for the PO and iRecruitment candidates CV's etc. How can we analyze the details of the attachments like fnd_attached_documents table, etc?
    Besides, we are planning to implement new document management system. Our management is interested to keep some/all of the uploaded ERP attachments into Document Management System repository. So, my question is how can we export all these attachments from ERP?
    Please help me.
    Regards
    Arizuddin

    Besides, we are planning to implement new document management system. Our management is interested to keep some/all of the uploaded ERP attachments into Document Management System repository. So, my question is how can we export all these attachments from ERP?Is this a 3rd party software? If yes, you may contact them and see if they provide any way to migrate attachments.
    You may also see the following docs.
    How to migrate the old attachments from a prior release [ID 558470.1]
    How To Download Attachment File From fnd_lobs [ID 1457782.1]
    Attaching A File To An Object via A Public API [ID 281130.1]
    How To Extract attachements From The Database When a URL Is in The APPLSYS FND_LOBS Table Under The Heading of File_Name [ID 800973.1]
    Is There A File Size Limit For EBS Attachments [ID 739643.1]
    Thanks,
    Hussein

  • Slow iMovie - Does it has limitation in the amount of video files it can edit?

    Dear All,
    I would like to do some videoediting of holidays video with my iMac i7 12gb ram.
    I have imported with iMovie my dv video and this worked fine. But starting from a certain point iMovie became really slow. Thinking of a memory issue, I added 8gb ram (now 12) but the problem persisted. So I decided to move video files from mac hdd to my gbit lan NAS, and than I got a firewire800 hdd.
    I got a MyBook Studio II (http://wdc.com/en/products/products.aspx?id=210) which I tried using first RAID1 and than to increase speed I configured into RAID0.
    Now, what I noticed is that if the project has a total of:
    - 29gb of video files, editing the project (move, delete, add) and play works quite fine. (project file size about:17mb)
    - 53gb of video files, editing is slow (about 7sec to move or delete a clip)  (project file size about:128mb)
    This happens both if the video and pj files are on the iMac hdd or in the firewire one.
    Does anyone of you know if iMovie has some limitations in the amount of video files it can edit, or if it is not performing correctly under certains conditions?
    Furthermore I will start editing 1080/50p video since I got a new camera. Keep going with iMovie is the right way? Do you suggest other products?
    Thank you for your advices,
    blp

    It appears you have enough processor speed, memory, and hard drives.
    Once these are taken care of, there are two main things that cause slowness 
    1) Events should be logical events. You should not dump all your footage into a single event. A project can use clips from multiple events and the performance is fine.  In DV for example, an event should hold maybe two tapes maximum. If a single tape has three logical events: say Birthiday, Vacation, and Christmas, make three events.
    2)  if you editing feature length movies, you should use Final Cut Pro X. For short movies iMovie is fine. For movies in the middle, it is more of a judgment call. The reason is that iMovie renders everything in one pass. Final cut Pro does background rendering as you go.  If this were the case for you, you would be able to edit at full speed, and you would only notice the slowness or a crash when you shared the movie.

  • I receive an email from Outlook with attachments but when I forward it the attachments are lost.

    One particular person sends attachments which I can open fine but I can't forward them unless I store them and re-attach. The attachments have "size unknown" label in the email.
    A friend of mine who get the same emails from the same sender doesn't get the attachments at all. Her ISP gives "images blocked for your protection".
    Can the sender do anything to fix this? All other mail and attachment work fine.

    RTF = Microsoft proprietary and has no place in email. Email is HTML and Text.
    Contact the sender and ask them to disable any RTF in their mail and point them to this http://office.microsoft.com/en-us/outlook-help/recipients-receive-a-winmail-dat-attachment-HA010153018.aspx..
    The best solution is don't use Outlook.

  • Mail is still loosing attachments at random intervals. Sometimes the attachments arrive and sometimes they do not. Has anyone worked out a solution to this yet?

    Mail is still loosing attachments at random intervals. Sometimes the attachments arrive and sometimes they do not. Has anyone worked out a solution to this yet?

    As with all posts thus far, I have a sporadic loss of attachments. I can tell when this occurs, as the file size clearly shows an attachment should be present, but the "attachments" column fails to recognize an attached file. Unlike some of the suggested fixes, I cannot use "quick look attachments" or "save attachments" to get around the problem. Rather, I must log into my Outlook Web Access for Enterprise Messaging to see and download attachments. This greatly diminishes the advantages of using a program like Mail.
    Not only does loss of attachments occur sporadically, with no consistency as to sender, attachment type, file size, etc..., it also can change on a given message with attachments suddenly appearing and, more troublesome, others suddenly disappearing even if they were previously opened!
    Because of mailbox size restrictions through my employer, I download most messages to my hard drive. However, if I download a message that has a 'missing' attachment, it becomes lost forever. I can see, again by file size, that an attachment should be there, but can obviously no longer access the attachment using the web interface.
    This problem doesn't seem to be as bad on my iPhone 3G. In fact, I can sometimes force an attachment to 'appear' on my computer by opening the attachment through Mail on my iPhone. Again, not a very appealing fix to an annoying bug. It would be great if a fix for this bug were to come soon...

  • Maintain tolerance limits in the Tolerance key

    Hi,
    Could any one help me how to maintain these Tolerance limits in the Tolerance key. This is an error I receive  while creating a PO.
    Best Regards,
    Sridhar.k

    What is the Error Mesaage no you are getting??
    Solution is as Follows
    Set Tolerance Limits for Price Variance
    In this step, you define the tolerance limits for price variances.
    When processing a purchase order, the system checks whether the effective price of a PO item shows variances compared with the valuation price stored in the material master record. In addition, it checks whether the specified cash discount value is admissible.
    Variances are allowed within the framework of tolerance limits. If a variance exceeds a tolerance limit, the system issues a warning or error message.
    In the SAP System, the types of variance are represented by the tolerance keys. For each tolerance key, you can define percentage and value-dependent upper and lower limits per company code.
    Standard settings
    The standard SAP System supplied contains the following tolerance keys:
    PE Price variance, Purchasing
    Tolerance limit for system message no. 207. This message appears if the specified effective price exceeds the predefined tolerances when compared with the material price.
    SE Maximum cash discount deduction, Purchasing
    Tolerance limit for system message no. 231. This is a warning message, which appears when the specified cash discount percentage exceeds the predefined tolerances.
    Note
    You can specify whether the system message appears as a warning or error message using the menu options <b>Environment -> Define Attributes of System Messages.</b>
    Activities
    Maintain the tolerance limits for each tolerance key per company code
    Regards
    Biswajit

Maybe you are looking for