Getting fields' values from PDF Forms

Learn how to get all fields and their values from a PDF Form, or get the value from a specific field with aid of the Fields Mapper tool within IBM RPA Studio.

Before you begin

Before you get values from fields, you must open a PDF instance. If you use the Fields Mapper tool, it automatically adds the command to open the PDF file. For more information, see Opening, closing, and saving PDF files.

Get all fields

Use the Get PDF Fields (pdfDump) command to get all editable and noneditable fields and their values from a PDF Form. Read this command's specification for examples on how to use it.

Get the value from a specific field

Use the Fields Mapper tool within IBM RPA Studio to map fields in a PDF Form and get values from them:

  1. Open this tool by clicking Tools > Fields Mapper.
  2. From the Selection tab, select Get.
  3. Click the field that is highlighted in green to get the field's name and its value.

It automatically prompts the Get PDF Field (pdfGetValue) command to you. In the Value output's parameter, enter the variable to receive the field's value.

The Fields Mapper tool opened. In the image, the user clicks the Get option, and choose a field to get the value, which automatically prompts the Get PDF Field command.
Figure 1. The image shows how to map a field with the Fields Mapper tool, and get the value from that field.