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
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
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.
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 ,
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.
I want to do some customization on this form
What are you trying to achieve by duplicating the form?
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
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.
AX 2012 r3
I just created Duplicated than show through menuitem in form
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.
André Arnaud de Cal...
294,351
Super User 2025 Season 1
Martin Dráb
233,029
Most Valuable Professional
nmaenpaa
101,158
Moderator