web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

in Attachments New button is disabled

(0) ShareShare
ReportReport
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 

I have the same question (0)
  • Abdulaziz Albloshi Profile Picture
    365 on at

    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.

  • AXx Profile Picture
    95 on at

    AX 2012 r3

    I just created Duplicated than show through menuitem in form

  • Abdulaziz Albloshi Profile Picture
    365 on at

    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
    95 on at

    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

  • Martin Dráb Profile Picture
    237,892 Most Valuable Professional on at

    What are you trying to achieve by duplicating the form?

  • AXx Profile Picture
    95 on at

    I want to do some customization on this form

  • Martin Dráb Profile Picture
    237,892 Most Valuable Professional on at

    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
    95 on at

    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
    237,892 Most Valuable Professional on at

    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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 544 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans