Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
MigueldelCampo
Contributor III
Contributor III

Using Python "custom code box" to add password to PDF

Hi friends! I need some suggestions on how to do this in Qlik Cloud: I need to take a PDF file from an Onedrive connection, pass it to a Custom Code box, and process it with Python (internal coder) using the py2pdf lib to add password.

The processed file should then be saved back to the same Onedrive with the original name but adding '_secure' at the end.

Any idea? I've tried with files in SharePoint but not in OneDrive. And I don't know how to pass the file as a variable to the Python structure.

Thanks in advanced. Best regards

Labels (2)
0 Replies