on 03-26-2008 1:03 PM
Hi,
This is how my scenario goes...
I have an interactive form, wherein I have a submit button that attaches the PDF form in a mail. The size of the form seems to increase drastically when it gets attached to the mail. Ratio is something like this 200KB - 1MB.
Please give me a suggestion on this
Regards,
Sathish M
Hi Sathish,
Please check to see if SAP Note 905753 applies to your case.
Hope it helps.
Regards,
Dao
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sathish ,
I want to check the size of the pdf created by me before sending an email.Did you get any solution foe your below query?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can get the size of the pdf file by binding a context attribute of type binary to the attribute pdfSource of the interactiveForm ui element. Then check the size of that attribute with
byte[] pdfBytes = wdContext.currentContextElement().getPdfSource();
if (pdfBytes.length < 100000) {
//do something
}
See if that helps!
regards,
Richard Linnander
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.