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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Add file button in an email

(0) ShareShare
ReportReport
Posted on by 10

We are working on transitioning from the legacy web client to the unified interface. We found a problem when trying to add a file to an email. The button in section above the form returns an error. We also have a section on the form where all the attachments are. This section has its own button to add more attachments and this button does work correctly. In the old web client both buttons work fine. See the screenshots below.

pastedimage1601634318743v2.png

pastedimage1601634117766v1.png

The downloaded log file contains the following:

TypeError: Cannot read property 'getParentForm' of null
at Function.AddAttachment.addAttachmentInternal (nhabv.crm4.dynamics.com/.../ActivityMimeAttachment.js:1388:42)
at Function.AddAttachment.openAddAttachmentDialogFormCommand (nhabv.crm4.dynamics.com/.../ActivityMimeAttachment.js:1378:27)
at Function.a.openAddAttachmentDialogFormCommand (nhabv.crm4.dynamics.com/.../ContextualEmail_main_system_library.js:1:1865)
at t.openAddAttachmentDialogFormCommand (nhabv.crm4.dynamics.com/.../ContextualEmail_main_system_library.js:1:1252)
at il.executeFunction (nhabv.crm4.dynamics.com/.../app.js
at il.execute (nhabv.crm4.dynamics.com/.../app.js
at nhabv.crm4.dynamics.com/.../3.js
at i (nhabv.crm4.dynamics.com/.../app.js
at nhabv.crm4.dynamics.com/.../3.js
at Array.forEach (<anonymous>)

Any ideas on how to solve this problem?

I have the same question (0)
  • Verified answer
    Henry J. Profile Picture
    5,237 on at

    Hi,

    I'm not sure the experience should be the same in Unified Interface.
    If you haven't already, I advise that you enable this new feature to manage email attachments from the 2020 Release Wave 2:

    https://docs.microsoft.com/en-us/dynamics365-release-plan/2020wave2/sales/dynamics365-sales/be-more-productive-added-features-enhanced-email-experience

    Henry

  • tberntsen Profile Picture
    10 on at

    Thanks for the reply, we haven't enabled that update yet.

    Hopefully it solves this problem when we do update.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Pallavi Phade Profile Picture

Pallavi Phade 102 Super User 2026 Season 1

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 55 Super User 2026 Season 1

#3
ManoVerse Profile Picture

ManoVerse 53 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans