File Upload field in livecycle designer

Avatar

Avatar

satkum87

Avatar

satkum87

satkum87

21-06-2010

Hi

Am trying to create a form which allow user to add an attachment and want to display the size of the attached field.And also i wnt to save the form in the local system .Could anyone help me to come out of this.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

pguerett

Total Posts

7.7K

Likes

611

Correct Answer

692

Avatar

pguerett

Total Posts

7.7K

Likes

611

Correct Answer

692
pguerett

24-06-2010

I modified one of my samples to show you....

Paul

Answers (24)

Answers (24)

Avatar

Avatar

arunpriyan89483

Avatar

arunpriyan89483

arunpriyan89483

21-12-2017

Hi All,

Good Day!!

I saw the above post it's very useful.

I have scenario like " get the file from local folder and drop that file to network folder". How to create a java-script for this. Am new to this. Can u please send me any sample

Please advise.

Avatar

Avatar

pguerett

Total Posts

7.7K

Likes

611

Correct Answer

692

Avatar

pguerett

Total Posts

7.7K

Likes

611

Correct Answer

692
pguerett

27-07-2011

Or buy Acrobat for those people who need that functionalty. That is not a restriction in Acrobat

Paul

Avatar

Avatar

Niall_O_Donovan

Total Posts

4.4K

Likes

645

Correct Answer

786

Avatar

Niall_O_Donovan

Total Posts

4.4K

Likes

645

Correct Answer

786
Niall_O_Donovan

27-07-2011

Hi,

The price will vary depending on a number of factors.

If you are only dealing with a small volume of people/data processes, then I would use instructions that additional documents must be manually attached to the email.

Good luck,

Niall

Avatar

Avatar

zerozone110

Avatar

zerozone110

zerozone110

27-07-2011

Hi Niall,

Your answer and example is very helpful. I design a lot of forms with LiveCycle Designer ES2, and because of your answer here, I now know that the users of my forms will not be able to add attachments just by me "enabling Reader" from Acrobat.

I have been trying to find what it would cost for me to have LiveCycle Reader Extensions. I spoke with an Adobe sales rep, and she didn't seem to understand the concept (that the user cannot upload attachments without Reader Extensions having enabled it). She said something about the cost starting @ $50,000. What!? Is she talking about the same thing I need? Then she directed me to contact Customer Service.

I'm not sure who to turn to for my specific situation. I am the only one in my company using LiveCycle Designer and just need to enable a couple dozen people to be able to upload attachments to a form.

Any advice would be appreciated.

Regards,

ZeroZone

Avatar

Avatar

Niall_O_Donovan

Total Posts

4.4K

Likes

645

Correct Answer

786

Avatar

Niall_O_Donovan

Total Posts

4.4K

Likes

645

Correct Answer

786
Niall_O_Donovan

07-07-2011

Correct,

With other file types, the issues would be that the user has the correct programe to open the particular file type.

The main form would still need to be Reader Enabled.

Niall

Avatar

Avatar

zerozone110

Avatar

zerozone110

zerozone110

07-07-2011

Yes. However, I presume that most other file types (other than PDF) will not be an issue?

Avatar

Avatar

Niall_O_Donovan

Total Posts

4.4K

Likes

645

Correct Answer

786

Avatar

Niall_O_Donovan

Total Posts

4.4K

Likes

645

Correct Answer

786
Niall_O_Donovan

07-07-2011

Hi,

Doing a quick test with Paul's form above, yes, if the person with Acrobat attaches the files to the form, then the user with Reader will be able to see the files in the attachment panel and can open them.

However the user with Reader will only be able to save the data if each of the files is Reader Enabled to permit the save functionality for that form.

In particular the main form that contains the attachments would also need to be Reader Enabled.

Make sense?

Niall

Avatar

Avatar

zerozone110

Avatar

zerozone110

zerozone110

07-07-2011

Can Adobe Reader users still view, open, and save attachments, even though they cannot add them? If they submit the form to someone else, will the attachments still be there?

ZeroZone

Avatar

Avatar

zerozone110

Avatar

zerozone110

zerozone110

07-07-2011

Thanks, Niall.

I was unaware of those options. I'm looking into it.

ZeroZone

Avatar

Avatar

rajesh9g

Avatar

rajesh9g

rajesh9g

07-07-2011

Hi,

       I order to provide the Adobe Reader the capabilities of submission, we must provide Reader Extensions to the Dynamic PDF that we have. For this you need to go to Reader Extensions console, which is accessible through URL and it should of format,

http://<yourservername>:[port number]/ReaderExtensions

Please find image for below for more information, where you are adding capabilities for submission and attachments.

reimage.jpg

I hope this should answer to your question.

Thanks,

Rajesh

Avatar

Avatar

Niall_O_Donovan

Total Posts

4.4K

Likes

645

Correct Answer

786

Avatar

Niall_O_Donovan

Total Posts

4.4K

Likes

645

Correct Answer

786
Niall_O_Donovan

07-07-2011

Hi,

Where a form is Reader Enabled in Acrobat, then the ability to attach other documents is restricted/not allowed:

options.png

The ability to attach documents is ONLY available if the user has Acrobat OR if the form has been Reader Enabled in the full LC Reader Extensions ES2.5.

