top of page

Courts frequently request that a copy of a court filing be submitted on a flash which contains hyperlinks to exhibits which are cited in the filing. If you don't want to add the url for where an exhibit was filed on PACER or on a state court docket, and you don't want to create one long, 100 MB plus PDF with internal links to each exhibit, it is possible to add links to PDFs of the exhibits which are on the same flash drive as the PDF of the main filing.


Obviously, anytime a flash drive is inserted in a different PC it can be assigned a different drive letter. Acrobat provides a way to add 'relative paths' which omit a full file path including a drive letter, and will simply point to the same location the open PDF is located in.


Follow these steps:


  1. Put both the main document and the documents you are linking to in the same folder on the flash drive.

 

  

 

  1. Click ‘Edit PDF’ from the toolbar:

 

 


 

 3. Select the option for ‘Add/Edit web or Document Link’

  


 

 

  1. Choose the option for ‘Open a web page’, not ‘Open a file’

 

 

 


  

  1. Just enter the filename of the document you are linking to – not the full filepath.  Remember each document you are linking to should be in the same folder as the court filing or whichever file has the links.

  

 

 

Now no matter where the files in the folder are copied to, Adobe Acrobat should open a relative path – it will open the linked files assuming that they are in the same folder as the PDF the links have been added to.

 

 

 

I tested this method by copying the files to more than one location on a network, and also with the data copied to a flash drive used with two different laptops, and then with the data copied off the drive and onto the hard drive of each laptop.  The links worked each time.

 

The only problem I encountered was when I tried to open the links using an open source PDF editor (for which I did not have a full license) instead of Acrobat.  However, the links did work when I simply opened the PDFs in Edge or Chrome, so if a recipient does not have Acrobat, they will still certainly be able to open a copy of the PDF with working hyperlinks.

 

 

The Tip of the Night for January 14, 2023 discussed how to remove hyperlinks from PDFs being filed with a court.


'Flattening' a PDF is a common step to take before filing a document electronically in order to ensure that forms on the PDF can't be subsequently altered. Courts usually view writing a PDF file to a new PDF as being sufficient to flatten the document. On its web page entitled, 'Flattening a Fillable PDF', the Second Circuit instructs e-filers to print out court filings to new PDFs in Acrobat.



Likewise the site of the United States Court of Appeals for the Fourth Circuit has a page entitled, "How to Flatten PDF Forms", that recommends flattening filings the same way.



See the sites of the United States District Court for the Northern District of Mississippi ("What is 'Flattening a PDF?"); the United States District Court for the Western District of New York ("How to Flatten a PDF File or Form for Filing in CM/ECF"); and the United States District Court for the North District of Texas ("Flattening a PDF File").


But writing a PDF to a new PDF file, will not necessarily remove all of the links in the PDF. You can however use an option under the Preflight function in Acrobat, named 'flatten annotations and form fields' which will remove all of the links in a PDF, without doing a conversion to tiff image format as discussed in the January 14, 2023 tip. In my testing this method removes links in the footers of PDFs, which simply writing a file to a new PDF file will not.


We can also set up this function in an Adobe action to process multiple PDFs by following the below steps, which is a big advantage over the approach used on the courts' web sites.


  1. Create a new action and select 'Preflight' under the 'Document Processing' menu from the list of tools on the left.



2. Under the 'Acrobat Pro DC 2015 Profiles' pick the option for 'Flatten annotations and form fields'.


3. Set the processed PDFs to be outputted to a new folder:



4. Add a save function to the action:




You'll be able to use this action to remove the links from multiple PDF files which have been prepared for filing.






You can use javascript code in Adobe Acrobat to extract set ranges of pages from a PDF file and then save and rename each extracted PDF range as a new file.


A user named vvb posted the following code here:


/* Extract Pages to Folder */var re = /.*\/|\.pdf$/ig; var filename = this.path.replace(re,""); var lastPage=this.numPages-1; { for ( var i = 0; i < this.numPages; i = i + 2 ) this.extractPages ({ nStart: i, nEnd: i + 1, cPath : filename + "_page_" + (i+1) + ".pdf" }); };


This code can be inserted in Acrobat and edited so that it takes 5 pages at a time from a source PDF file and then names them sequentially with a prefix.


In Acrobat go to More Tools and select Action Wizard. On the top toolbar select the option for 'New Action'. In the 'More Tools' menu select the 'Execute Javascript' option - doubleclick on it so it appears in the right pane.


Uncheck the 'Prompt User' option, and then click on 'Specify Settings'.


Edit the code so that the line beginning, " for ( var i = 0; i < this.numPages; i = i + " specifies how many pages you want each PDF to be., and the line beginning "nEnd: i + " ends with one number less. Modify the line beginning, " cPath : " so that it has the letter prefix for each file. The script will name each extracted file with the page number from the original file that the excerpt begins with.



/* Extract Pages to Folder */var re = /.*\/|\.pdf$/ig;


var filename = this.path.replace(re,"");

var lastPage=this.numPages-1;

{

for ( var i = 0; i < this.numPages; i = i + 5 )

this.extractPages

({

nStart: i,

nEnd: i + 4,

cPath : "ACME" + (i+1) + ".pdf"

});

};




Save and name the action.



Click on the action in the Actions List and then select the files that you want to run it on. Click the 'Start' button.



The script will create a new file (in the same folder as the source file(s)) named with the prefix you enter in the code and the page number on which the excerpt begins.



Sean O'Shea has more than 20 years of experience in the litigation support field with major law firms in New York and San Francisco.   He is an ACEDS Certified eDiscovery Specialist and a Relativity Certified Administrator.

The views expressed in this blog are those of the owner and do not reflect the views or opinions of the owner’s employer.

If you have a question or comment about this blog, please make a submission using the form to the right. 

Your details were sent successfully!

© 2015 by Sean O'Shea . Proudly created with Wix.com

bottom of page