- This topic has 2 replies, 2 voices, and was last updated 3 years, 7 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Automation Forum › Robotic Process Automation › WDG Automation › Get PDF Field Extract Text
Tagged: Extract Form Fields, Get Text from PDF, IBM RPA, PDF, WDG Automation
In Automation Anywhere v11.3 I can get text from PDFs with PDF Integration (Extract Form Fields). Does WDG Automation have an equivalent of Automation Anywhere Extract Form Fields?
Thanks!
You’ll find something very similar in WDG Automation under the Tools tab. Click the Region Selector to launch the tool.
For object-based PDFs (text-based, as opposed to image-based/scanned PDFs) with data appearing in the same general location on each file (the equivalent of Automation Anywhere’s PDF Integration –> Extract Form Fields), click Open to browse to the PDF you want to automate. Select Text (Image is selected by default).
Once the tool loads your PDF, you should see crosshairs. Left-click and drag your mouse to draw a box around the location from which you want to extract the text. In the example below, the yellow part next to Employee Name represents the area from which to extract.
TIP: Try to get the full field when selecting your extraction area. You don’t know how much/little information will be in the field. If you select too little on your sample PDF, your bot may end up missing some info when another PDF contains more text.
After clicking and dragging, you’ll get a popup window similar to the one seen below (Get PDF Region Text). Name your output variable (where you want your extracted text saved), and the other settings should be able to keep their default values (the Auto Detect and Use OCR should be off).
Here’s an example of what happens when you go too big with your extraction box. The green box represents where I drew my extraction area. Notice that I slightly overlapped the text on the next line (Birmingham, MI).
Here’s what the bot extracted to my variable (destination1).
When you’re done extracting all the fields, you can close the Region Selector tool. The tool will have created all the bot commands for you, including the Open PDF File. (Note: Show Message Box command was added by me.)
Thanks for the fast reply, Eric!