See here: http://assure.ly/etkFNU.

Hope that helps,

Niall

Avatar

Avatar

zerozone110

Avatar

zerozone110

zerozone110

07-07-2011

I think I've figured out how to remove the warning, but I am now having another problem.

I  opened my form in Acrobat X Pro, and extended Adobe Reader usage  rights. Then when I open the PDF in Adobe Reader to test, my "Add File"  button does not work. Any ideas?

Also, I don't know if this as anything to do with it, but I've hidden the "Show Attachment Names + Launch/Size" button.

Regards,

ZeroZone

Avatar

Avatar

zerozone110

Avatar

zerozone110

zerozone110

07-07-2011

I think I've figured out how to remove the warning, but I am now having another problem.

I opened my form in Acrobat X Pro, and extended Adobe Reader usage rights. Then when I open the PDF in Adobe Reader to test, my "Add File" button does not work. Any ideas?

Also, I don't know if this as anything to do with it, but I've hidden the "Show Attachment Names + Launch/Size" button.

Regards,

ZeroZone

Avatar

Avatar

zerozone110

Avatar

zerozone110

zerozone110

06-07-2011

Hi,

I really appreciate the example you provided, but I have a couple of questions...

  1. It seems unnecessary to have the "Show Attachment Names + Launch/Size" button visible. Isn't it redundant or does it serve a different purpose than I am realizing? Can I "hide" it without breaking anything?
  2. Is there supposed to be a Warning (as shown below) when you are removing a file? I'm afraid it might make the form users panic that they did something wrong, and they will all be asking me what to do.

Capture-2.GIF

Regards,

ZeroZone

Avatar

Avatar

pguerett

Total Posts

7.7K

Likes

611

Correct Answer

692

Avatar

pguerett

Total Posts

7.7K

Likes

611

Correct Answer

692
pguerett

11-04-2011

The form does not save the "state" of the form automatically. If you open the form in Designer and under the File/Form Properties/Defaults tab there is a "Preserve scripting changes to form when saved" radiobutton that needs to be set to automatically instead of manually.

Paul

Avatar

Avatar

J_Maddux

Avatar

J_Maddux

J_Maddux

10-04-2011

Using your sample, I can add a file, but when I save, close, and open the sample, the file is no longer in the box.  It is now in the attachments area.  Is there any way to make it populate the box with what is in the attachments area?  I am just thinking that the attachments area isn't the most user friendly place to store stuff because the average end user isn't going to know about it or how to get there/know that something is there. That's why I want the attachments to appear in the box when they open the form I'm building.

Thank you in advance.

Jesse

Avatar

Avatar

pguerett

Total Posts

7.7K

Likes

611

Correct Answer

692

Avatar

pguerett

Total Posts

7.7K

Likes

611

Correct Answer

692
pguerett

08-03-2011

Here is a sample that shows you how ....

Paul

Avatar

Avatar

wCork32

Avatar

wCork32

wCork32

08-03-2011

How would I go about putting the attachment option on the form? Would I just use a regular button?

What would the code look like to browse to find an attachment?

Avatar

Avatar

pguerett

Total Posts

7.7K

Likes

611

Correct Answer

692

Avatar

pguerett

Total Posts

7.7K

Likes

611

Correct Answer

692
pguerett

08-03-2011

Yes you can add attachments to the PDF ......but if your users are using Reader then the form must be Reader Extended to allow for this functionality. You would need LiveCycle Reader Extensions server to do this. If they are using Acrobat then the attachments will work without an additional software.

paul

Avatar

Avatar

wCork32

Avatar

wCork32

wCork32

08-03-2011

I'm creating a fillable form in LifeCycle Designer ES 8.2 and i'm trying to give the option to attach

a file if the user wants to. Also, when the form has been filled out, it is emailed to a group of people

and i need the attachment to be emailed along with the completed form. Can this be done?

Avatar

Avatar

wCork32

Avatar

wCork32

wCork32

08-03-2011

I'm creating a fillable form in LifeCycle Designer ES 8.2 and i'm trying to give the option to attach

a file if the user wants to. Also, when the form has been filled out, it is emailed to a group of people

and i need the attachment to be emailed along with the completed form. Can this be done?

Avatar

Avatar

satkum87

Avatar

satkum87

satkum87

24-06-2010

Thanks a lot Paul.

Am trying to create a form which has two check boxes (ch1,ch2)  and two radio buttons(male,female).If user click a male , a value in ch1, ch2 values generated according to tat.try to help me to come out of this Paul.

Avatar

Avatar

satkum87

Avatar

satkum87

satkum87

23-06-2010

Hi paul

   Thanks for ur reply.Am new to this.Can u please send me any sample

Avatar

Avatar

pguerett

Total Posts

7.7K

Likes

611

Correct Answer

692

Avatar

pguerett

Total Posts

7.7K

Likes

611

Correct Answer

692
pguerett

22-06-2010

The dataobject has a size attribute that will return the size of the attachment in bytes. You use it the same way you used the path attribute to get the filename.

Saving of the attachment on the localsystem is done through he exportDataObject method. You will not be able to save the attachment without th euser intervening. Meaning that the fil dialog will come up and the user must hit enetr on the dialog to complete the save.

Paul