Announcements
Hi All,
I run a report and save it into a .pdf format. These procedures are absolutely fine. But now I need to create a password protected of that .pdf file. Please provide me the procedure how to create password of the pdf while it saves at the time of report run? Kindly help me in giving a solution to this procedure.
*This post is locked for comments
Anuj, your question about unzipping and decryption a file doesn't belong to this thread, which is about printing reports to password-protected PDF files. Please continue in the thread you've created for your question.
I am receiving a zipped and password protected file from external system. How can I unzip and decrypt a file with password in Dynamics AX? Then I'll read the file data.
I think it will meet the your senario. it will help out you.
Absolutely agree with Kambiz, do a .dll with the logic and incorporate the password in the document and convert it to into the .pdf.
For SSRS, I think there must have this option because .NET is a great and powerful tool. Check it once from there.
Cheers... happy DAXing... :)
In short, you have to use from .NET to write a managed code or custom assembly in order to protect the given PDF with password, then call it from your x++, run it as a job or call it within your current x++ class with the required args.
If your are working with SSRS, the logic is the same, except you could write the managed code directly inside SSRS and no need to x++ (but and unless you might use x++, depends on your situation).
Sorry guys, I could not help any more cause still we are finding the solution from Ax end. We could not make it till today but one way I can give you, it may help you but not sure how much it will help; make your document in word format and make this document password protected with the help of 3rd party software or may be help of wrapper class of Ax and then convert into the document in pdf. I am not sure about this process but conceptually it can be done. Best of luck and happy DAXing.
Hi Rajdip,
please share the code for the same ... i also have to generate a payslip in 2009 and that must be password protected.
thanks
Hi,
I do face the same problem, if anyone find the soln plz do let me know.
Thanks
Chaya
Hi,
Till now I didn't get any solution regarding this process. If you find any solution then please let me know. Any suggestion would be helpful.
André Arnaud de Cal...
294,000
Super User 2025 Season 1
Martin Dráb
232,850
Most Valuable Professional
nmaenpaa
101,158
Moderator