Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Submit Image URL through forms and display it on mobile app

(0) ShareShare
ReportReport
Posted on by 25

Hello! I have an app that I created where based on the employee number it finds an image on a form. Because of the limitations of powerapps, the SP list has a field called "Photo" set as Image, this way Powerapps can display the photo on the phone. The problem is, the image can't be submitted this way, the field remains empty after the form is submitted. The image is displayed on the form, but not submitted. Is there a way around this? 

CarlosCalleja_0-1593932333141.png

I thought about creating two image columns on the SP list, one set as hyperlink to submit with the form and create a calculated column where the image is displayed based on the link column, to show it on the app, but I don't know how to do this either.

Thank you in advance!

 

Categories:
  • WarrenBelz Profile Picture
    146,645 Most Valuable Professional on at
    Re: Submit Image URL through forms and display it on mobile app

    Hi @CarlosCalleja ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    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.

  • WarrenBelz Profile Picture
    146,645 Most Valuable Professional on at
    Re: Submit Image URL through forms and display it on mobile app

    Hi @CarlosCalleja ,

    Assuming you are using the image control name as the reference correctly, it should be possible to put this on the Update property of the Data Card containing the multi-line text field (ensure it is Plain Text).

     

    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.

  • CarlosCalleja Profile Picture
    25 on at
    Re: Submit Image URL through forms and display it on mobile app

    @WarrenBelz  thank you, I think that option would work great, my only question is where would I write the JSON conversion? I tried to put it on the text option of a DataCard, but I get an error message.

  • WarrenBelz Profile Picture
    146,645 Most Valuable Professional on at
    Re: Submit Image URL through forms and display it on mobile app

    Hi @CarlosCalleja ,

    A per this post of yours, if you have an image file stored in SharePoint, you cannot display it from a URL reference on a mobile app.

    You need to link to the Library with whatever reference you have in the metadata and use the Thumbnail reference. The file name is present in the Library, is there, but the query is not Delegable if this is what you have to reference it, so you need an identifier such as the ID to link the items.

    The other option you have is to store the photo in Base64 format in a the SharePoint List Multi-line Text field itself using JSON conversion.

    Substitute(
     JSON(
     YourPhotoControl.Image,
     JSONFormat.IncludeBinaryData
     ),
     """",
     ""
    )

    This will resolve in an Image control on both PCs and mobile devices as simply 

    TheItem.YourFieldName

    however it is not saved as an image that you can view in SharePoint

     

    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.

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard