Announcements
No record found.
Hi everybody.I need your helps!!!!!
I need a javascript code to assign a record to other user (with ID or username)
Please help me!!!!!!!
*This post is locked for comments
use below code to assign record to new owner, replace newuserid and new user name to actual id and name of the new user.
Xrm.Page.getAttribute("ownerid").setValue([{id:"newuserid",name:"newusername",entitytype:"systemuser"}]);
Hi Winston Red,
This forum thread explains how to assign a record to a user or team with JavaScript.
Thank you very much its so usefull !!!!
Thanks its so usefull
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
ScottDurow 2
GJones 1