Skip to main content

Notifications

Power Apps - Building Power Apps
Unanswered

Thumbnails for Attached Images before submitting Canvas app form

(0) ShareShare
ReportReport
Posted on by 270

I am looking to add rule in my canvas app to show thumbnail for every image attached in Attachments before submitting canvas app form.

  • FnuMeenu Profile Picture
    FnuMeenu 270 on at
    Re: Thumbnails for Attached Images before submitting Canvas app form

    This is the form made with power apps for user to collect data. and the purpose is when user add attachments, the user can see image or as admin I can see from history of records added in power apps by clicking particular record without downloading it and I can see images instead of links.

    Additionally, user can add images from the gallery of user's device(recents, downloads etc. from ipad or windows). I hope I explained it as needed. 

  • FnuMeenu Profile Picture
    FnuMeenu 270 on at
    Re: Thumbnails for Attached Images before submitting Canvas app form

    This is the form made with power apps for user to collect data. and the purpose is when user add image, the user can see image what he added or as admin I can from history of records added in power apps and I can see images instead of links.

    And user can add images from the device( recents, downloads etc. from ipad or windows). I hope I explained it as needed.

  • WarrenBelz Profile Picture
    WarrenBelz 145,343 on at
    Re: Thumbnails for Attached Images before submitting Canvas app form

    @mtsts ,

    You need to use your actual gallery name . . . 

  • FnuMeenu Profile Picture
    FnuMeenu 270 on at
    Re: Thumbnails for Attached Images before submitting Canvas app form

    I referred Attachments section and getting error after that. Attached image for reference. 

  • WarrenBelz Profile Picture
    WarrenBelz 145,343 on at
    Re: Thumbnails for Attached Images before submitting Canvas app form

    @mtsts ,

    Please read the blog again. That code is for SharePoint Library files - there is a separate item for attachments.

  • FnuMeenu Profile Picture
    FnuMeenu 270 on at
    Re: Thumbnails for Attached Images before submitting Canvas app form

    Attached image for the reference.

  • WarrenBelz Profile Picture
    WarrenBelz 145,343 on at
    Re: Thumbnails for Attached Images before submitting Canvas app form

    @mtsts ,

    What is it in the blog that needs clarification - it does exactly what you are referring to.

  • Mitanshu Profile Picture
    Mitanshu 1,604 on at
    Re: Thumbnails for Attached Images before submitting Canvas app form

    happyume_1-1715026569219.png

    In the Power App above, as you add or remove items in the attachment control, the gallery on the right side updates with corresponding pictures and file name.

     

    To achieve this, I added a gallery with Items property as (you will have to change name of the control):

    attachControl.Attachments

     I added a Image and label inside the gallery

    Image: ThisItem.Value
    Label: ThisItem.Name

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If this post or my previous reply was useful in other ways, please consider giving it Thumbs Up.

  • FnuMeenu Profile Picture
    FnuMeenu 270 on at
    Re: Thumbnails for Attached Images before submitting Canvas app form

    I could not figure out from the blog. 

    My question was - when I am adding attachment(shared screenshot), is it possible I can list of images instead of link while adding attachment or when I see any old record in the history of issues created with my app.

    (I built a power app with SharePoint list and my app is being used to collect information.)

  • WarrenBelz Profile Picture
    WarrenBelz 145,343 on at
    Re: Thumbnails for Attached Images before submitting Canvas app form

    Hi @mtsts ,

    I have a blog that may assist you here.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,343

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard