PL-900 · Question #396
You are creating a canvas app so staff members can order and pick up items from a warehouse. The app requires a control that displays pictures with no customization. You need to add the control. Which
The correct answer is B. Gallery. In a canvas app, a Gallery control can be used to display a list of pictures from a data source. You can customize the Gallery's layout to show only images and set the Image property of the control template to display an image from a field in your data source, such as ThisItem.Im
Question
Options
- AInput
- BGallery
- CList box
- DCombo box
How the community answered
(34 responses)- A6% (2)
- B79% (27)
- C12% (4)
- D3% (1)
Explanation
In a canvas app, a Gallery control can be used to display a list of pictures from a data source. You can customize the Gallery's layout to show only images and set the Image property of the control template to display an image from a field in your data source, such as ThisItem.Image. How to display pictures in a Gallery 1. Add a Gallery control: From the "Insert" tab, select a horizontal or vertical Gallery control. 2. Select a template: Click or tap near the bottom of the Gallery and select the pencil icon to edit the template, which is how each item will appear. 3. Add an Image control: With the template selected, go to "Insert" and add an "Image" control. Move and resize it as needed within the template. 4. Set the Image property: Select the Image control inside the template and set its Image property. You can use a formula like ThisItem.Image if the image is in a column named "Image" in your 5. Connect to a data source: Select the Gallery control and connect it to your data source (e.g., SharePoint, Dataverse, or a collection). 6. Customize as needed: You can further customize the template to show other details alongside the image, such as text labels for titles or descriptions. https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/controls/control-gallery
Community Discussion
No community discussion yet for this question.