web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How to create password protected pdf thru AX

(0) ShareShare
ReportReport
Posted on by 3,333

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

I have the same question (0)
  • MohammedRasheed Profile Picture
    1,405 on at
    Hi Rajdip, i am thinking about how you can achieve this.. and i am of the opinion that you should not build this as integration/enhancement in ax.. this is why i say this: i believe that ax creates pdf files using free dlls available from Adobe.. however i dont think that abobe have actually made Encryption a part of the free object. so to encrypt a pdf file, you would have to purchase adobe acrobat (writer).. now if you are doing all that, why can the user simply encrypt the file using Abobe acrobat? so generate it of ax, and then encrypt in a acrobat.. it might just save you some time and the client some money.. but i understand that if this is something that is done very often then you might want to streamline the process further.. let us know and we can take it from there. regards, Mohammed
  • Rajdip Das Profile Picture
    3,333 on at

     Hi Mohammed,

    Thanks for your response. Actually now I am stating my requirements..

    I have to generate payslip as report and save into a pdf. After creating pdf then it would be sent to the employee via e-mail. Up to this procedure is absolutely fine. Now I have to incorporate a password protection of each payslip pdf files. Only user will know the password and then they only can the open file by entering selected password. I can't incorporate password in the file.

    Right now I have Acrobat Prof 9.0 and also I have tried with wrapper class in AX of Adobe, there I found the class methods those are returning boolean value. I need such as class/methods/procedure which will make incorporate password into a existing pdf file.


  • Community Member Profile Picture
    on at

    A product called Create!form for Microsoft Dynamics AX by Bottomline Technologies can stream this process for you with various level PDF security.

    www.bottomline/dynamics

     

     

  • Denis Patrakov Profile Picture
    on at

    [quote user="Rajdip Das"]I have to generate payslip as report and save into a pdf. After creating pdf then it would be sent to the employee via e-mail. I have to incorporate a password protection of each payslip pdf files. Only user will know the password and then they only can the open file by entering selected password.[/quote]You could also compress the pdf into a zip archive with a password and email this archive.

  • Rajdip Das Profile Picture
    3,333 on at

    Hi Gl00mie,

    Thanks for reply. Can you tell me the procedure of create ZIP Achieve and set password into it under DAX environment? If it is done then my problem will solve.

     

  • Denis Patrakov Profile Picture
    on at
    There are tons of zip (i.e. implementing Deflate algorithm) compression libraries. For instance I've found SharpZipLib - free library that supports zip/bzip2/gzip formats (including creation of password-protected zip-files) and ships with complete source code.
  • Rajdip Das Profile Picture
    3,333 on at

    Hi Gl00mie,

    Thanks again for your reply. I am trying to do this. If arises problem then  i'll let u know.


  • yasin karapence Profile Picture
    20 on at

    Hi everybody,

    I have the same problem with Rajdip.

    Is anyone solve this problem without using a rar application.

    I think this belongs to PDFViewer class in Ax. but i could not find a solution :(

  • Rajdip Das Profile Picture
    3,333 on at

     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.

  • Chayalakshmi Pinnapaturu Profile Picture
    20 on at

    Hi,

    I do face the same problem, if anyone find the soln plz do let me know.

     

    Thanks 

    Chaya

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans