Announcements
No record found.
Hi Everyone ,
attachment attached by a particular deparment (Purchase ) / User , can be hidden from other users ?
Hi Mohamed Shuhaib,
Are you talking about the document management attachment?
If yes then I think you need to do customization to make this work.
Is this Ax 2012 or D365?
Thanks,
Girish S.
Hi Girish ,
Yea in document managment , Like we are attaching Documents in Purchase requisition .
We are using AX 2012.
If you want to show the documents that are attached by the user only, then I think you need to customize the "DocuAttachment" form - You can add range to "DocuRef" datasource for the field "Created By" and assign the current login user value.
So this will restrict the form to display the documents that are added by the logged in user.
Hi Girish
It Worked . Thank you
Now for deleting of the attachment , like if a user attaches something and another user who has access to all the document (user where range filter is not applied, like supervisor /manager ) , how to disable deleting of this attachment from that user (superviosor /manager ) .
Note : The user (Supervisor / manager ) should be able to delete the attachment attached by him . but not delete the attachment by another user
For this also you need to do customization.
You can add a validation in the "DocuRef" form datasource "ValidateDelete" method.
If(DocuRef.CreatedBy == curuser()) { ret = super(); } else { ret =checkfailed("Cannot delete"); }
Please mark the useful answers are verified.
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Giorgio Bonacorsi 657
André Arnaud de Cal... 453 Super User 2026 Season 1
Martin Dráb 190 Most Valuable Professional