Hello,
I have an PDF file and I need to Hide an field in PDF.
e.g In PDF I have an Field
TFN No 123 456 789
I need to Redact or hide (or Blur) the TFN No.
I have tried several ways.
Read pdf to Text (PDF pages are images, I tried using OCR engines as well) then Find the Value using Regex and replace them with empty value and again convert text to PDF (using write Text File), but no success.
-First, you need to identify the field in the PDF that you want to hide or blur. This could be done by examining the PDF structure or using a PDF library to programmatically identify fields.
-Once you’ve identified the field, you’ll need to use a PDF editing library to modify the PDF. This involves either hiding the field or applying some sort of blur effect to it.
OR
-Tools like Adobe Acrobat or PDF-XChange Editor provide options to edit PDFs manually. You can select the field and apply properties to hide it or apply a blur effect using these tools.
1)Convert to other formats:
Convert the PDF to a format editable by UiPath activities like Word or Excel. Then, use UiPath activities to redact or mask the sensitive information before exporting back to PDF.
2)Generate reports from data:
If the PDF is generated from data sources, consider creating new reports excluding the confidential information or providing masked versions if possible.