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

Community site session details

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

Unable to attach file in Customer Attachments

(0) ShareShare
ReportReport
Posted on by 25

Document Upload Page pop-up is not showing while i am trying to attach new file in Customer Attachments in D365 F&O

I have the same question (0)
  • Prem sai Profile Picture
    25 on at
    RE: Unable to attach file in Customer Attachments

    Thank You all, Issue got resolved

    Found a extension class for DocuAction class which returns the Null values to the NewArgs Method.

  • Prem sai Profile Picture
    25 on at
    RE: Unable to attach file in Customer Attachments

    Hello Bharani Preetham;

    All the Setups related to Document Handling are done and also enabled the tables for Document attachments but still i am facing the issue.

  • Verified answer
    Mohit Rampal Profile Picture
    12,563 Moderator on at
    RE: Unable to attach file in Customer Attachments

    So, its confirmed, here is the issue. I have debugged again 'action' should not be null. In your case, since its null so goes to (!action) then return condition and end the process.

    Now you can add breakpoint in newArgs method in same class and check where is is failing. 'createdDocuAction' will be null in your case so check why is not getting the values.

  • Suggested answer
    Bharani Preetham Peraka Profile Picture
    3,634 Moderator on at
    RE: Unable to attach file in Customer Attachments

    I think you need to enable document handling for this table. Can you check the same in system administration or in that parameters form, you have to enable that. You will create a new record adding that particular table and enable that. For example for vendors we will add the vendtable handling from UI.

  • Prem sai Profile Picture
    25 on at
    RE: Unable to attach file in Customer Attachments

    Hi Mohit Rampal;

    I have Debugged the code with a breakpoint on main method of DocuAction class and got the below values in args of Switch case.

    pastedimage1683288934629v1.png

  • Mohit Rampal Profile Picture
    12,563 Moderator on at
    RE: Unable to attach file in Customer Attachments

    Please try adding breakpoint on main method of DocuAction class. Expectatation is not that dialog will be opened after debugging but it is to find the root cause of why its not opening. I suspect some condition in the standard code is failing.

  • Prem sai Profile Picture
    25 on at
    RE: Unable to attach file in Customer Attachments

    Hi Mohit Rampal;

    The Breakpoint is not triggered  When I debug the Environment with a Breakpoint on init method of DocumentUpload form and also the DocumentUpload Form is not opening in my Environment.

  • Prem sai Profile Picture
    25 on at
    RE: Unable to attach file in Customer Attachments

    No customization's on Document management form. Also i have tried by adding the "Document handling essentials" Security  privilege and facing the same issue.

  • Mohit Rampal Profile Picture
    12,563 Moderator on at
    RE: Unable to attach file in Customer Attachments

    This is the call stack when opening this upload dialog. Can you debug and check if its failing in any condition. Add breakpoint on init method of DocumentUpload form.

    pastedimage1683273708362v1.png

  • GirishS Profile Picture
    27,825 Moderator on at
    RE: Unable to attach file in Customer Attachments

    So, I am assuming that document management upload is not working in the server not only for customer attachment form.

    Do you have any customization on Document management form?

    Thanks,

    Girish S.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,317

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 656 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans