Hi Team,
Is there any UiPath Package that will support PDF Operations. I would like to populate a PDF Form comprising of texts, checkbox and tables.
Client cannot provide word document as the pdf is generated from a government site and needs to be used AS IS
what would be the best implementation here?
Please help with your suggestions
UiPath does not have native PDF packages for creating/populating a form, rather reading from it - however you can use alternative methods.
You could build an HTML file and convert that to a PDF that mimics the form you have (UiPath supports this).
You can also use VB code to do this in an invoke activity. You would need to create a dictionary of the fields you want to insert in the form and then invoke those as arguments that get called into the code. This is more difficult because you would need to access the forms internal field names using Adobe PDF Pro or a free tool like ByteScout PDF Multitool to actually interact with the metadata of that form. But still possible.
You can also look at the UiPath Marketplace to confirm if there are other packages that someone else might have created for you to use.
Checkout this thread for more assistance form other users:
you can try with UIAutomation if it supports, or Adobe package will help.
Happy Automation
The best approach depends on the PDF:
If it has editable form fields, use a PDF library or Marketplace package to populate the text fields and checkboxes directly.
If it is a flat PDF, you may need to overlay text and checkmarks at fixed coordinates.
If it is an Adobe/XFA form, UI automation in Adobe Reader may be the most practical option.
For the table, check whether each row is made up of individual PDF fields. If so, you can loop through a DataTable and populate them row by row.
I would first confirm whether the PDF contains actual form fields. Directly updating those fields would be more reliable than using UI automation.
Something like:
Download/copy original PDF
Read form field names
Build Dictionary <String, String>
Set text and checkbox fields
Populate table row fields with UI / form edits
Save as a new PDF
Reopen and validate field values
Hi @Prachi_R_Singh,
If the PDF template is fixed, you can achieve this using UI Automation by opening the PDF in a browser and interacting with the form fields using UI activities. This approach works well for text fields, checkboxes, and other standard form controls.
If the form structure changes dynamically, consider using AI-powered activities such as Fill Form or Screenplay.
Thanks