Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

JavaScript help needed to add a value to a multi-select option set, where the value name is the same as a lookup fields name.

Posted on by 270

I am trying to add a value into a multi-select option set where the System User in the multi-select option set is equal to the current record Owner's name.

I can make it work if I feed in the multi-select option sets the value for the user, but as users will come and go I need it to be dynamic.

Any help is appreciated.

  • Suggested answer
    mobeenmohsin Profile Picture
    mobeenmohsin on at
    RE: JavaScript help needed to add a value to a multi-select option set, where the value name is the same as a lookup fields name.

    Hi,

    Hope you are doing well.

    We understand that you want to get current owner of record and use that in JS, i think below thread will help you to understand how we can get owner of record:

    community.dynamics.com/.../how-to-get-the-owner-of-and-name-in-javascript-using-odata-in-ms-crm-2013

    In above thread, it was discussed that you can get owner's information and we think in your case you need same. If you have any different requirement please explain in detail so that we can assist you.

    Thank you for understanding. Please mark this answer if you are satisfied.

    Best Regards,

    Mobeen Mohsin

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans