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

How to display a documents version as stored in LC repository

Avatar

23-06-2008

Hallo,



I need to display the version of an XDP file. Stored in the LC repository every file gets a version number, e.q. myfile[#1.2].



So I thought to use a textfield an set its value to these version number. But, how to acces the repositorys version number of an file?



Regards, Leo

Replies

Avatar

23-06-2008

Or (as a second question, may be simplier) access the metadata (form properties) via scripting and place "a" version number information.



Any hints, please?



Regards, Leo

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

611 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

611 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

23-06-2008

I do not believe that you can get at the version information that is in the repository. It merely takes the latest one that is active.



All of the Form Properties are stored in the XDP template. Here is an example of getting at the Title and Version. This assumes your form root node is form1:



xfa.host.messageBox("Title is " + xfa.form.form1.desc.title.value)

xfa.host.messageBox("Version is: " + xfa.form.form1.desc.version.value)

Avatar

26-06-2008

Hello, is there a compact overview about all informations available in xfa.form.form1.desc.* ? I only found common informations about XMP at Adobe's website ...



And: If I defined some proprietary variables as form properties how can I get those values in these kind?

Regards, Leo