Handling image resources in components
In Chapter 5, Extending the Platform, we learned about the Power Apps components feature – small building blocks that encapsulate a set of controls to be reused across an application.
These components isolate themselves from the applications so they can get used anywhere, no matter their purpose. This behavior means that a component can't access variables or resources from an application unless passed through custom properties.
It also means that resources included in components won't be available from the applications loading those components.
Let's use the following example: You create a component to display an About dialog for all your solutions. This dialog includes the logo of your company. When you build it, everything works correctly, but the logo doesn't show when you use it, as a component, in your solutions.
This happens because the component only packs its definition and doesn't include resources...