Hi All,
I need to add images inside my combobox that are inside a library in the sharepoint, as shown in the image below it is possible to add an image field and it even recognizes the image field, however when selecting the field it does not fix. I also tried using the document library URL in a sharepoint list, and the same thing happens, it recognizes the field but does not keep the selected field. It is possible to do what I need or this field only enables people in the office365 connector.
Follow the example in the images below.
Ty
Solved! Go to Solution.
Hi @Danilo-ES-BR :
Do you want to display pictures from SP library in a combo box control?
I am afraid this is difficult to do because:
Therefore, my alternative is to use costom components:
0\Add a button and set it's OnSelelct property to
ClearCollect(YourSPlibrary,picc) /*test is my custom collection*/
Because connection cannot be called directly when creating a component, I temporarily create a collection to create this component
1\Add a New Component(Component2)
2\Add a New custom property-Items
set the component's items propety to
test
3\Add a New custom property-Selected
4\Add a textinput control-TextInput8
Default(Clear the default property)
5\Add "down" arrow
OnSelect
Set(MYVar,!MYVar) /*MYVar is my custom variable*/
6\Add a gallery(Gallery18)
Items
If(IsBlank(TextInput8.Text),Parent.Items,Search(Parent.Items,TextInput8.Text,"{FilenameWithExtension}"))
Visible
MYVar
Set the image control's(Which in the gallery) Image property to
ThisItem.'{Link}'
7\Set the Component's Selected property to
Gallery18.Selected
8\Add this component on your screen and set it's items property to
YourSPLibrary
Best Regards,
Bof
Hi @Danilo-ES-BR :
Do you want to display pictures from SP library in a combo box control?
I am afraid this is difficult to do because:
Therefore, my alternative is to use costom components:
0\Add a button and set it's OnSelelct property to
ClearCollect(YourSPlibrary,picc) /*test is my custom collection*/
Because connection cannot be called directly when creating a component, I temporarily create a collection to create this component
1\Add a New Component(Component2)
2\Add a New custom property-Items
set the component's items propety to
test
3\Add a New custom property-Selected
4\Add a textinput control-TextInput8
Default(Clear the default property)
5\Add "down" arrow
OnSelect
Set(MYVar,!MYVar) /*MYVar is my custom variable*/
6\Add a gallery(Gallery18)
Items
If(IsBlank(TextInput8.Text),Parent.Items,Search(Parent.Items,TextInput8.Text,"{FilenameWithExtension}"))
Visible
MYVar
Set the image control's(Which in the gallery) Image property to
ThisItem.'{Link}'
7\Set the Component's Selected property to
Gallery18.Selected
8\Add this component on your screen and set it's items property to
YourSPLibrary
Best Regards,
Bof
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
189 | |
45 | |
45 | |
36 | |
35 |
User | Count |
---|---|
261 | |
82 | |
79 | |
69 | |
69 |