Hi Experts,
Rendering Lookup as Multiple Choice using the Entity Form metadata is Not working for the Powerapps portal. The Portal does not reflect the changes done using entity form metadata.
Could anyone please help me out
Thanks
Hi Experts,
Rendering Lookup as Multiple Choice using the Entity Form metadata is Not working for the Powerapps portal. The Portal does not reflect the changes done using entity form metadata.
Could anyone please help me out
Thanks
Hi,
Were you able to solve this problem? I am facing the same issue
Hi Experts,
I have tried adding a Jquery plugin to achieve multiple selection in the lookup field as shown below.
I am able to select multiple organizations in the form. But after form submission, in the entity list only the first selected option from the dropdown gets added.
Could anyone please help me out to fix this issue?
Thanks in advance
Hi Leo,
Thank you for the reply. The requirement is to bind the values from organization entity list displayed in one web page, as a dropdown with multiple selection in another web page to allow users to select multiple organizations. As shown below, I have an Organization web page which displays the entity list from a custom entity called "Organization".
I have used lookup field for Organization entity list and have rendered it as a dropdown using the EntityForm Metadata in a web page called Add Account in the "Contact" entity as shown below.
I have added the lookup field because, If I add a new Organization or if I make any changes to the entity list in the Organization web page, it should be updated in the dropdown list in the Add account Page. I do not want to use static values in the dropdown. But the requirement is to allow users to select more than one organization from the dropdown. Therefore I need a dropdown with multi select option so that users can be able to select multiple Organization.
Any help to achieve the multiple selection in the dropdown would be greatly appreciated.
Thanks
Hi partner,
Here are the resource.
How to create multiple select field with custom options with C# code.
But it really needs a lot of work, you could try it with C# and you could also share your complete requirement so that we could help you find another way.
Regards,
Leo
Hello,
I misunderstood your ask. In this case, you would have to go with Leo's suggestion.
Regards,
Chris
Hi Chris,
Thank you for the reply. But what I want here is to bind the values in the dropdown from another entity list. That is the reason why I have used the lookup field. Any changes in the entity list, for example, if a new value is added to the entity list, it should be added in the dropdown. So I need a multiple choice field to select multiple values inside the dropdown. Is there any ways for achieving this?
Thanks
Hello,
I do not think that you need to customize anything for this requirement. You should be able to achieve this out of the box by using the below steps:
1.Lets stay that you want to your portal users to answer a question: "Where did you go on vacation this year?". Let us assume that you have the below multiple choices:
a. Italy
b. Spain
c. Germany
2. Next you need to add a new tab to the entity whose form you want to display on the portal (In this scenario I will consider a custom entity). I create a new tab called: "Where did you go on vacation this year?"
3. Next, you would create three new fields called Italy, Spain and Germany of type 'Two Options':
4. Drag these three fields into the newly created tab:
5. Save and publish your customizations
6. Next you would create an entity form and on the Tab name to be displayed on the form select : "Where did you go on vacation this year?"
7. Next you would add the three attributes: Italy, Spain and Germany to the entity form metadata with the control style as 'Multiple Choice":
8. Add the entity form to a webpage
9. Clear the portal cache
10. Navigate to the web page
11. It should give you an option to select multiple options for your question
Regards,
Chris
Hi
Thank you for the reply. Since I am new to the Powerapps Portal, I don't have any idea on creating plug-in or console apps for the Portal. I would be grateful if you could share any documents or ideas for creating plug-in or console apps for the Portal.
Thank you
Hi partner,
Sorry that it is not possible by default in portal.
"Multiple Chooise" is not supported for lookup field, since we are using D365 entity forms in portal, so no matter what form a Lookup field becomes, it is a LOOKUP field and can only store one record.
If you want to show records in multiple select field, I recommend you to create a plug-in or console app with C# to add records as values into multiple select fields dynamically.
About how to control multiple select field, please refer to this doc.
Regards,
Leo
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,269 Super User 2024 Season 2
Martin Dráb 230,198 Most Valuable Professional
nmaenpaa 101,156