These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Document Number

JSLC1954
Registered: Jun 20 2011
Posts: 2

Is it possible to automaticly number documents within a portfolio.
 
I have 900+ emails which have been converted to PDF.
 
I have added Bates numbers to each of the pages no problem but I need to make referance to specific documents within the portfolio and therefore need someway of adding a sequential number to the list.
 
Failing this is it possible to export the list of documents say to excel of access and link backwards?
 
I am using Acrobat 9

My Product Information:
Acrobat Pro 9.4.3, Windows
UVSAR
Expert
Registered: Oct 29 2008
Posts: 1357
Yes, and yes - but you need to do a bit of scripting. We're actually recording a tutorial about this very thing, so stick around for a couple of days and I'll reply with a link.
JSLC1954
Registered: Jun 20 2011
Posts: 2
Thanks I lookforward to the link.
It's such a simple task in expecting but trying to figure it out has been driving me crazzzzzy!
Cheers


UVSAR
Expert
Registered: Oct 29 2008
Posts: 1357
Sorry about the delay - workloads have been hectic, but the tutorial in question should be posted in a week or two.

Note to everyone in the meantime - you cannot change the basic details of a member document in a PDF Portfolio using scripting (the name, MIME type, etc.) as this would be a security issue. To assign numbers to a set of member files, the simplest way is to create a new field column in the "details" view, and populate it with numbers. You can do that very easily with a script such as this:


var d = this.dataObjects;
if (this.collection.getField('#')!=undefined) this.collection.removeField('#');
this.collection.addField({name:"#", order:0, text:"#", type:"N", visible:true});
for (var i = 0; i < d.length; i++) d[i].setFieldValue('#', i+1);