🔎 Search File Content 📃 in Power Apps from SharePoint Document Libraries

Поділитися
Вставка
  • Опубліковано 20 лип 2024
  • In this Power Apps Tutorial Video, I demonstrate how to seamlessly search within files from SharePoint Document Libraries in Power Apps, utilizing the combined powers of Power Automate and the SharePoint Search REST API endpoint.
    Throughout this PowerApps tutorial, you'll gain valuable insights into leveraging the SharePoint Search REST API to enable Power Apps to search document libraries effectively. This PowerApps video offers a step-by-step walk through of building the search experience, including making REST API calls to the SharePoint Search REST API via Power Automate flows, parsing search JSON results, presenting data in a Gallery, implementing pagination for search results, searching across multiple Document Libraries and much more.
    Key topics covered in this video include:
    ✅ Demo - Power Apps Search within file Content and Metadata for multiple SharePoint Document Libraries
    ✅ SharePoint Search REST API walkthrough
    ✅ Power Apps call flow to query SharePoint Search REST API
    ✅ ParseJSON in Power Apps to showcase search results in a Gallery
    Join me on this exciting journey of mastering Power Apps and enhancing your search capabilities within SharePoint Document Libraries.
    ⬇️ Download the sample Apps showcased in the video:
    Exclusive for Channel Members (Silver Club 🥈 or higher).
    Find the download link in the Community Tab for Members.
    To become a member, click here: ua-cam.com/users/rezadorranijoin
    Additional Resources:
    🔗 SharePoint Search REST API Overview
    learn.microsoft.com/en-us/sha...
    Expressions used in flow:
    body('Send_an_HTTP_request_to_SharePoint')?['PrimaryQueryResult']?['RelevantResults']?['Table']?['Rows']
    body('Send_an_HTTP_request_to_SharePoint')?['PrimaryQueryResult']?['RelevantResults']?['TotalRows']
    body('Send_an_HTTP_request_to_SharePoint')?['PrimaryQueryResult']?['RelevantResults']?['RowCount']
    Power Fx used in Power Apps:
    LookUp(Table(ThisItem.Value.Cells),ThisRecord.Value.Key = "Author").Value.Value
    #PowerApps #SharePoint #Search #DocumentLibrary #RESTAPI #PowerAutomate
    Table of Contents:
    00:00 - Introduction to Searching within documents in SharePoint from Power Apps
    00:41 - Demo - How to Search within document content from Power Apps
    05:54 - Call SharePoint Search API from Power Apps via flow
    13:20 - SharePoint Search API Response JSON
    19:28 - Show SharePoint Search Results in PowerApps Gallery (ParseJSON)
    22:47 - Explore SharePoint Search API
    23:47 - Power Apps SharePoint Document Library Search Demo
    27:30 - Subscribe to Reza Dorrani channel
    🤝 Let’s connect on social:
    🔗 Reza Dorrani LinkedIn: / rezadorrani
    🐦 Reza Dorrani Twitter: / rezadorrani
  • Наука та технологія

