Lists and document libraries support a property (column) of type: Image
As the name implies, an image can be stored in columns of that type. There can be multiple columns of this type per list/document library.
Save image
There are 3 scenario’s how to fill this property from a canvas app:
- The “Add picture” control
- The “Camera” control
- The “Pen input” control
In the syntaxes below, a column of type “Image” is used having the name “ImageColumn”.
Add picture
When the control has it original name when added for the first time in a canvas app, the syntax in a Patch expression is:
ImageColumn: UploadedImage1.Image
Camera
When the control has it original name when added for the first time in a canvas app, the syntax in a Patch expression is:
ImageColumn: Camera1.Photo
Note: A picture must be taken first – by clicking on the camera control – before it can be uploaded.
Pen input
When the control has it original name when added for the first time in a canvas app, the syntax in a Patch expression is:
ImageColumn: PenInput1.Image
Show image
The image in a column of type “Image” can be showed in a canvas app by adding an image control and set its property Image to reference the image column of the related record.
Links
- Add picture control in canvas apps: https://learn.microsoft.com/power-apps/maker/canvas-apps/controls/control-add-picture
- Camera control in Power Apps: https://learn.microsoft.com/power-apps/maker/canvas-apps/controls/control-camera
- Patch function in Power Apps: https://learn.microsoft.com/power-platform/power-fx/reference/function-patch
- Pen input control in Power Apps: https://learn.microsoft.com/power-apps/maker/canvas-apps/controls/control-pen-input
Video
This video demonstrates the column type “Image” available for SharePoint lists and SharePoint document libraries.
- https://www.youtube.com/watch?v=Gxy3X8dGEEU (🎥 2023-10-16)