Notifications
Announcements
No record found.
I am new to ax.
i want export a file to read only how can i achieve that any one guide me.
and don't want convert into pdf.
Could you describe your business requirement?
Text files can always be edited, but you can restrict who can edit it.
My suggestion is to export the file normally without any tricks, and just place it in a folder where your users have only read access. This way it's "read only" for them. But of course they can still copy it on their workstation and edit the copy.
PDF is often useful for distributing documents that should not be edited, because normally it can't be edited. But even then it's possible by using software that supports editing PDFs.
By the way, which version of AX are you talking about?
i am using d365 fo
Moved from Dynamics AX forum to Dynamics 365 Finance forum.
Hi Siddy Mujumda,
You can set the property IsReadOnly to true to make the file as read only after you save the file.
https://docs.microsoft.com/en-us/dotnet/api/system.io.fileinfo.isreadonly?view=netcore-3.1
could also have tried to export data using data management rather than writing code if a data entity exists
Hi Siddy,
What is the requirement here? What data are you exporting form D365FO? What format are you looking to export? Let us know more details so we can help you.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 551 Most Valuable Professional
André Arnaud de Cal... 450 Super User 2025 Season 2
BillurSamdancioglu 278 Most Valuable Professional