Primo.Office.Pdf 1.2.2

dotnet add package Primo.Office.Pdf --version 1.2.2
                    
NuGet\Install-Package Primo.Office.Pdf -Version 1.2.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Primo.Office.Pdf" Version="1.2.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Primo.Office.Pdf" Version="1.2.2" />
                    
Directory.Packages.props
<PackageReference Include="Primo.Office.Pdf" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Primo.Office.Pdf --version 1.2.2
                    
#r "nuget: Primo.Office.Pdf, 1.2.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Primo.Office.Pdf@1.2.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Primo.Office.Pdf&version=1.2.2
                    
Install as a Cake Addin
#tool nuget:?package=Primo.Office.Pdf&version=1.2.2
                    
Install as a Cake Tool

About

Primo.Office.Pdf is a set of ready-to-use activities for Primo RPA Studio designed to automate processing of PDF documents. It addresses the need to extract data from PDF files and to fill in document forms within automated processes. Key activities include: extracting tables, reading XFA form data, and filling XFA form fields. The package can be added to any Primo RPA Studio project via the built-in dependency manager.

How to Use

In Primo RPA Studio, create a project that will be executed by the Primo RPA Robot. Install this package via the ".Dependencies → Manage Dependencies" menu; the "PDF" node with package elements will appear in the Elements tree. In pure code projects use the "Get table" element as follows:

//wf: [LTools.Common.Model.WorkflowData] parent algorithm link
//fileName - File name [String]
//idx - [Int32] Table index
//page - [Int32] Page number
//headers - [Boolean] Set headers
//password - [String] File password
DataTable Primo.Office.Pdf.PdfApp.GetTable(wf, fileName, idx, [page], [headers], [password])

Elements

  • "Get table" - obtains a table of a PDF document into a DataTable variable.
  • "Get XFA form" - reads XFA form data from a PDF document.
  • "Fill fields (XFA)" - writes data into the fields of an XFA form, either from a JSON dictionary of values or from a table of field names and values.

Key Features

  • User-friendly, intuitive interface
  • High performance
  • Supports .NET Framework 4.6.2+
  • Fields for "Fill fields (XFA)" can be picked visually in the rendered document; when WebView2 Runtime is not installed, the element falls back to a manual field table

Main Types

  • Primo.Office.Pdf.PdfApp
  • Primo.Office.Pdf.Model.XfaForm

Feedback

Bug reports and contributions are welcome at Primo RPA chat

Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.2.2 127 8/27/2026
1.1.2 132 8/11/2026
1.1.1 205 3/25/2026
1.1.0 768 4/21/2024
1.0.0 585 12/2/2023

Added a visual field picker to "Fill fields (XFA)": click fields directly in the rendered document (bundled pdf.js + WebView2) to add them to the values table, with row reordering, per-row error indicators, a "Preview with data" button that fills the rendered document without saving, and Ok/Cancel semantics. When WebView2 Runtime is not installed, the activity automatically falls back to a manual field table (with a field-list refresh button) instead of losing functionality. Fixed an out-of-memory/hang issue caused by validating every field synchronously on each keystroke, and a related crash when editing fields. Fixed field validation and execution incorrectly reporting valid fields as "not found" on multi-page forms and templates with anonymous layout subforms. Fixed the "Fill unbound fields" setting being lost when a task authored on a machine with WebView2 is later run on a machine without it. Fixed the visual picker sometimes adding a duplicate row instead of selecting an already-picked field. Added a warning when clicking a form container instead of a fillable field, and the document name (or source variable) is now shown in the field picker window title.