Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Flattening a PDF Form

Avatar

Avatar
Validate 1
Level 5
yodadobe
Level 5

Likes

12 likes

Total Posts

298 posts

Correct Reply

10 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 5
yodadobe
Level 5

Likes

12 likes

Total Posts

298 posts

Correct Reply

10 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
yodadobe
Level 5

11-02-2009

Is there a service I can use that will convert a PDF Form to a non-form PDF similar to what you would get doing a print to PDF in Acrobat?

Replies

Avatar

Avatar
Coach
Level 10
Jasmin_Charbonn
Level 10

Likes

149 likes

Total Posts

2,154 posts

Correct Reply

97 solutions
Top badges earned
Coach
Give Back 1000
Give back 900
Give Back 800
Give back 600
View profile

Avatar
Coach
Level 10
Jasmin_Charbonn
Level 10

Likes

149 likes

Total Posts

2,154 posts

Correct Reply

97 solutions
Top badges earned
Coach
Give Back 1000
Give back 900
Give Back 800
Give back 600
View profile
Jasmin_Charbonn
Level 10

11-02-2009

transformPDF from the Output service.



Jasmin

Avatar

Avatar
Validate 1
Level 3
JoshDBoyle-DVzR
Level 3

Likes

2 likes

Total Posts

94 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 3
JoshDBoyle-DVzR
Level 3

Likes

2 likes

Total Posts

94 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
JoshDBoyle-DVzR
Level 3

12-02-2009

S. Bishop,<br /><br />The title of this thread requests how to Flatten a PDF but after reading your post I'm unclear if that is what you are specifically trying to do =). One way you can flatten a PDF form is to stick it in an xfaForm variable and run it through Output's generatePDFOutput service.<br /><br />This service accepts many parameters as input but most are optional. The ones to concern yourself with at first would be:<br /><br />1) Transformation Format: The format which you would like to flatten your PDF to. You may choose either PDF (as in going from dynamic to static) or PDF/A (commmon archival standard PDF)<br /><br />2) Form: This is a string that represents the URL path to your form's template. If you are using an xfaForm variable, then you can just pass the variable's templateURL property in here.<br /><br />3) Content Root: The Content Root URL associated with the repository in which 2) above resides. The value of 2) above is actually appended to the end of this. The value to pass in for this is most often "repository://" (no quotes).<br /><br />4) Input Data: This is where you would specify any data you'd like populate the flattened PDF with. If you are using an xfaForm variable, you should pass in "process_data/<your xfa variable>/object/data/xdp/datasets/data/*" (no quotes).<br /><br />The service returns:<br /><br />1) PDF Output: The flattened PDF as a Document variable.<br /><br />Shoot me an email should you run into any snags as I'd be happy to help.<br /><br />Josh Boyle<br />jboyle@cardinalsolutions.com<br />Cardinal Solutions Group

Avatar

Avatar
Validate 1
Level 5
yodadobe
Level 5

Likes

12 likes

Total Posts

298 posts

Correct Reply

10 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 5
yodadobe
Level 5

Likes

12 likes

Total Posts

298 posts

Correct Reply

10 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
yodadobe
Level 5

13-02-2009

This is for the archived version of the form. My primary goal is to shrink the size of the files. I already lock down the fields through script. I had already found and tried the one Jasmin suggested. That did shrink the size significantly although my attachments were gone. I can try your suggestion as well. I think I will still end up with one thing my customers won't like. I add the attachments with script. There is a button to view them. That button won't work. I'll have to ask my customer if the savings in database space is worth the users having to follow a different set of steps to see attachments.

Avatar

Avatar
Boost 5
Level 9
HowardTreisman
Level 9

Likes

5 likes

Total Posts

936 posts

Correct Reply

9 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile

Avatar
Boost 5
Level 9
HowardTreisman
Level 9

Likes

5 likes

Total Posts

936 posts

Correct Reply

9 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile
HowardTreisman
Level 9

20-02-2009

You can combine the attachments with the flattened PDF into a PDF package (v8) or portfolio (v9) using the Assembler service.

You should also set the buttons in your form to be invisible when printed - that way, users won't be tempted to try to click on what is really a picture of a button, rather than a button.

Howard

http://www.avoka.com