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:
- Open this tool by clicking Tools > Fields Mapper.
- From the Selection tab, select
- 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.