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

Autoname based on field

Avatar

16-07-2008

Hello,



I am quite new to Livecycle and am ripping my hair out trying to figure out how to do the following:



I need to have a button within my PDF form that will do the following in order:



1. Save the file to a specific location with a filename thats auto-generated based on a fields content within the form



2. Email a "notification" to a specific email address with the same message everytime.



3. Print the form



Am I wasting my time with this, or is Livecycle capable of doing it?



I have all these functions working seperately with the exception of the autonaming.

Replies

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

16-07-2008

Firstly autosaving (meaning saving programatically) is a no no. This is against the security model (the user has no idea that this is goinng on). You can have the use click a button and choose the file name to save. Email the notification is not an issue except that the autoamtion can create the email message but the user has to hit th esend button in th eemail client (again security concerns around email spamming are restricting you to fully automate this). Printing the form can be done without intervention.

Avatar

16-07-2008

Paul thank you for your response. I think you may have missunderstood my intention when i said "auto save"



I am looking to toggle the app.execMenuItem("SaveAs") function. However I would like to generate a filename automatically based on a filled out field within the document.



For example if I have a field within the document called "CaseNumber" and the user fills out the field with "1234", when they hit the button it will popup the save as dialogue but generate the filename "1234.pdf" and location "c:\pdf" (or something similar) so all the user has to do is hit save.



I can get the save as function to work but dont know how to get the filename to generate from the field

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

16-07-2008

I don't think you can effect the fieldname ...the user will have to choose it.