web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Retun file thumbnail a...
Power Apps
Answered

Retun file thumbnail and open a file using NexArrow

(1) ShareShare
ReportReport
Posted on by 20

Hello all,

 

I'm developing a power app that searches for file contents on a SharePoint library by sending an HTTP request to SharePoint and  usign the Search REST API. The app is currently working, but I also would like to add two extra functionalities:

 

  1. Return the thumbnail of each individual file ("Key""PictureThumbnailURL" on the JSON code);
  2. Open the file once I click on th NextArrow ("Key""OriginalPath" on the JSON code).

 

The current code for both the image and the NextArrow are as follow:

 

GustavoFerreira_1-1692819353989.png

 

GustavoFerreira_0-1692819273190.png

 

What should I do to make these functionalities work?

 

Best regards,

 

Gustavo.

 

Categories:
I have the same question (0)
  • Verified answer
    Devvj Profile Picture
    1,132 Super User 2024 Season 1 on at

    Hi,
    not entierly sure how the JSON object is looking, but do you manage to show the other data, such as name of the file in the gallery? (cant tell by the picture)

    Anyway, to help with point 2, you can use the Launch(<URL>)-function to open a link in a new tab.

    I do know that in the object model that you get from the standard SP connector in Powerapps you need to reference the Thumbnail itself but also the size, like such "ThisItem.Thumbnail.Small".

    Not the full blown answer you wanted i guess, but maybe can help you in the right direction.

    -------------------------------------------------------------------------
    If this is the answer for your question, please mark the post as Solved.
    If this answer helps you in any way, please give it a like.

  • GustavoFerreira Profile Picture
    20 on at

    Hello @Devvj,

     

    Thank you very much for the response. The solution you proposed worked!

     

    Kind regards,

     

    Gustavo.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard