Skip to main content
Dynamics 365 general forum
Answered

Multi select option set

editSubscribe (0) ShareShare
ReportReport
Posted on by

Hi,

How to set multiselect option to some default value?

Thanks.

  • Suggested answer
    Leah Ju Profile Picture
    Leah Ju on at
    RE: Multi select option set

    Hi Partner,

    Please refer to the following blog:

    https://balugajjala.wordpress.com/2018/09/19/get-and-set-multiselect-option-set-field-values-through-javascript/ 

  • Verified answer
    Guido Preite Profile Picture
    Guido Preite 53,906 Super User on at
    RE: Multi select option set

    by js you need to assign an array of values

    something like:

    let defaultValues = [455110000, 455110001];
    formContext.getAttribute("new_multiselectoptionset").setValue(defaultValues);

  • EKL Profile Picture
    EKL on at
    RE: Multi select option set

    Hello Guido,

    It is client side Javascript.

    Thanks

  • Suggested answer
    Adrian Begovich Profile Picture
    Adrian Begovich 20,299 Super User on at
    RE: Multi select option set

    Hi EKL,

    This article explains how to set default values for a Multi-Select Option Set using Power Automate.

  • Guido Preite Profile Picture
    Guido Preite 53,906 Super User on at
    RE: Multi select option set

    by client side (javascript) or server side (c#)?

    which kind of application? (model-driven or canvas)

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Sundar…

Industry experts answer burning questions directly from our amazing Community…

Enabling Copilot Case and Conversation…

Agents can easily recap an ongoing chat, transcribe a voice conversation…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 282,978 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,562 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans