cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
eagle_eye
Advocate II
Advocate II

How to add image from URL to form in model driven app and also in canvas app

Hi all

 

We have a column with external URL for image. How can we add that image into a form in model driven app and also in canvas app. The photo column is a URL datatype.

 

When i add that in model driven app it appears as a link which on clicking opens a new tab which shows the image.

Is it possible to show the image in form itself.

 

Also how to make sure image is visible in canvas app also.

 

 

3 REPLIES 3
Nirav237
Advocate I
Advocate I

Hi @eagle_eye 

I think the column which is been created is only to specify the URL link as reference but wont be able to fetch the picture/image either in MDA or Canvas app. Create the Image column than you will be able to replicate the image in both the column just works as URL for reference.

Regards,
Nirav

Uzor_Uz
Frequent Visitor

Hi @eagle_eye

I think having the Photo column as a URL datatype is correct approach in the model driven app.

The URL can then be used with an image control in the Canvas app to show the picture.

 

Notice that all URLs are similar, only dynamic part of the URL is  "AnimalName.jpg" at the end.

Concatenating the (static URL part + the AnimalName.jpg) inside an image control of a gallery works fine in my Canvas app as follows:

 

 

Concatenate("https://raw.githubusercontent.com/microsoft/Power-Up-app-challenge-animal-shelter-assets/main/images/", ThisItem.Photo)

 

 

 

Hopes this helps you as well.

eagle_eye
Advocate II
Advocate II

Got it sorted. Thanks for your replies.🙂

Helpful resources

Announcements

Learn what to expect in the Power Up Program

Since its inception in 2022, the Power Up Program has evolved based on feedback from learners and Microsoft Partners and customers. Today's Power Up learners can expect to learn the fundamentals of Microsoft Power Platform in the accelerated seven-week, video-based Power Up Maker course.   Hear from Principal Program Manager, Dimpi Gandhi to discover the latest enhancements and meet the Microsoft MVPs, Rory Neary and Charlie Phipps, who partnered with the Microsoft Power Up Program to create the Power Up Maker course to guide learners to use the Microsoft Power Platform to develop custom applications, build dazzling report dashboards, or create efficiencies through automation.  

Welcome to the Power Up Program Community

The Power Up Program is a free upskilling program where nontechnical people can learn the fundamentals of Microsoft Power Platform. The Power Up Maker course is a seven-week self-paced virtual learning plan that include video-based objectives featuring Power Apps, Power BI and Power Automate.  As a member of the Power Up Community, you can grow your skills and build connections. You can post questions to get help with the curriculum and hands-on exercises from experts and peers in the product boards.  Check out the Community Information & Feedback board to find help or provide feedback with the community experience, and please take time to post in the Social board to tell us more about yourself. If you're new to the Power Up Program and looking for information to register. You can sign up at PowerUp.Microsoft.com.

Top Solution Authors
Top Kudoed Authors
Users online (3,893)