Connect HomeMarketplaceComponentsAtos - Protect and UnProtect File

Atos - Protect and UnProtect File

Custom Activity

Custom Activity, Information Technology, Atos - Protect and UnProtect File
Custom Activity

Updated: May 21st, 2020

Published: May 21st, 2020

Downloads: 2

Industry: Information

Atos - Protect and UnProtect File

Custom Activity

Summary: 

This activity is used to protect and unprotect Excel, Word, PDF files

This component can be used to secure the existing Excel, Word ,PDF, Presentation files with password and to remove the password from existing protected Excel, Word, PDF, Presentation files.

1. Protect File Activity - It will protect the existing Excel, Word, PDF, Presentation files with a provided password and will save the ProtectedFile in the same file path with the same file name.
  • InArgument: FilePath -Existing file path.
Password - the password with which the file needs to be protected.
  • OutArgument: Status - It will provide "Success" as an output if there is no exception and if exception occurs, it will provide the exception details as output.

2.UnProtect File Activity - It will unprotect the existing Excel, Word, PDF, Presentation password protected files by providing the password used to protect that file and saving the unprotected file in same file path with the same file name.
  • InArgument: FilePath - The existing protected file path
FilePassword - the password already used to protect the file.
  • OutArgument: Status - It will provide "Success" as an output if there is no exception and if exception occurs, it will provide the exception details as output.

Details

Benefits

This activity is useful in the scenario when we need to use protected files in an automation process. 
For example, if we need to use protected Word files because in Word application scope we don't have the facility to open the password protected file, so we need to first unprotect the file and use that file in Word application scope and protect that using the same password.

Compatibility

Compatible with all previous and current UiPath Studio versions.

Dependencies

Microsoft.office.Interop.Excel(15.0.4795.1000)
Microsoft.office.Interop.Word(15.0.4797.1003)
Syncfusion.Pdf.AspNet(18.1.0.46)
Syncfusion.Presentation.AspNet(18.1.0.46)

Resources

- Protect and UnProtect Files.docx

Licensing

By clicking download you agree to the following license.