КОМЕНТАРІ • 353

  • @marcmurray179
    @marcmurray179 3 дні тому

    A question to the community with the hope that what I find difficult you find easy.
    In the URI mentioned in this contribution I am retrieving (trying to) a number of properties, some standard, some created myself.
    Yet the returned values only contain "null", e.g.
    "Key": "Category",
    "Value": null,
    "ValueType": "Null"
    As far as I can see values in "Site Collection Administration - Managed Properties" are the same for items showing values and items showing "null" even if input is present.
    Any idea what I am missing?

    • @RezaDorrani
      @RezaDorrani  2 дні тому

      There are some pre created managed properties that you can use to map to your crawled properties of columns. Try using those.
      I have not experienced the null issue, hence not sure what’s the cause or fix for it.

    • @marcmurray179
      @marcmurray179 2 дні тому +1

      @@RezaDorrani that exactly did the trick. To share with the community, I went into 'Site Collection Administration - Managed Properties' and searched for 'RefinableString' as I wanted to bring up custom text fields. Chose the first, then scrolled down to add a mapping. To get the property wanted searched for the custom field which in the search result shows with 'ows' prefix.
      Added more as required in same fashion.
      Then went to 'Search and Offline Availability' and rebuilt the index. Be patient there.
      Then edited the URI using the 'RefinableString' names.

    • @RezaDorrani
      @RezaDorrani  День тому

      @@marcmurray179 AWESOME!

  • @marcmurray179
    @marcmurray179 9 днів тому +1

    Finally documents long hidden somewhere come to light again, thanks so much Reza!
    Maybe you could return to the search topic again at some point to expand the search that it embraces all content of a SharePoint site beyond libraries, but also regular lists?
    And then given this enlarges the search result to have options to filter these down as required, e.g. filter to specific sites or where certain meta data such as categories are met?
    Reza, you are providing such incredible support, thank you!

    • @RezaDorrani
      @RezaDorrani  8 днів тому

      You’re most welcome!
      There is so much that can be done with search APIs.

  • @f33rn44nd00
    @f33rn44nd00 4 місяці тому +6

    If you're having trouble with parseJSON after following this tutorial, Power automate is now changing the manual formula to a dynamic tag after the first execution, which doesn't output escaped double quotes in the response. I solved it in my case by adding a string() function applied on the body(etc)

    • @RezaDorrani
      @RezaDorrani  4 місяці тому +1

      Thanks for sharing

    • @juancarlosvallecillo4533
      @juancarlosvallecillo4533 3 місяці тому +3

      Do you mind ellaborating a little bit more how you solved the issue? Currently, my searchResults its showing [' '], if I check my raw data shows Rows: 0, so its not generating the table. Is this the same situation?

    • @f33rn44nd00
      @f33rn44nd00 3 місяці тому

      @@juancarlosvallecillo4533 I don't think it's the same issue as I was getting search results from SPO API but was unable to then export them to a flow, if the search results are empty it's probably something to do with the query

    • @patrickcook2296
      @patrickcook2296 2 місяці тому

      Thank you so much for your update. I tried the steps multiple times, and I am getting the same result following Rezza's excellent video. for search results it shows [] left and right bracket. Can you please share an example of how you added a string function(). Thanks so much.

    • @f33rn44nd00
      @f33rn44nd00 2 місяці тому +1

      I believe fully empty strings mean the search API did not find any results. In my case I was getting a parseJSON error inside Power Apps. The string() function was added on the Power Automate side, instead of using the dynamic tags, write a custom formula and wrap the formula in the instructions in a "string(*body etc*)"

  • @bernardnguyen5382
    @bernardnguyen5382 Рік тому +1

    Thanks a lot Reza for this video !
    As you've just shown, using the SharePoint API is a really effective way of integrating data from SharePoint into Power Apps.
    Of course, you have to use it according to your needs, but honestly, you should use it in real scenarios, ahah. Too good.
    Thank again you for sharing all this content, because it's thanks to you that I'm increasing my skills and improving my vision of the Power Platform. 🙏

    • @RezaDorrani
      @RezaDorrani  Рік тому

      Great to hear! Thanks so much for watching and appreciating the videos.

  • @sergiojesusramirezquintana3472

    Thank you very much for the video Reza ! Amazing function for sharepoint database users, will test it out ! especially the in search content capacity from a image in a standard licence from wich did not know it was possible and the possibility was always there 👏👏

  • @suebrower2275
    @suebrower2275 Рік тому +8

    Another game changing tutorial! 👏

    • @RezaDorrani
      @RezaDorrani  Рік тому +2

      Sadly, video start is not great from a viewership standpoint.
      Hoping more folks see the value.

  • @oluwatobipaul6171
    @oluwatobipaul6171 Рік тому +1

    Thank you Reza. I have not had a use case around this yet but it is definitely a good knowledge to have and i might find ways to apply it in my present place of work

    • @RezaDorrani
      @RezaDorrani  Рік тому +1

      Thanks for watching. If ever you find a use case, let me know how it went.

  • @MrSantoshKm
    @MrSantoshKm Рік тому +1

    Great solution 👍, thank you so much for this video. Very much appreciated 😊

  • @allison7324
    @allison7324 5 місяців тому

    GOAT! Thank you for another incredible tutorial!

  • @antoni8659
    @antoni8659 9 місяців тому +1

    well done Rezza, excellent tutorial!

  • @0987654321rb
    @0987654321rb Рік тому +1

    This is just awesome Reza Sir. Thanks a ton.

  • @DroneEyes
    @DroneEyes Рік тому +1

    Great demo ... you rock Reza!

  • @smisra
    @smisra Рік тому +1

    Exceptionally neatly crafted solution. SharePoint API is getting another level with Reza's creativity

  • @prasannagoud5032
    @prasannagoud5032 Рік тому +1

    Great video Reza!
    We can achieve SharePoint global search functionality with these APIs

  • @OsmanChaudry
    @OsmanChaudry Рік тому +1

    This is great! def testing it out!

  • @user-ie8fl7be1u
    @user-ie8fl7be1u Рік тому +1

    thank you rezza, you a saviour

  • @silverblabe215
    @silverblabe215 Рік тому +1

    Brillant content, as always !

  • @CloudhoundCoUk
    @CloudhoundCoUk Рік тому +1

    As always excellent. Thank you.

  • @tunjivictor9279
    @tunjivictor9279 11 місяців тому +1

    Thank you very much Reza for this video.

    • @RezaDorrani
      @RezaDorrani  11 місяців тому

      Most welcome

    • @tunjivictor9279
      @tunjivictor9279 10 місяців тому

      Hello Reza, what do you think I can do when the Power Automate flow result does return the file properties that should be populated in the gallery. I only get the file name, others like size, thumbnail, path, file type etc. are not returned by the flow. Do you think it is my SharePoint settings? Thanks.

    • @RezaDorrani
      @RezaDorrani  10 місяців тому

      @@tunjivictor9279 Read about managed properties in SharePoint search.

  • @rammanepalli2364
    @rammanepalli2364 Рік тому +1

    Great video. Thanks for sharing

  • @robi62000
    @robi62000 Рік тому +1

    Thank you Reza, a great tutorial with a brillant content 🙂👏

    • @RezaDorrani
      @RezaDorrani  Рік тому

      Glad it was helpful!

    • @robi62000
      @robi62000 Рік тому

      @@RezaDorrani how to generate an OCR extract text ? Do we have a free component in power automate, sharepoint or we have to buy something? Thx

    • @RezaDorrani
      @RezaDorrani  Рік тому +1

      @@robi62000 AI builder has a model for that called text extraction I believe. It does require a premium license + AI builder capacity

  • @pkp044
    @pkp044 Рік тому +1

    Mind blowing. Thank you!

  • @jeanpierreragequit1726
    @jeanpierreragequit1726 8 місяців тому +1

    Impressive ! Great job !

  • @kelvinware8215
    @kelvinware8215 11 місяців тому +1

    Hi Reza. I have implemented this search function across my company. Works a treat. Thanks.
    We have multi country SP environments. Some of the SP sites are common, some aren't. Can you think of a way that the user will be able to select and limit the results to a selectable dropdown selection? The flow can still search in all environments, but just limit the displayed results. Thanks

    • @RezaDorrani
      @RezaDorrani  11 місяців тому

      Most welcome!
      I believe there was a path property to filter or target specific sites. You could dynamically phrase that based on dropdown selection. I have not tried it and hence giving an idea.

    • @kelvinware8215
      @kelvinware8215 11 місяців тому

      @@RezaDorrani Thanks. I'll see if I can work it out.

  • @bryanmoore4574
    @bryanmoore4574 Рік тому +1

    Hi Reza, have you thought about doing a quick lesson on how to add a new user to a Sharepoint list and giving them permissions via Powerautomate and/or Powerapps? A good example would be the Onboarding or Offboarding of an employee who needs permissions to certain sharepoint sites and/or lists.

    • @RezaDorrani
      @RezaDorrani  Рік тому +3

      I have not since I have not come across this scenario at work and have not have any requests on this topic.
      I make videos when I receive multiple requests on a topic. Every quarter I ask subscribers for topic suggestions on Community Tab of my channel. Most voted topic ideas get added to my backlog. Make sure to suggest this idea whenever the next topic suggestion post is out.

  • @user-jj5nc4ig5p
    @user-jj5nc4ig5p 11 місяців тому +1

    Hi Reza and thanks for this great tutorial that helped me achieve exactly what I was looking for. I am wondering if it is possible to modify the query so that each document in the sharepoint is associated to a number of occurrences for the search word. Thank you in advance for your help.

    • @RezaDorrani
      @RezaDorrani  11 місяців тому

      I am not aware of an option to do that.

  • @TheSmithPR
    @TheSmithPR Рік тому +1

    Hey Reza, great video! Is there anyway to sort the search results in the gallery? For example if I want to sort by column.
    Trying to recreate the “bookmarks” experience from SP Search. haven’t been able to get it to work with the api search results. So I’m trying to figure out if I can just sort the gallery of results by a column once the results arrive in PowerApps.
    Thanks

    • @RezaDorrani
      @RezaDorrani  Рік тому

      Check rest api documentation linked in video. There is a sort option as well.

  • @yayak.9726
    @yayak.9726 Рік тому +2

    Thanks Reza, again another great video. One question, how possible to check If pdf file content has been modified or not. I know I can do that by calling file modified trigger but I need to trigger the action only if file content changed not other Metadata. Wondering if graph api has solution. Thanks again

    • @RezaDorrani
      @RezaDorrani  Рік тому +1

      I believe if content is changed it should trigger, but not sure. Never come across this scenario though. I would recommend posting your query on forums powerusers.microsoft.com

  • @RebeccaWestling
    @RebeccaWestling 11 місяців тому +1

    This was super helpful! It's there any way to add filters to the gallery as well? I can't figure out how to access the fields brought across within search results to compare with field names for use with check boxes against metadata fields, for example.

    • @RezaDorrani
      @RezaDorrani  11 місяців тому +1

      The search api supports filter actions as well. Check the documentation for search api linked in video. You would need to pass the filter conditions as params to flow and use that to frame the search api call. I would have to try it out to provide any further guidance. I recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.

    • @RebeccaWestling
      @RebeccaWestling 11 місяців тому +1

      Thanks so much, I'll give that a shot!

  • @geralddahl9159
    @geralddahl9159 Рік тому +2

    Thank you, Reza. How is this search method impacted by delegation? (You pointed out that it is a 'non-premium' way of searching, so I'm hoping it can also search 22,000 or 360,000 docs for search text - that would be almost too amazing!) 😊MUCH APPRECIATED.

    • @RezaDorrani
      @RezaDorrani  Рік тому +3

      There is no delegation challenge here as it uses the SharePoint Search API.

  • @stephencurry7561
    @stephencurry7561 11 місяців тому +1

    Thanks Reza for the amazing video! Quick question, how can you create a dropdown box that would dynamically populate from the search results, allowing you to further filter the results by something like FileExtension? I have been tying for a couple days but can't seem to figure it out.

    • @RezaDorrani
      @RezaDorrani  11 місяців тому

      I would have to try it out to know the steps. Why not simply hardcode a dropdown of file extensions and send that as param to flow and use it for filtering.

    • @stephencurry7561
      @stephencurry7561 11 місяців тому

      ​@@RezaDorrani I have tried hard coding the file extension in the dropdown as well, but I must got be getting the formula incorrect for the filter. This is what I currently have, in an attempt to produce a result.
      Filter(Table(ParseJSON(varSearchResults.searchresults)), ThisRecord.Value.Key.FileExtension="doc")

    • @RezaDorrani
      @RezaDorrani  11 місяців тому

      I cannot debug the issue without trying it out myself. I would recommend posting your issue with screenshots on the forums at powerusers.microsoft.com/

  • @Learnpowerplatform
    @Learnpowerplatform Рік тому +1

    Very good and informative video. Thanks for it. Can we use search api if we need to find specific text from pages library on pages and webparts within those pages?

    • @RezaDorrani
      @RezaDorrani  Рік тому

      Yes, it should work for pages as well. Im not sure about text within web parts.

  • @MatthewMurray-es2lc
    @MatthewMurray-es2lc 2 місяці тому +1

    Thank you for this Reza, its a very great tool and its working on our SharePoint pages perfectly.
    Just a question on functionality, is there a way to have it also work with partial/substring searches, please?

    • @RezaDorrani
      @RezaDorrani  2 місяці тому

      Most welcome!
      I have not explored option of substring searches to know if that is possible.

  • @lihtnes29
    @lihtnes29 Рік тому +1

    Thank you Reza. There are multiple requests on this and thanks for this video.
    I can see we can pass single query text or multiple parameters on this? Can we pass dynamic metadata on this? I'm looking on building up a Unified Search which can work on dynamic metadata from different content types? This way, search will be more centralized and I can use this search for any content types or document libraries.

    • @RezaDorrani
      @RezaDorrani  Рік тому

      Possible. You can include searchtext as example: ContentType:X and add additional filters. Check documentation linked in video description.

  • @veraenderung
    @veraenderung 11 місяців тому +1

    perfect video, Reza your are the best.
    I recreated the demo concept for my library. My library contains some self-created metadata. Unfortunately, this metadata is not displayed in the output of the flow. How can I ensure that this metadata is also displayed?

    • @RezaDorrani
      @RezaDorrani  11 місяців тому +1

      Check my video playlist on graph api. I have done 3-4 videos on this topic. Search is dependent on managed properties. Check documentation on managed properties for SharePoint.

  • @benjaminjones5544
    @benjaminjones5544 11 місяців тому +1

    Amazing Video as per usual Reza. I cant see or seem to add the extracted text column is this something that needs to be configured beforehand? I'm in the UK, so it might not be a feature here.

    • @RezaDorrani
      @RezaDorrani  11 місяців тому +1

      I have no idea if its a region centric feature. I simply noticed it while preparing for the video demo.

  • @Karen-lw5xm
    @Karen-lw5xm Рік тому +1

    Thank you for providing great content videos. This is another great video. Is there a way to get the schema search(property names of Sharepoint list columns) w/o site admin privilege?

    • @RezaDorrani
      @RezaDorrani  Рік тому +1

      You would need to be a site admin to get those. The ones shown in video are all standard schema names.

  • @marcovandermey1192
    @marcovandermey1192 10 місяців тому +1

    Great video Rezza, i got it to work, is there a way to get additional sharepoint tags from the document library (other than from document itself),, i have extra columns on the document library that i would like to get the data to updated another list. Thank you in advance

    • @RezaDorrani
      @RezaDorrani  10 місяців тому

      Key is managed properties for searching. If you use content types then it automatically creates crawled properties and then you can create managed properties and fetch them in searching. Il recommend reading about managed properties in SharePoint search.

  • @Chemical.Recolution
    @Chemical.Recolution Рік тому +1

    I had yesterday zero experience about „Power Apps“ and all this stuff.
    Today I launched already my first full working and responsive app ! This videos are so crazy amazing. I would pay for such content.
    Where I can donate a ☕️?

    • @RezaDorrani
      @RezaDorrani  Рік тому

      This is awesome! Glad to hear you launched your first app 👏
      Thanks for the appreciation. You can become a member of the channel if you’d like. Here is the link 👉 ua-cam.com/users/rezadorranijoin

  • @generice3398
    @generice3398 11 місяців тому +1

    Reza, great video once again! How do you get the little images (eyes next to Views, folder next to Shared Documents, etc). Are those simple image controls, or some other trickery? :D

    • @RezaDorrani
      @RezaDorrani  11 місяців тому +1

      Those are emojis.
      Use Windows+. to launch the emoji keyboard.

    • @generice3398
      @generice3398 11 місяців тому +1

      @@RezaDorrani I knew it had to be something simple. What a game changer. Thank you!

  • @jon_kimin
    @jon_kimin 11 місяців тому +1

    Love your content! Question: any advantage to searching document libraries via this method (REST + Power Automate) vs. Graph?

    • @RezaDorrani
      @RezaDorrani  11 місяців тому +1

      License :)

    • @jon_kimin
      @jon_kimin 11 місяців тому +1

      @@RezaDorrani ah, of course, the ever-important licensing consideration 😅. Thanks for the response!

  • @otool1111
    @otool1111 Рік тому

    Reza, I am trying to modify your Uri to allow a dynamic approach whereby the search criteria would be pulled from a list. We have common terms that we need to look for often, So i am trying to automate the flow on a schedule. I use a get items to retrieve an array of the search terms. But i continue to get mixed results. i continue to receive an error stating the querytext is missing or invalid and yet when i run the flow i get results. Anyhow, if you have any idea on what the URi might look like that would be great. Great video!

    • @RezaDorrani
      @RezaDorrani  Рік тому

      Depends on how you have framed the query based on your dynamic logic from list. I have not tried this hence not sure. I recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

  • @kencwallace
    @kencwallace 10 місяців тому +1

    Fantastic video as always. I've combined two separate searches from two separates sites into one result sent back to Power Apps. While I can get each separate search result to sort by Rank, append them together with some substring manipulation, and send to Power Apps I can't seems to identify how to re-sort the total results, the combination of two sources, by Rank once both search results are combined into a mega-result. The intent is; a universal search across multiple locations in multiple sites. Without a resorting of Rank in totality it isn't very useful. Any assistance is appreciated.

    • @RezaDorrani
      @RezaDorrani  10 місяців тому +1

      Thanks. Looks like you have expanded on the video which is great.
      I would have to try out your scenario, recreate it to provide guidance and I have no plans to do so as I have moved onto multiple new videos. I recommend checking or posting your query on forums in case someone has done something similar powerusers.microsoft.com

  • @rthoughts7232
    @rthoughts7232 Рік тому +1

    It's super useful usecase

  • @hokemspitter
    @hokemspitter Рік тому +1

    Nice, thank you. Quick question, I see you added content class:STS_ListItem_DocumentLibrary. Is that valid for all OnLine Libraries?

  • @siddharthafoster1
    @siddharthafoster1 Рік тому +1

    Thank you Reza for awesome video really wonderful can you please help me why I'm getting "Short Name of" instead actual name of document it's happening for few files how can we fix it

    • @RezaDorrani
      @RezaDorrani  Рік тому

      I believe Author managed property does that. Check if there is another managed property that gives actual name or you may need to create one.

  • @Maynardjones100
    @Maynardjones100 5 місяців тому +1

    Amazing! just the user case I needed, I will try soon
    Question, how did you add the Extracted text column to the sharepoint list?

    • @RezaDorrani
      @RezaDorrani  5 місяців тому

      Extracted Text column was added by SharePoint itself. I did not do anything to add it.

    • @Maynardjones100
      @Maynardjones100 5 місяців тому

      I cant find it :( did you rename it? or maybe do i need some updated licence or version of sharepoint? I havent found a way to enable it or display it@@RezaDorrani

    • @RezaDorrani
      @RezaDorrani  5 місяців тому

      @@Maynardjones100 Im not sure what I did to get it.

  • @thetrain1919
    @thetrain1919 11 місяців тому

    Hi Reza, do you know how individual document or SharePoint site security settings might impact things. I'm working on this exact implementation for my organization but for some reason when the results come back, it only matches to the Document Library name itself and none of the contents or the text within the contents. It would seem the API is working and connecting to the library, but nothing within the library is getting matched. I've tried re-indexing, adjusting document level security but nothing works.

    • @RezaDorrani
      @RezaDorrani  11 місяців тому

      Search will respect SharePoint security. I have not experienced the issue you have mentioned and hence not sure what is the cause for your issue. I recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

  • @pirugarden1129
    @pirugarden1129 Рік тому +1

    Hi reza, do you have video how to insert link somewhere in the sharepoint that enable approver to see the approve/reject button in case they accidentally deleted the approval notification to their email?

    • @RezaDorrani
      @RezaDorrani  Рік тому

      May be I showed that in one of my approval videos. You can check the approval playlist.

  • @ajking7905
    @ajking7905 Рік тому +1

    Great video. Can this functionality also work on sharepoint list attachments?

    • @RezaDorrani
      @RezaDorrani  Рік тому +1

      I did a video recently on searching lists. That also searches in list attachments

  • @krishnagupta81
    @krishnagupta81 7 місяців тому +1

    One of the Good content so far . I have one query how to get file size in an effective manner.

    • @RezaDorrani
      @RezaDorrani  7 місяців тому

      Thanks.
      The file object json response from search query would surely have size also in it.

  • @user2stx
    @user2stx 2 місяці тому +1

    Really cool video, this search funciton is amazing! Is it somehow possible to show all the found results in the gallery? At default it only shows the first 10 findings..

    • @RezaDorrani
      @RezaDorrani  2 місяці тому +1

      Loading data in batches is recommended due to performance. User can always paginated through the records

    • @user2stx
      @user2stx 2 місяці тому

      @@RezaDorrani I would like to link the found results directly to the respective document e.g. by clicking the "ChevronRightIcon" how can I do that? Thank you in advance!

  • @mumialpi
    @mumialpi 9 місяців тому

    Hello Reza, can this be used to search sharepoint list and its attachments rather than sharepoint library? Which portion of code needs to be changed in the send http (get method) section?

    • @RezaDorrani
      @RezaDorrani  9 місяців тому +1

      It can be used for lists and attachments.
      I would have to try it out to know which portion of code needs to be updated. I would recommend posting your query on forums in case someone has done something similar
      powerusers.microsoft.com

  • @tejuk6657
    @tejuk6657 5 місяців тому +1

    Hi Reza
    Thanks a lot for this video. As always, I get solutions through your videos.
    I tried to do a keyword search in a Sharepoint library by following the video, but for some reason, I am getting empty rows under the table. Not sure what may be the issue. Have checked everything thrice but still getting same. Any suggestions?

    • @RezaDorrani
      @RezaDorrani  4 місяці тому

      Most welcome!
      I have not experienced this issue hence not sure.

  • @mspowerassist
    @mspowerassist 8 місяців тому

    @RezaDorrani. I followed this and implemented. It is working absolutely fine. I am trying to pull custom fields (Lookup and Dropdown) values too using API. But unable to make it happen. Seems, I may need to check the Managed Properties of the library for this and couldn't be able to find much helpful resources to complete this. Would you please provide any guidance or point me in the right direction to achieve this?

    • @RezaDorrani
      @RezaDorrani  8 місяців тому +1

      There have been a few comments on this. There is documentation out there on web around managed properties.
      In my scenario, the columns were available as crawled properties and I mapped it to managed properties.

    • @mspowerassist
      @mspowerassist 8 місяців тому +1

      Yeah @@RezaDorrani. Thank you for the response and this use case demonstration. I would explore how to add and deal with the managed properties in SharePoint.

  • @kastenivkimbo5347
    @kastenivkimbo5347 11 місяців тому

    Hi , I had a question I wanted to add a edit button for grid where I am using only labels to make the grid andstoring where its not able to edit anything in the labels grid

    • @RezaDorrani
      @RezaDorrani  11 місяців тому

      A grid? This video is not on grid controls. I recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

  • @nilsfragoso
    @nilsfragoso 11 місяців тому +1

    Thank you very much for this demo !!
    I tried to implement this solution following your instructions. I have a document library with many documents, but no matter what I try to search for, I only get results from one specific document... any clues of what can be wrong?
    Thank you

    • @RezaDorrani
      @RezaDorrani  11 місяців тому

      I have not faced this issue hence not sure what the reason for your issue could be. I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

    • @nilsfragoso
      @nilsfragoso 11 місяців тому

      @@RezaDorrani, If I remove the * after the document library name from the Uri , it searches in more documents, but not in all. With the * it only searches on one document...

    • @RezaDorrani
      @RezaDorrani  11 місяців тому

      @@nilsfragoso Depends on how the doc libs are named, how many documents it has etc. I would recommend to read about search properties and how to apply * searches in SharePoint.
      Video description has link to download sample app which includes my entire setup used.

  • @padianilyadav904
    @padianilyadav904 Рік тому +1

    Hi Reza, In my Share point list I had a Invoice column(Date and time) by using this I have to send an Remainder email for 10 days, 20 days, 30 days and 50 days by using power automate flow. But while using switch I am unable to use dynamic values or expression, how can I achieve this scenario

    • @RezaDorrani
      @RezaDorrani  Рік тому

      This video is about searching in power apps not sending email reminders from flow.
      I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

  • @dhirajpatil3481
    @dhirajpatil3481 10 місяців тому

    Hi Reza, How to create CSV of the SharePoint HTTP connector output . .
    Because Json which we are getting is complex Json. How to map key value pairs in create CSV to get exact output. Please instruct me on how to achieve it.

    • @RezaDorrani
      @RezaDorrani  10 місяців тому

      I do not have a video reference on this scenario and would have to try it out to provide guidance. I recommend checking or posting your query on forums in case someone has done something similar powerusers.microsoft.com

  • @koenjanssens4434
    @koenjanssens4434 Рік тому

    Any idea if we could do similar things on Power Pages? The current SharePoint integration for power pages is not sufficient in some of our use cases...

  • @saiprakashyadav5911
    @saiprakashyadav5911 8 місяців тому

    Hi Reza, Is there any way to extract data(OCR) from the selected document and format could be anything image/pdf/word? Please provide your insights how to achieve this without AI builder?

    • @RezaDorrani
      @RezaDorrani  8 місяців тому

      I do not have a video reference on this scenario and would have to try it out to provide guidance. I recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.

  • @aysanhaghani5271
    @aysanhaghani5271 2 місяці тому

    Thank you for this great tutorial, do you think it might be possible to user the same flow and work with Team PVA to show the results?

  • @luisafranco6790
    @luisafranco6790 День тому

    Hello Reza, thank you for your videos, they have been so helpful for me. I have one question, I was trying to do the Sharepoint Request following the instructions but it retrieves the rows as an empty array, even if I have documents that contain the value I'm searching for in the name and the document itself. I put the value in the search point search, and I have 13 items. I have full access, do you know if something has changed for the query? I would really appreciate your help, thank you !

    • @RezaDorrani
      @RezaDorrani  День тому

      Check pinned comment on video. The search API works as expected and nothing has changed.
      Video description also has details to download the sample app (members only - check description for details)

  • @kingmrrah4490
    @kingmrrah4490 5 місяців тому +1

    Hi Reza 👏 great video, is their a limit to display items in a gallery as I have my result showing large number or should just create a new document library to search on

    • @RezaDorrani
      @RezaDorrani  5 місяців тому +1

      Gallery is showcasing paginated results. Technique used can work with large data.

    • @kingmrrah4490
      @kingmrrah4490 5 місяців тому +1

      @@RezaDorrani thank you, 😀

  • @sololay3861
    @sololay3861 4 місяці тому

    That’s great. How can I show the content and highlights it in the result next to the pdf preview?

    • @RezaDorrani
      @RezaDorrani  4 місяці тому

      Thanks!
      You mean the actual file content? I have not tried that so not sure.

  • @WaldoSchobben-qf9sh
    @WaldoSchobben-qf9sh Місяць тому

    Hi Reza, this is a great video and it is perfect for what I need in our environment. Do you think it would be possible to add f.e. a combobox which collects all the file extensions from the search results? With which we could refine our result? If so, could you point me in the right direction please?

    • @RezaDorrani
      @RezaDorrani  Місяць тому

      The search results returned are in batches.
      So the distinct file types would not be accurate and based on entire result set.
      Also, distinct is not a delegable function.

    • @WaldoSchobben-qf9sh
      @WaldoSchobben-qf9sh Місяць тому

      @@RezaDorrani Does this mean that there is no way to filter the search result by using checkboxes or comboboxes?

    • @RezaDorrani
      @RezaDorrani  Місяць тому

      @@WaldoSchobben-qf9sh Search results can be filtered by checkboxes or combo boxes. Your question was to collect all file extensions and show them in a combo box.

  • @maheshchathuranga3385
    @maheshchathuranga3385 Рік тому

    Hi Reza,
    Thanks for sharing this knowledge.
    While im trying to run it i'm continuesly getting below Prase error
    "" Unexpected end of JSON input"
    Any idea ?

    • @RezaDorrani
      @RezaDorrani  Рік тому +1

      I have not come across this issue. I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

  • @generice3398
    @generice3398 11 місяців тому

    One other question, did you get the Library Name somehow from the "path" property? If so, which method?

    • @RezaDorrani
      @RezaDorrani  11 місяців тому

      Yes, I used split function and then index to get it. I don’t remember the exact function. Video description has link to download entire app (members only)

  • @mdkhizerhayat4589
    @mdkhizerhayat4589 6 місяців тому

    Hi Reza, amazing video I have to work on same scenerio, but I have to perform search only one file recent uploded,
    So I used a trigger as when file is created and passing the doc library address+full path of document in uri column, but it is not searching,
    It is working when I coded as same yours (document librarypath*) it search in whole doc library.

    • @RezaDorrani
      @RezaDorrani  6 місяців тому

      Thanks!
      If you need to search in only 1 file that too recent - it kind of defeats the purpose of searching. You can simply load the latest file in power app.
      Im sure there will be a way to target search to a specific file as well if thats the scenario you are attempting.

    • @mdkhizerhayat4589
      @mdkhizerhayat4589 6 місяців тому

      Thanks Reza, im trying to work in power automate, if particular text available in file then i have to move that file in particular department library

    • @RezaDorrani
      @RezaDorrani  6 місяців тому

      @@mdkhizerhayat4589 oh ok

  • @richardgould5765
    @richardgould5765 Місяць тому +1

    Brilliant Guide, but a question. can you get the document to display in a pdf viewer (as shown in your other video) or does it have to be launched?

    • @RezaDorrani
      @RezaDorrani  Місяць тому

      I believe it would have to be launched. In other video we get a lot more info like blob which I don’t think we can get from search.

    • @richardgould5765
      @richardgould5765 Місяць тому +1

      @@RezaDorrani thank you for your quick response. I will have to leave it as a launched document instead of displaying in my viewers.

  • @imotumbokanaka4157
    @imotumbokanaka4157 Рік тому +1

    Hi Reza ,great work , i dont have extracted text column in my Sharepoint online, what must i do to get that column

    • @RezaDorrani
      @RezaDorrani  Рік тому +1

      You will have to add that column to your view.
      I did nothing to add that column.

    • @rahulkoul9110
      @rahulkoul9110 Рік тому

      @@RezaDorrani thanks much for the video. Super like

    • @RezaDorrani
      @RezaDorrani  Рік тому

      @@rahulkoul9110 I only noticed it when preparing for the video. I have no clue either.

  • @josejunior8529
    @josejunior8529 Рік тому

    Hi Reza, I have a question, the option you showed in the video you can only see the visual option of the pdf but if you want to edit the pdf you need to open the desktop version of PDF, how would you do this process? normalmnente the user enters to view and edit the pdf.

    • @RezaDorrani
      @RezaDorrani  Рік тому

      Pdf editing is not supported with the api. It only supports word ppt and excel.

  • @padianilyadav904
    @padianilyadav904 Рік тому +1

    Hi reza, I have one validation problem in my app Title i given a Textinput to enter the parent project and i given one switch off and on toggle , so if we switch on toggle means the entire lookup values will be saved like multiple times how many i click on saved while we switch on that toggle , but i have a issue of saving my values are saving only one time in my list can you help me to solve my validation problem

    • @RezaDorrani
      @RezaDorrani  Рік тому

      I do not have a video reference on your scenario and would have to try it out to provide guidance. I recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.

  • @BananaJonesJr
    @BananaJonesJr 2 місяці тому

    Hey Reza, would something like this work for SP lists? Say I wanted to search Title, ID and Created By using REST api search. I've tried using this method with the path to my list instead of a documents library, but was not getting any results. I'm thinking I need to somehow specify the columns that I want to search in the Uri. I've also tried Graph API, but it is not working in our tenant (we are in DoD tenant).

    • @RezaDorrani
      @RezaDorrani  2 місяці тому

      Should work with lists as well. I am not aware of any issues with it or limitations with DoD

  • @ramyagandhi5251
    @ramyagandhi5251 Рік тому +1

    My ambition is to get placed in MAANG kinda giant companies. As a powerapp devolper can i join there.. because , i feel like only service based company is hiring powerapps developer since its a developing tool, not a product based company ....is it?

    • @RezaDorrani
      @RezaDorrani  Рік тому

      I do not follow or track job portals or hiring details.

  • @patrickcook2296
    @patrickcook2296 2 місяці тому

    Reza thank you for another great video. I was able to follow your instructions using two of your videos. Does any know how to make the PDF Viewer work with the gallery results for this video? I want to click on the record and have the PDF viewer display the document using the "path" value from the gallery results. The link works but it opens up the document in the browser. Thanks.

    • @RezaDorrani
      @RezaDorrani  2 місяці тому

      Video description has link to download entire solution (check description for details)

    • @patrickcook2296
      @patrickcook2296 2 місяці тому +1

      @@RezaDorrani Thank you. I will sign up for a membership so that I can download.

    • @RezaDorrani
      @RezaDorrani  2 місяці тому

      @@patrickcook2296 Message me in community tab where link was shared in case it got disabled. I will re-open it for you.

    • @patrickcook2296
      @patrickcook2296 2 місяці тому +1

      @@RezaDorrani Thank you so much. I just messaged you in the community tab.

  • @user-hx9hl9dm5l
    @user-hx9hl9dm5l 6 місяців тому

    Thank you, Reza, for the explanation so that people like me understand without knowing the PA language. However, I get no hits when I run the program. But what I discover is that varSearchResults gets data type: Post What have I done wrong? my files in Sharepoint/Documents are PDF only.

    • @RezaDorrani
      @RezaDorrani  6 місяців тому +1

      I have not come across the mentioned issue and hence not sure what the cause could be.
      I recommend posting your issue on forums in case someone has experienced something similar powerusers.microsoft.com

  • @ramontaylor4000
    @ramontaylor4000 Рік тому

    Thank you for the video, but after testing I notice that the search rest api isn't searching any of my indexed metadata fields in the library, am I doing something wrong?

    • @RezaDorrani
      @RezaDorrani  Рік тому

      I cannot know without looking at your scenario, search configuration etc. I have not come across this issue hence not sure.

  • @unetseulement
    @unetseulement Рік тому +1

    Are you able to use the “extracted text” column directly within powerapps instead of calling the rest api? Since its just another column.

    • @RezaDorrani
      @RezaDorrani  Рік тому

      Give it a try. It should be. This video is related to searching and hence I used the search API.

    • @unetseulement
      @unetseulement Рік тому

      @@RezaDorrani right. I’m just thinking since the goal is searching, if you just use that column, you can just use the “search” function for the gallery.

    • @RezaDorrani
      @RezaDorrani  Рік тому

      @@unetseulement Search is not a delegable function. It would work for lists under 2000 items but not beyond.

    • @unetseulement
      @unetseulement Рік тому +1

      @@RezaDorrani ahh right.

  • @Skylinetrw
    @Skylinetrw 5 місяців тому

    Hi, may I ask what is the function for the button users press to open the file after all the searching algorithm is done? I added the Navigate function before your Power FX template on calling the Title etc and it returned a different variable type.

    • @RezaDorrani
      @RezaDorrani  5 місяців тому

      Open file with navigate? Navigate is used to navigate between screens.

    • @Skylinetrw
      @Skylinetrw 5 місяців тому +1

      @@RezaDorrani Oh yea, my Power FX was rusty after several months of break. Using Launch with that works fine. Thanks.

  • @simonsoltanian4035
    @simonsoltanian4035 Рік тому

    Could you please make a video on combining 2 or 3 apps in Power Apps?

    • @RezaDorrani
      @RezaDorrani  Рік тому

      I make videos when I get multiple requests on a topic
      Every quarter I ask subscribers for topic suggestions on community tab of my channel ®
      Most voted idea gets added to my backlog
      You can post this suggestion in the next topic poll
      If it gets max votes, I will add it to my backlog

  • @karra111
    @karra111 9 місяців тому +1

    Great tutorial Reza..could you please enable download option as i just subscribed to membership today and i cant access the app.

    • @RezaDorrani
      @RezaDorrani  9 місяців тому

      Thanks.
      I covered memberships and download options in detail here ua-cam.com/users/liveoSPw6WJdPoA?si=hZXt59g3XsbL-kS9

  • @jamc41
    @jamc41 5 місяців тому

    Hi Reza!
    I followed your exact steps, even copy pasted your expressions, however when i use the flow and hover over varSearchResults, i'm only getting back searchresults, not totalrows or rowcount.
    This is defaulting to just 10 rows and not pulling all the data. Any ideas on how to fix this?

    • @RezaDorrani
      @RezaDorrani  5 місяців тому

      I have not come across the mentioned issue and hence not sure what the cause could be.
      I recommend posting your issue on forums in case someone has experienced something similar powerusers.microsoft.com

    • @user-pp2xn6vp8s
      @user-pp2xn6vp8s 5 місяців тому

      @jamc41 did you get solution for your mentioned issue? I am also facing the same issue

  • @ramyagandhi5251
    @ramyagandhi5251 Рік тому

    I am really comfortable with this power platform....but kinda frustrated to start my career in this ,as my friends are learning dsa , oops concepts inorder to crack interview of faang.... whether am i going in a right path?

    • @RezaDorrani
      @RezaDorrani  Рік тому

      I do not follow career paths. I am a content creator and share videos on power platform.

  • @edisonokhueleigbe4063
    @edisonokhueleigbe4063 6 місяців тому

    Is there a way to use this same method for multiple control in a way where, when the search button is clicked it shows the precise record and not multiple records.

    • @RezaDorrani
      @RezaDorrani  6 місяців тому

      Search will return multiple results. You can simply present only 1 row of information.

  • @user-pp2xn6vp8s
    @user-pp2xn6vp8s 6 місяців тому

    Hi Reza,
    First of all, thanks for this informative video. I had a query regarding the extracted text column. I can't see it in the document library I created. Can you let me know from where I can have this column. If you have created a custom column then how have you done this?

    • @RezaDorrani
      @RezaDorrani  6 місяців тому

      Extracted text I believe is an out of the box column. I did not do anything special to create it. Not sure why it wont show up in your case.

    • @user-pp2xn6vp8s
      @user-pp2xn6vp8s 6 місяців тому

      @@RezaDorrani can you please let me know that what is the type of information for extracted text column. I'll try to create a custom column.

    • @RezaDorrani
      @RezaDorrani  6 місяців тому

      @@user-pp2xn6vp8s It an out of the box column and it auto stores AI extracted text. Even if you make it a custom column it wont help.

  • @Deadpool12353
    @Deadpool12353 Рік тому

    Reza this is great but how about if i want to change the source to search is there a way to allow users to change the source to search?

    • @RezaDorrani
      @RezaDorrani  Рік тому

      You can always pass source info from power app to flow.

  • @user-pp2xn6vp8s
    @user-pp2xn6vp8s 5 місяців тому

    Hi Reza,
    Thanks for such an informative video. I tried implementing this in my company. No document is retrieved even if I search with the title of the document. I am getting an empty array in search results and 0 in total rows and row count.
    FYI the document library is created under company licensed Sharepoint account, using SPO Site Creation form.

    • @RezaDorrani
      @RezaDorrani  5 місяців тому

      I cannot know the reason without looking at the security setup, etc.

    • @user-pp2xn6vp8s
      @user-pp2xn6vp8s 5 місяців тому

      @@RezaDorrani is there a way to email you about the issue or contact you in any way.

    • @RezaDorrani
      @RezaDorrani  5 місяців тому

      I do not offer 1:1 support. Best place to post issues is the forums at powerusers.microsoft.com/

  • @jayantbangia
    @jayantbangia 23 дні тому

    Hi Reza
    Thank you for the video
    Need some help but as I am also not to my file documents in behind the url if you or anyone else has a solution please

    • @RezaDorrani
      @RezaDorrani  23 дні тому

      Video description has link to download entire solution (members only - check description for details)

  • @josephmachado500
    @josephmachado500 9 місяців тому

    Nice explained🙏🏼 the only part I don’t get is when you go to power automate and already has that template, how can I have that?

    • @RezaDorrani
      @RezaDorrani  9 місяців тому

      What time in video was that shown?

    • @josephmachado500
      @josephmachado500 9 місяців тому

      @@RezaDorrani my bad I commented on the wrong video, I was talking about the video uploaded July 17 called Search File Content in Power Apps from SharePoint Document Libraries.

    • @RezaDorrani
      @RezaDorrani  9 місяців тому

      @@josephmachado500 Can you plz comment on that video and also share the time if possible

  • @SteveAshall
    @SteveAshall 17 днів тому

    Is there a way to bring over file metadata as part of the API request? I've read all the Microsoft documents and tried several methods, but can't get anything to work. I'm trying to filter out documents with a specific value in a metadata column. Thanks

    • @RezaDorrani
      @RezaDorrani  17 днів тому +1

      Graph should have that option. Not something I have explored though.

  • @towsifahmed6580
    @towsifahmed6580 11 місяців тому

    The Search Result is not displaying on the gallery, however the search result works well. Is there anyway I can get help with the results to display on the Gallery?
    Thanks in advance

    • @RezaDorrani
      @RezaDorrani  11 місяців тому

      Video description has link to download entire app (members only).
      I have not come across the mentioned issue and hence not sure what the fix for your issue is. I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

  • @ramyagandhi5251
    @ramyagandhi5251 Рік тому +1

    Hi, This is Ramya, 2022 passed out electronics engineer from India. i am interested in coding. I am working in a reputed mnc as a powerapp developer. Is it good to start my career as a powerapp developer? Whether Microsoft is hiring powerapps developer? If so how do i prepare for that like i need to complete pl400 pl200 like that or oops language like java , data structures and algorithms like that?

    • @RezaDorrani
      @RezaDorrani  Рік тому

      Hi Ramya, this is a UA-cam video on a specific scenario. I am not a career advisor on power platform and do not track if there are job positions open.

    • @ramyagandhi5251
      @ramyagandhi5251 Рік тому

      @@RezaDorrani okay

  • @juancarloscruz8
    @juancarloscruz8 8 днів тому

    Perfect explaining 👍quick question: I'm getting empty [] searchResults after the http request is done and everything is set up as in the video. Any suggestions on what issue may that may be?

    • @RezaDorrani
      @RezaDorrani  8 днів тому

      No idea as I have not experienced that issue.

    • @juancarloscruz8
      @juancarloscruz8 2 дні тому

      @@RezaDorrani How can I achieve sorting once table is generated? I managed to get the created date but am unable to add it to the sort function.

    • @RezaDorrani
      @RezaDorrani  День тому

      @@juancarloscruz8 I believe search api itself has options to sort. Check documentation.

  • @mahendranikam9475
    @mahendranikam9475 5 місяців тому

    Thanks a lot for this video ! Can you please give me the the code for document open as read only on click of icon for example like this LookUp(Table(ThisItem.Value.Cells),ThisRecord.Value.Key = "Author").Value.Value

    • @RezaDorrani
      @RezaDorrani  4 місяці тому

      I package my apps and then remove them from my tenant. The packaged app is available for download for channel members.

  • @SubrataPal123
    @SubrataPal123 Рік тому

    Hi, few asks I have
    1. When copy the uri from power automate in browser, its not working. Showing site not reachable.
    2. The last query, could you please share that. For multiple search condition and getting specific values.
    Thanks in advance.

    • @RezaDorrani
      @RezaDorrani  Рік тому

      1) You should be pointing to your site and not mine. Check if your case is working in flow first.
      2) All details are shared in video description (full code is for channel members only)

    • @SubrataPal123
      @SubrataPal123 Рік тому

      😢 when we can expect last part explained video.

    • @RezaDorrani
      @RezaDorrani  Рік тому

      @@SubrataPal123 there is no follow up video planned. The last part was explained as an overview. Full code is available for members only. Link is in video description

  • @yurahan8120
    @yurahan8120 5 місяців тому

    hello, how do I make it appear on what page the words are on and when a button is pressed it goes directly to that page of the document?

    • @RezaDorrani
      @RezaDorrani  5 місяців тому

      I dont that is an option

  • @EdTignor
    @EdTignor 5 місяців тому

    Do you have anything like this that will do the same for connecting with Google Drive? Currently that's where all of my documents are stored and moving them will be a large task.

    • @RezaDorrani
      @RezaDorrani  5 місяців тому +1

      The api is specific to SharePoint. I have done not work with google drive.
      I would recommend checking on forums in case someone has done something similar
      powerusers.microsoft.com

    • @EdTignor
      @EdTignor 5 місяців тому +1

      @@RezaDorrani Wow! Thanks for such a quick response!

  • @moniamasti
    @moniamasti 6 місяців тому

    could you redirect me to the sample app download, please? -- i am unable to see the raw output -- is there a setting that i need to enable?

    • @RezaDorrani
      @RezaDorrani  6 місяців тому

      rdorrani-my.sharepoint.com/:f:/g/personal/reza_rdorrani_onmicrosoft_com/EqmIt5I-4Y1LqE39-yxoP-EBnBsh5iHPxLh2xI34PbIKLA?e=xOZzmr

  • @SubrataPal123
    @SubrataPal123 11 місяців тому

    Hi, is there any file limitation(count or size of files)?