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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Folder Level Functions

Avatar

Level 2

Where/How do you add folder lever functions such as those needed to access identity poreties in LiveCycle... I have been unable to find it and I am sure it is simple.

0 Replies

Avatar

Level 2

I am clear on how to create a folder level .js file and I think I am clear where to place it but I dont understand how to load it and then refrence it when creating my livecycle form. Is there somewhere that I can get a relativly simple tutorial to walk me through the whole process... once I have the basic process down I can figure out how to add to it a nd change it. What I am trying to do is create a trusted level function to get the identity.loginName to automatically populate a text field.

Avatar

Level 10

Before you go down that path you realize that you will have to distribute that function (separate from Acrobat) and have the script reside in a specific place (relative to where Acrobat is loaded).....right?

Paul

Avatar

Level 2

Yes, I am aware of that. These forms are run only in-house on three computers that are networked together on a larger network. If the file can be place on a shared network folder that would be ideal but if it has to be specific to each machine I can do that also. These forms are only run on these three computers and no where else. I have done some minor scripting in the past both with adobe forms and on the web but this seems to be a little more in-depth that what I have attempted previously. It will be a learning process and I need some guidance but I should be able to pick it up relatively easily.

Avatar

Level 10

There are detailed instructions as well as lots of good information in the Acrobat Javascript reference. You can find multiple versions of it here:

http://www.adobe.com/devnet/acrobat/javascript.html

Just look up Trusted Function in the guide and it will discuss it in great detail.

Paul

Avatar

Level 10

It's specific to each machine. I'd love it if it could be shared from a network drive.

I've written some trusted-function js for Acrobat for things we need (adding pages) but haven't tried referencing them through LiveCycle.

If you search around the forum there is some code kicking around for enabling Save As with a filename.