Notifications
Announcements
No record found.
Hi experts ,
New button is disable in Attachments when i created a copy of DocuView and show in the form through menu item button
how can I enable new button ??
please suggest me answer
Is it D365FO or AX2012?
In D365FO you have to activate each table on which Documents can be attached manually. In Org administatrion> Document Management> Active document tables. Add you table here and retry/
In AX 2012, check for the document management setup and document type setup.
AX 2012 r3
I just created Duplicated than show through menuitem in form
document attachments are meant to be used with records. If you only take out the document attachment form outside the any standard/customized form, it should not work.
I created a list page form , document attachment (DocuView) which already is used in list page i created duplicate of it (CopyOfDocuView) and i created menuItem Of CopyOfDocuView and show in the form through menuItemButton and deleted the original attachments
when i open the attachment only New button is disable and others are enable
What are you trying to achieve by duplicating the form?
I want to do some customization on this form
Customizing a form and creating a new form are two different things. It's not clear which one you need.
Could you please explain what business problem you're trying to solve? Understanding your functional requirements will help us when designing a technical solution for these requirements.
Basically I want to show or hide some functionalites of this form to different users , when i make changes in original attachments it will change all other form's attachmets , that's why i created a copy and show through menuitem Button , but when I did this new button was disable ,
You should be able to easily check where the form was called from (using either element.args().dataset() or element.args().caller()) and build your business logic accordingly, therefore duplicating the whole form looks unncessarily. And because code duplication should be avoided, doing it if not necessary is wrong.
If the standard form works correctly and your copy doesn't, throwing away the copy and customizing the standard form will make your problem disappear.
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 544 Most Valuable Professional
André Arnaud de Cal... 450 Super User 2025 Season 2
Sohaib Cheema 250 User Group Leader