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)

Assigning a record to a user through javascript

(0) ShareShare
ReportReport
Posted on by 780

I'd like to update a record by changing the owner field and assigning the record to another user. Is this possible with javascript? Is it the same as setting a look up value as per this link?

 

I've tried to follow it, but i still can't update the record's owner. Can anybody help me? Thanks in advance.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Guido Preite Profile Picture
    54,086 Moderator on at

    Assigning a record is not the same operation as an update.

    You need to use the SOAP endpoint for this.

    rajeevpentyala.wordpress.com/.../assign-record-using-jscript-in-crm-2011

  • J. See Profile Picture
    780 on at

    Is it possible to do this via REST, though?

  • Suggested answer
    Sajan Ch Profile Picture
    60 on at

    yes you can do it with java script but you must use the soap call to do the same.

  • Sateesh123 Profile Picture
    132 on at

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