cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

About Multi-select in Portals

Hello everyone, mine is Natasha.
I know that the portal doesn't support multiple option sets right now.
So how do I customize the multiple option set component in the portal now?
Any specific suggestions?please help me!

1 ACCEPTED SOLUTION

Accepted Solutions
v-yutliu-msft
Community Support
Community Support

Hi @Anonymous ,

Do you want to use Multiple Option Set in portal?
Unfortunately, as what you said, PowerApps Portal doesn’t yet support multiselect option sets, so the field doesn’t show up on the Portal.

Here's a solution to solve this:

The first step is to add another field that is supported on the Portal – a text field. We’ll use this field to save the user’s selection back to Dynamics.

Next, we’ll need some custom JavaScript. This script will:

  • Hide the text field.
  • Add a multiselect HTML field where the text field was previously. This multiselect field will have options with values that correspond to the multiselect in Dynamics.
  • Anytime the multiselect field changes, a comma delimited list of the selected options is stored in the hidden text field.

Here are docs about this in details for your reference:

https://www.engineeredcode.com/blog/powerapps-portals-multiselect-option-set

https://www.engineeredcode.com/blog/powerapps-portals-multiselect-option-set-part-2

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yutliu-msft
Community Support
Community Support

Hi @Anonymous ,

Do you want to use Multiple Option Set in portal?
Unfortunately, as what you said, PowerApps Portal doesn’t yet support multiselect option sets, so the field doesn’t show up on the Portal.

Here's a solution to solve this:

The first step is to add another field that is supported on the Portal – a text field. We’ll use this field to save the user’s selection back to Dynamics.

Next, we’ll need some custom JavaScript. This script will:

  • Hide the text field.
  • Add a multiselect HTML field where the text field was previously. This multiselect field will have options with values that correspond to the multiselect in Dynamics.
  • Anytime the multiselect field changes, a comma delimited list of the selected options is stored in the hidden text field.

Here are docs about this in details for your reference:

https://www.engineeredcode.com/blog/powerapps-portals-multiselect-option-set

https://www.engineeredcode.com/blog/powerapps-portals-multiselect-option-set-part-2

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Microsoft Ignite 768x460.png

Find your focus

Explore the latest tools,training sessions,technical expertise, networking and more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,549)