Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How can I search fillable field names across multiple pdfs. Advanced search does not seem to work. I'm trying to find all pdfs that use a certain field name.

New Here ,
Jan 24, 2018 Jan 24, 2018

I'm trying to find all the pdf docs in a folder that use the same name for a fillable field.  I tried using the Advance Search for "All PDF Documents in" but that only finds text in the pdf docs.  I tried to search using the field name (see yellow box in screen shot #1)  but that returns no results (see red box in screen shot #2) when I know that there are at least 3 pdf docs using this field name in that folder (see example of 1 of the docs in screen shot #3).

Is there any way to accomplish this?

Screen shot #1:

Search.png

Screen shot #2:

Search_results.png

Screen shot #3:

pdf_field.png

TOPICS
PDF forms
1.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 24, 2018 Jan 24, 2018

The Advanced Search function only searches the value of fields, not their names.
You can use an Action (if you have Acrobat Pro) to print out a list of all files that contain a certain field-name.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 24, 2018 Jan 24, 2018

This script runs from the Console Window and will search all currently open documents. It could be easily modified to work in an Action.

var aDocList = [];

var oDoc;

for(i=0;i<app.activeDocs.length;i++)

{

     oDoc = app.activeDocs;

     for(var n=0;n<oDoc.numFields;n++)

     {

         if(oDoc.getNthFieldName(n) == "SearchFieldName")

         {

              aDocList.push(oDoc.path);

              break;

          }

      }

}

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 25, 2018 Jan 25, 2018

Thanks for the answers!

I don't have Pro but I'll consider getting it.

I couldn't get the batch file to run but I'll keep working on it as time permits.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 25, 2018 Jan 25, 2018

The console script solution will work in Reader. You don't need Pro.

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 26, 2018 Jan 26, 2018

In the screenshots above it's evident you do have Adobe Acrobat Pro... It's written in the title of the application.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 26, 2018 Jan 26, 2018
LATEST

I would say even more: Acrobat Pro version 9 for Windows.


Acrobate du PDF, InDesigner et Photoshopographe
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines