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 

  • Martin Dráb Profile Picture
    233,029 Most Valuable Professional 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
    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
    233,029 Most Valuable Professional 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
    95 on at
    RE: in Attachments New button is disabled

    I want to do some customization on this form

  • Martin Dráb Profile Picture
    233,029 Most Valuable Professional on at
    RE: in Attachments New button is disabled

    What are you trying to achieve by duplicating the form?

  • AXx Profile Picture
    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
    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
    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
    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.

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,351 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,029 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans