Hi
In my model driven app i have custom page(canvas app) and a combobox.
I want to show 2 columns(combobox earlier had a possibility to choose a layout) but this possibility is now gone.
Is there a workaround?
Hi @jja,
Could you utilize a collection to store the two values separately and then the combined value and then when the combined value is chosen, set two fields on the form (hidden) set to the other two in that row of the collection? You could then patch these values back.
this is nice approach but how do i patch then data back? Lets say i have employee code and name. I concatenate code and name and show in combobox but in dataverse i want to patch back employee code which in my case is a lookup column inside the table i want to patch
Hello @jja ,
Hope you are doing well.
There are 3 layouts available for combo box in canvas. PFB screenshot:
As you are using custom page for your model driven app. And yes, Combo Box is supported control in custom page which is called Modern control. Please check this article from Microsoft.
And I can see that there is no layout option for Combo Box in custom page for model driven app. So, as a workaround, I would suggest you to create a canvas component using the component library. This component can have only Combo Box from canvas app.(So that you can choose double layout). Then import this component to custom page of your model driven app. Please check this Microsoft article.
I Hope this helps.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Thanks,
ANB
Hi @jja ,
Is this still valid or are you saying this approach doesn't work anymore? https://powerusers.microsoft.com/t5/Building-Power-Apps/Help-with-Combobox-List-to-show-multiple-columns-from-source/td-p/839218
WarrenBelz
146,660
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,004
Most Valuable Professional