Create your first automation in just a few minutes.Try Studio Web

PDF Redactor

PDF Redactor

by Internal Labs

StarStar

6

Activity

Downloads

6.4k

Jatin Agrawal
Posted 6 months ago

I want to redact the first three characters of a number/text in a pdf Example - "1238793" then output pdf should have " 8793". could you please suggest on how can we achieve the same?

Scott Taylor
Posted a year ago

Any ideas on this error..?

PDF Redaction: Method not found: 'System.Collections.Immutable.ImmutableArray`1 System.Reflection.Metadata.MetadataReader.GetBlobContent(System.Reflection.Metadata.BlobHandle)'.

Meenakshi Subramanian R
Posted a year ago

Hello Bernard,

This seems to be little older and doesnt support with modern Windows project. Kindly let me know if there is any update on the package

MANISHA V ARORA
Posted 4 years ago

Hello Bernard,

We tested this in our project and we see there are a few limitations , 

  • It works on a pdf with upto 64 lines or pdf spanning for few pages. 
  • It doesnt work on a pdf more than 64+ lines or on a pdf spanning multiple pages.We get a blurred pdf document as the output without masking
  • Multiple occurences of the same keyword are getting highlighted.

We are on a critical project, this functionality is awesome and very helpful. We really want to move ahead with this.

But we see there are limitations, How can we progress on this?

We can connect to discuss more on this.

Thank You!

Mukesh Kumar A
Posted 4 years ago

Hi , 

Is there a way that we can redact the table rows form pdf,based on one cell

miguel martinho
Posted 4 years ago

Hello Bernard, this activity looks amazing!

Do you mind upload an Workflow File? It seems, that there is no actual one.

Ty for you Effort!

Mike Bos
Posted 4 years ago

Hi Bernard,

Thank you for developing this activity, it's very helpfull! 

I also noticed that whenever i'm trying to redact a string that contains spaces the activity doesn't do anything. It doesn't seem to matter if i'm using a string or a RegEx pattern.

Examples:

- NL512 ABCD 1234 4321 99 is not being redacted when using this RegEx expression: "([A-Z]){2}\d{2}\s?([A-Z]){4}\s?\d{4}\s?\d{4}\s?\d{2}"

- NL512 ABCD 1234 4321 99 is not being redacted when searching for the string itself "NL512 ABCD 1234 4321 99"

Bernard Lawes
Posted 4 years ago ago

Hi Mike Bos.  

This version of the PDF redactor does not handle spaces.  It only redacts single contiguous strings (words) with no words.   Soon, I will release another version than leverages UiPath Document Understanding, and that one will redact groups of words, lines, and paragraps of text

Aditya Hardikar
Posted 5 years ago

Bernard,

Second the question posted below. The PDF redactor doesn't seem to redact when space characters are involved

Eg pdf containing CC number : 1234 5678 6765 5643

Regex : (\d{4})(.*)(\d{4})(.*)(\d{4})(.*)(\d{4})

Even when the regex extractor is extracting the text, and ascii conversion of the space character give 32 (ascii for space)

Eg: 1234 5678 6765 5643

Ascii Conversion post extraction: 49 50 51 52 32 53 54 55 56 32 54 55 54 53 32 53 54 52 51

Bernard Lawes
Posted 4 years ago ago

Hi Aditya, 

This version of the PDF redactor does not handle spaces.  It only redacts single contiguous strings (words) with no words.   Soon, I will release another version than leverages UiPath Document Understanding, and that one will redact groups of words, lines, and paragraps of text

Naveed Hakim
Posted 5 years ago

Hi Benard , I am getting an error with regex and even string processing. If my regex contains space, activity doesnot redact anything.

Bernard Lawes
Posted 5 years ago ago

Hi Naveed, would you mind giving me an example of your regex pattern, and the sample text?

Ben Ngo
Posted 5 years ago

Hi Bernard, hope your well, regarding this activity, do I have to build a workflow with the acitivty 'Redact PDF'? As I can't seem to get it working and seeing what you demo. Can I get the demo script that you used to give this a try.

cheers

Ben.

Bernard Lawes
Posted 5 years ago ago

Hi Ben, 

I am sorry that we've been missing each other due to timezones.

You can find the example code here:

https://forum.uipath.com/t/pdf-redaction-custom-activity/236846

Publisher

Internal Labs

Visit publisher's page

License & Privacy

License Agreement

Privacy Terms

Technical

Version

3.0.1

Updated

September 26, 2024

Works with

Studio: 24.10+

Certification

Silver Certified

Application

Support

UiPath Community Support

Resources