Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Unanswered

in Attachments New button is disabled

Posted on by 95

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 

  • Martin Dráb Profile Picture
    Martin Dráb 225,549 Super User on at
    RE: in Attachments New button is disabled

    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.

  • AXx Profile Picture
    AXx 95 on at
    RE: in Attachments New button is disabled

    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 ,

  • Martin Dráb Profile Picture
    Martin Dráb 225,549 Super User on at
    RE: in Attachments New button is disabled

    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.

  • AXx Profile Picture
    AXx 95 on at
    RE: in Attachments New button is disabled

    I want to do some customization on this form

  • Martin Dráb Profile Picture
    Martin Dráb 225,549 Super User on at
    RE: in Attachments New button is disabled

    What are you trying to achieve by duplicating the form?

  • AXx Profile Picture
    AXx 95 on at
    RE: in Attachments New button is disabled

    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

  • Abdulaziz Albloshi Profile Picture
    Abdulaziz Albloshi 365 on at
    RE: in Attachments New button is disabled

    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.

  • AXx Profile Picture
    AXx 95 on at
    RE: in Attachments New button is disabled

    AX 2012 r3

    I just created Duplicated than show through menuitem in form

  • Abdulaziz Albloshi Profile Picture
    Abdulaziz Albloshi 365 on at
    RE: in Attachments New button is disabled

    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.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,914 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,549 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans