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 :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

Send Email from Custom Table

(0) ShareShare
ReportReport
Posted on by 315

From a Custom Table i Turned on Activities and can send emails from the activity. However the To part of emails, Portal Comments and all other activities is not set. Is there a way to overdide or set this value.

This seems to work for all native Dynamics 365 Tables eg case, Account, Contacts ETC.

I have the same question (0)
  • Keliud Profile Picture
    315 on at

    I can confirm that emails from the timeline  to not have the To field set, however  emails from the activities table work have the To Email set.

    For Portal Comments, the To Part is not set from activities or timeline.

    In My Custom Table i also have a relationship to a contact. how do i set this as the primary contact?

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Keliud,

    "However the To part of emails, Portal Comments and all other activities is not set. Is there a way to overdide or set this value." i can't understand it.

    Could you share screenshot about them?

    For setting primary contact, Are you trying to emulate the primary contact on the account form?

    pastedimage1658483125742v1.png

    If so, you need create two relationship between custom entity and contact(1:N and N:1),then add lookup field and sub-grid in the form based on these two relationship.

    And the primary contact must be from sub-grid.

    pastedimage1658483410540v2.png

  • Suggested answer
    KK-365 Profile Picture
    1,010 on at

    Create a Parential relationship Email: custom entity = N:1

  • Keliud Profile Picture
    315 on at

    I tried creating a Many to 1 relationship between my custom table and Email Table. 

    Mapping is available but will not work because email requires a party list in the to field. a shown below

    pastedimage1660694051101v1.png

    The only approach so far is to use JavaScript on the email form to set the "To" field when the regarding source table is by custom table.

  • Keliud Profile Picture
    315 on at
    [quote user="Leah Ju"]

    Hi Keliud,

    "However the To part of emails, Portal Comments and all other activities is not set. Is there a way to overdide or set this value." i can't understand it.

    Could you share screenshot about them?

    For setting primary contact, Are you trying to emulate the primary contact on the account form?

    pastedimage1658483125742v1.png

    If so, you need create two relationship between custom entity and contact(1:N and N:1),then add lookup field and sub-grid in the form based on these two relationship.

    And the primary contact must be from sub-grid.

    pastedimage1658483410540v2.png

    [/quote]

    Basically what i have is a custom table, with activities enabled, This means i can add the timeline to my form and send emails, comments etc from my custom table. in my custom table i have a contact lookup.

    When i create an email in the timeline, i want the to field to be set to the contact in my custom form.

    pastedimage1660694653762v1.png

  • Community Member Profile Picture
    on at

    Hi Keliud,

    Yes, you're right. 

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 > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 45 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 27 Most Valuable Professional

#3
Soundari Profile Picture

Soundari 15

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans