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

Referencd PDF Attachment

Avatar

15-07-2008

Hi,



I have a PDF generated in LiveCycle form, which may or may not contain an attached PDF file.



Our problem is that our end users are not that literate and we need to make it blindingly obvious when one of these forms contains attachments.



When the form is opened, I would like to include some scripting to reference whether on not there is an attachment in the document and show/hide a subform which contacts an explanation for the users that there is an attachment and that they need to click the paper clip icon to access this.



Alternatively I would like to be able to force Reader to open with the Attachment window visible but I don't know if this is possible either.



Thanks



James

Replies

Avatar

Avatar
Validate 1
Level 4
Mark_Lindberg
Level 4

Likes

8 likes

Total Posts

211 posts

Correct Reply

7 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 4
Mark_Lindberg
Level 4

Likes

8 likes

Total Posts

211 posts

Correct Reply

7 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
Mark_Lindberg
Level 4

18-07-2008

James:

Give this a look:

http://www.adobeforums.com/webx/.3c062847/0



It can be the basis for identifying if there are attachments. If so you can use app.alert("... ") to tell the user to look for them.



Good Luck

Mark

Avatar

28-07-2008

Thanks Mark,



This looks like it will do the trick. My on;y question would be how could this be tested in Designer? How do I get an attachment stored against the XDP to verify the code (N.B As I am only doing a small check, I will test the code by running the process against this form for the moment) but if I wanted to do more complex logic against PDF attachments, how would I do this/



Thanks



James

Avatar

Avatar
Validate 1
Level 4
Mark_Lindberg
Level 4

Likes

8 likes

Total Posts

211 posts

Correct Reply

7 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 4
Mark_Lindberg
Level 4

Likes

8 likes

Total Posts

211 posts

Correct Reply

7 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
Mark_Lindberg
Level 4

28-07-2008

James:

I guess I am not sure.

Perhaps someone else will join in here.

Sorry.

Mark

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

28-07-2008

Post your email address and I will send you a sample that shows how to deal with attatchments.

Avatar

28-07-2008

Paul,



I am interested in seeing your samples dealing with attachments. Could you please send them to me? Here is my email: dnollatut(at)yahoo.com



Thanks for your help,



Daniel

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

28-07-2008

Just sent it