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 :
Microsoft Dynamics CRM (Archived)

Setting unresolved email as recipient via JavaScript

(0) ShareShare
ReportReport
Posted on by

Hi,

I would like to populate the "To" field of an email entity via JavaScript. In detail I want to populate the field with a simple email-address as string (e.g. "somebody@provider.com") an not with an activity party (lookup). As far as I know there's only one workaround to do this: http://mscrmbi.blogspot.com/2014/03/set-unresolved-email-ids-in-party-list.html

I tried it, but it does not really work - it leads to some ugly side effects. For example an error message will be thrown if try to send the email afterwards ("Cannot update parties unless email is in draft status").

I would like to know, is there another way to populate the "To" field with an email-address via JavaScript?

With best regards,

Michael

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello Michael,

    Check this - crmtipoftheday.com/.../add-email-address-to-recipients-in-javascript

  • Community Member Profile Picture
    on at

    I already tried it. Unfortunately it does not work since basically it is the same approach as the URL I provided in my first post.

  • Rashi Saxena Profile Picture
    95 on at

    Hi,

    I need to implement the same. Have you got any workaround? Please share.

    Thanks,

    Rashi

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans