UiPath Documentation
activities
latest
false
Document Understanding activities

About the PDF activity package

UiPath.PDF.Activities package reference for extracting data from PDF and XPS files.

The UiPath.PDF.Activities pack contains activities designed to extract data from PDF and XPS files and store it into string variables. The data can be extracted from the entire document or from a range of pages specified under the Range property found in each of the activities.

Note:

Starting with version 3.3.0, this activity package is validated for use in C# projects.

Note:

If you use in your project either one of the following packages: UiPath.DocumentUnderstanding.ML.Activities version 1.7.0 or UiPath.IntelligentOCR.Activities version 4.13.0 or UiPath.PDF.Activities version 3.4.0, then you need to update the rest of the packages to the mentioned versions.

In the case of scanned documents, data extraction can also be achieved by using OCR-based activities, Read PDF With OCR and Read XPS With OCR. You can choose any of the available in the UiPath® ecosystem, apart from the screen OCR related engines, and simply drop the engine in the body of the activity.

Note:

If you want to use the UiPath.PDF.Activities package in the same project with the UiPath.IntelligentOCR.Activities package, you need to use either version 2.x of both, or versions 3.x of both. UiPath.IntelligentOCR.Activities version 3.0 and higher is incompatible with a UiPath.PDF.Activities version lower than 3.0, and a UiPath.PDF.Activities version 3.0 or higher is incompatible with an UiPath.IntelligentOCR.Activities version lower than 3.0.

You can also use the PDF activities from coded automations. For the available coded workflow methods, see PDF coded automation APIs (Preview).

Robot log level

The PDF activities write diagnostic details to the robot logs at Verbose level, so these details appear only when the robot runs with verbose logging enabled. For the full list of levels and where to configure them, see Log levels.

You can raise these logs to the Information level by setting the UIPATH_DU_SET_LOGS_TO_INFO environment variable on the robot host, which makes them visible without switching the robot to verbose logging. Because these logs can include file paths, project names, and user email addresses, the variable is an opt-in for each host. When the variable is not set, the Verbose default applies.

Warning:

The activity logs can contain personally identifiable information (PII), including file paths, project names, and user email addresses. Raising the log level to Information makes that information visible to anyone with access to the robot logs.

  • Robot log level

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated