Hi,
I'm trying to figure out how to build a Component with a Gallery inside that is connected to a SharePoint list (EdwardTestList).
I get errors when I try, but when I connect the gallery to collections, it works fine. Anyone have any idea?
Any help is appreciated, thanks!
Solved! Go to Solution.
You'll want to set up an input property in your component that accepts the collection once it's in use in your app. The component itself doesn't need to reference the collection, since that would make it less modular (the idea behind components is that they can be used across different screens as well as apps). You'll then use this input property as the reference for the collection.
I'd like to add that there is currently a bug affecting components that Microsoft is working on. Components are not working well with global variables (Set), but they seem to be working with Collections and local (UpdateContext) variables
---
If this answered your question, please click "Accept Solution". If this helped, please Thumbs Up.
You'll want to set up an input property in your component that accepts the collection once it's in use in your app. The component itself doesn't need to reference the collection, since that would make it less modular (the idea behind components is that they can be used across different screens as well as apps). You'll then use this input property as the reference for the collection.
I'd like to add that there is currently a bug affecting components that Microsoft is working on. Components are not working well with global variables (Set), but they seem to be working with Collections and local (UpdateContext) variables
---
If this answered your question, please click "Accept Solution". If this helped, please Thumbs Up.
Hi @MrEdward,
As of December, API connectors are the first ones that work inside components right now:
https://powerapps.microsoft.com/blog/canvas-components-get-support-for-connectors/
Thank you @Mr-Dang-MSFT , is there any documentation to it please? I've just tried and it wasn't working. Maybe I'm doing something wrong?
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
191 | |
70 | |
50 | |
37 | |
28 |
User | Count |
---|---|
243 | |
114 | |
91 | |
91 | |
70 |