Power Apps: 🔍 Search SharePoint Lists without Delegation Issues 💪

Поділитися
Вставка
  • Опубліковано 5 вер 2024

КОМЕНТАРІ • 644

  • @ErikHegyi
    @ErikHegyi Місяць тому +8

    In case anyone was experiencing the AddColumns to give "Expected identifier name" error, just do these two changes:
    1) replace double-quotations with single-quotations on the first instance of AddColumns of Hiro's code; From this: "char" to this 'char'
    2) replace double-quotations with single-quotations on the second instance of AddColumns line of Hiro's code; From this: "dec" to this 'dec'
    Final comment:
    If you want this to work, as shown by Reza, use "Office365Groups.HttpRequest". When you use the V2 version of HttpRequest, you have to change few things.

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

      Thanks so much for sharing this.

    • @user-jc8xk8pz6u
      @user-jc8xk8pz6u 25 днів тому

      this post should be pinned! thanks good kind man, this help a lot!

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

      @@user-jc8xk8pz6u let me pin this

  • @patelbhargav
    @patelbhargav Рік тому +40

    You weren't kidding when you said this video is at an advanced level. I'll have to watch it a couple times to completely understand it. But this is a game-changing technique. Reza does it again. 🙌🙌 Thanks a ton for sharing 😊

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

      This was the hardest video to record. Challenge was to explain it in a simple manner that everyone can understand. It would need repeat viewings for sure :)

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

      @@RezaDorrani Wow! It even pulled up search text that matched the attachment content of an SP Lists item. Not just that, you can even search on text strings or multiple keywords separated by spaces. 🤯

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

      @@patelbhargav Yes! I have a lot of these planned in future videos 😊
      You could also use * syntax for text search.
      Like *searchtext* and so much more

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

      @@RezaDorraniVery clever how you applied Size and From to workaround query return of max 500 records. Does the From value start at 0 and then add or subtract the Size value from it when the Next or Previous button is selected?

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

      @@patelbhargav Yes!

  • @nathaniel-.-
    @nathaniel-.- Рік тому +9

    My goodness, this video is pure gold! My organization has grown from 7 offices to over 50 in the last 18 months and all our data points have increased by a similar ratio, which has made all our power apps fail at one point or another due to delegation. I am no expert but with a teacher like you, I have full confidence in resolving many of our issues. Thank you!

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

    This technique, with some modifications enabled me to query a list with 5.7 million Rows ! Simple Filter was taking minutes to load with proper delegation, and Using Powerautomate couldn't query the whole list. Graph is truly something else !

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

      Awesome!!!
      Graph is the best option for searching in SharePoint specially with the batching options.
      I wish folks stop loading tons of data in collections and stop using get items in flow to send large data back to Power Apps.

  • @ericmild4050
    @ericmild4050 Рік тому +6

    Thanks! This is a game changer for me.
    I've got a lot of re-writing to do.
    Great stuff. Keep up the amazing effort and work.

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

      Great to hear!
      Let me know how it goes.

  • @Robot-Rising
    @Robot-Rising Рік тому +1

    This is incredible, when the video first started I was thinking "oh yeah, we can make an http request through power automate for the search" I had no idea I could access that directly in power apps with standard licensing. This is a GAME CHANGER

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

      Thanks. I don’t foresee the groups connector supporting SharePoint for long. So we would need options to call the SharePoint graph api by some means. I have another approach. I will be showcasing it next week.

    • @Robot-Rising
      @Robot-Rising Рік тому

      @@RezaDorrani exactly what I was thinking. Microsoft is going to see this and remove it but they really need a solution here that doesn't involve combining multiple collections or pulling everything in from Power automate. Direct access to SharePoint search through http would be ideal. But for now, not hard for me to rewrite some apps using this to make them more efficient

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

      Backward compatibility should be supported so I don't foresee existing apps being impacted but new apps (in future - whenever the change comes in) will not be able to leverage the v1 endpoint.

  • @ArijitDas-fr8ss
    @ArijitDas-fr8ss Рік тому +6

    This is a Game Changer, Reza. Thanks for teaching us.

  • @Test-oc1fr
    @Test-oc1fr Рік тому +6

    Wow... Amazing... Even though we are getting the results, it sounds little difficult for a citizen developer like me.
    Big fan of yours Reza ❤.
    Since powerapps is low code development tool, it should bring something which will provide same results with minimal steps.

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

      Thanks so much.
      This was a find using a recent update on Untyped Objects. It was a lot of work to get the results. This is by no means a beginner or intermediate level video.

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

    amazing, I was stuck in file in graph api query, now I learnt from you how to work with graph api, Many Thanks Reza. Jazak Allah Khair.

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

    Thanks for this detailed video on using Graph API to avoid delegation issues. The search crawling schedule that takes 15 minutes is a huge limitation in applying this for my use-cases. Thanks Reza

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

      Search crawling schedule cannot be modified. If your scenario is real time then this is not an option and you would fall into delegation challenges. There is always a give and take.

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

    Great sample, thanks for sharing! Just a consideration: SharePoint Lists Connector for PowerApps (should) uses behind the scene the SharePoint APIs for Lists and these does not require indexing time (so you can get data in "real time"). Graph Search API needs that the data will be first indexed and processed and, despite this time should not take long, is actually not predictable 🙂

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

      Key point here is Searching.
      Lists connector does not support searching in large lists. All of this is explained at start of video.

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

    The Post request example was not available anywhere. This video saved lots of efforts. Thanks Reza!!

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

    I've been getting around the 2,000 row limit using a combination Filter(LookUp()) function, and it has worked for years in large lists that are even over 10,000 items. But this method seems way more reliable and easy. Guess I'm going to need to go back and update all my apps.

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

      This is true Search in action. Filter and Lookup technique is not a performant option.

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

    Thanks Reza sir for the insightful content. This Delegation in Power Apps was a big challenge, I would be implementing the entire graph api call on few of my apps to test it.
    Big thanks to you again, you have been doing great with these contents. Always a fan of your videos.

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

    Fantastic video, I am able to search for folders in our SharePoint library and return the webUrl for project storage thanks to this video... thank you so much Reza 😃

  • @AshleyWeller-vq8zn
    @AshleyWeller-vq8zn 4 місяці тому +1

    Thank you so much Reza. This video has opened up more opportunities in creating complex PowerApps solutions.

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

    Thanks a lot for sharing this sample! One additional problem for me is how to sope query to a list within a second level subsite.

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

      Check documentation to see how that can be done. I have not tried it.

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

    Much needed and awaiting!!! It's much appreciated that you researched this hard to solve this. Great!!!!

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

      Thank You so much for the appreciation. It indeed was a lot of work on research.

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

    This was very helpful when we work on large dataset. Always learn from your videos. Explained in basic language and easy to understand.

  • @mahasahytsilavorakotobe7515
    @mahasahytsilavorakotobe7515 10 місяців тому +2

    Thanks 👌and search with SharePoint Document Library no delegation, you can make a video please?

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

      Its already done ua-cam.com/video/xuR-yaMkFDg/v-deo.htmlsi=2l3tCmlzxGC-Y-cv

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

    Oh my God bro, you are a rockstar. such a advanced insight in this video. it will take me several re-views of this video to grasp and apply this feature. Hats off to you.

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

      Thanks a ton!
      Yes, this would need repeat viewings

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

    God mode. You’re a different level Reza! Thank you for sharing your talent.

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

      Wow, thank you for your kind words

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

    To make things even more convenient, Hiro has updated his blog post to apply the fix you have demonstrated in the video.

  • @apenn-nd9ke
    @apenn-nd9ke 3 місяці тому

    Thanks so much for this and all your video's they have been so helpful as I've started building power apps. This helped greatly implement a feature our users wanted. For any who are having that error in the base 64 code replace the double quotes from char and dec with single quotes or remove entirely. looks like the syntax has been updated since it's posting.

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

      That syntax was picked from a reference blog post.

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

    Man, you're really the game-changer! Could I make a wish for the next series about having no choice but to stick with Dataverse?

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

      Thank You!
      Here is my playlist on Dataverse
      Microsoft Dataverse
      ua-cam.com/play/PLTyFh-qDKAiHr7HwkvlHXpCNf73xNBqj_.html
      Tell me what other ideas you have in mind?
      I make videos when multiple requests are made for a topic. I listen to the audience. When I hear a common voice, I plan for that video.

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

    So many people in this comment section with the same feels about this video😂 We owe you big time, Reza!

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

    ❤ Really a great work Rezza, i tried similar things 2 months back, no luck, i was struck in the "file" parameter, thanks a lot to You and Hiro for decoding the the way and exploring to new heights.🎉🎉

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

      You're most welcome!
      It was Hiro's find and he deserves all the kudos.

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

    Thanks for another informative video Reza. My brain is overloaded now trying to digest all this. Hopefully I can fully understand this tomorrow when in office. 😂

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

    Omg, watching this on mobile. Can’t wait to try on system. Great stuff

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

      Thanks for watching and let me know how it goes.

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

    Excellent video, thank you :) ... using this now and adding filtering on the gallery so the displayed results only come from one column.
    Daunting to begin with but now it is making perfect sense :) .. keep the great work up

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

    Well well, what can I say again. I just had to upgrade to Silver level to download the solution. 😁. Again, it needs a couple more times of watching for it to sink in but they way you take the time to break things down is highly commendable. Having configured Search in On-premise SharePoint, I quickly remembered the managed properties feature. The Graph API is certainly a place I need to research into more. Great video, great content. Thanks for sharing.

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

      Boom! Thanks so much and welcome to the Silver Club.

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

      @@RezaDorrani I'm struggling to find the app download on the Community tab. Is it because this is from 8 months ago?

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

      @@tbone536 You will need to look for the post. No posts are deleted.

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

    Thanks for timely video, we were looking for this solution last two weeks and you gave the perfect solution Reza, tons of thanks for your efforts in making such a great solution and video 🎉🎉🎉

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

      Thanks. I have an option for searching with SharePoint APIs as well. I will plan a video around that in the coming weeks.

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

    This is what we were expecting…. Amazing work ❤

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

    Reza... you are a wizard 🧙‍♂️ how much would you charge for a week??? Just a week for mentoring 2 people!! You seriously do such a great job explaining in detail how to make things we really need like this!!!

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

      Thanks.
      Check about me tab on my channel for details about my email.

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

    WOW What big mission getting this method and code to work. Power Apps shows errors! No luck!

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

      I have not come across any issues, hence not sure.
      Video description has link to download the entire solution (members only - check description for details)

  • @JasonRoberts-zk5ns
    @JasonRoberts-zk5ns Рік тому +1

    Wow that's next-level stuff! Nice solution to a common pain point for us app makers who rely on SharePoint. (And looks like I need to study up on Graph APIl...) Thanks, Reza.

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

      Awesome! So happy to hear that. I would definitely recommend learning about the Graph API.

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

    Excellent video like the way you take the time to explain all the steps. Can't wait for the next one.😊

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

    Thanks a lot Reza, So far its once of the show stopper for few scenarios. Now we can play with it. Loved your presentation. Thanks again.

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

      Most welcome.
      Please be mindful that it uses Office365Groups connector that currently does support these Api’s. In my next video, I will show 2 approaches, that ways we also have multiple options.

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

      @@RezaDorrani Sure, waiting for your videos.

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

    Great work my man, well done in finding a way to make API calls inside Powerapps in a standard license. Thats an amazing find, the way I've been doing it is using flow to make all my http requests.

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

      Thank You!
      However, I dont believe the fact that Office365Groups connector supporting SharePoint will stand the test of time.
      I already have a workaround on that I am evaluating on.
      My next video will give you more insights into that technique.

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

      Technique I plan to showcase will include flow but it will have power to query search api.
      Key is getting to search api.

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

      @@RezaDorrani When will you release the video? It's not working properly for me. :(

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

      @@ylmazozturk06 Best to hit the bell icon to get notified whenever my new video releases. I have finished my graph video series. Check playlist on graph api on my channel.

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

    Wow wow wow. That was a crazy great video Reza 👏👏👏👏👏

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

    Thank you Reza. It’s seems with the api, I can look into multi column filters that’s is performant friendly!

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

      Yes, you are right and thanks for the appreciation

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

    Super Interesting stuff Raza, I'm gonna use this in my next project. Really helpful and very thoroughly explained.

  • @anilkumar-ml2sl
    @anilkumar-ml2sl Рік тому +1

    well I watched it, but i know when i am going to do it myself, it will be like a mountain to climb,, appreciate your efforts Reza, awesome explanation as always :)

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

      Thanks so much.
      This surely is an advanced level video.

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

    As usual a gem of a video. Thanks a lot Reza.

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

    Thank U Reza, one of the must needed solution for SP connector and as always it is from you 😊

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

    Wow...Thank you so much Reza 😊 Very useful as usual

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

    What a great video, Reza! It really helped me a lot! Thanks!

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

    Amazing Reza, working like a charm! Do you think there is a way by chance to be able to sort the results from A-Z? Or to include a "contains()" to be able to search for parts of words? Anyways, great job!

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

      Most welcome!
      Graph api has plenty of options. Im not sure if these options are available.

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

    thanks Reza great stuff✊.
    Just out of curiosity, is there a way to filter the query results based on 'Created by' so that the users can only see what they have created.

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

      I believe in the search api itself you can add filters. I have not tried it though. Check documentation on search api for details.

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

    Perfect as always Reza. Thanks for all you do.

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

    Awesome! This solves a million issues!

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

    You are helping a lot of us . I salute you .

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

    A dream come true!

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

    Truelly amazing video once again...Thanks Reza for sharing brilliant trick..

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

    Holy Moly! Brilliant video!

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

    Thanks for the perfect method to avoid delegation. I still have questions on the search schema because I'm not able to find the managed properties for the custom columns which I have created. Do you have any idea about it?

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

      You will need to map managed properties to crawled properties for your custom columns. Check documentation on managed properties in SPO.

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

    This is a great video, Reza. Thank you!
    If only PowerApps could do this out-of-the-box instead of forcing people to do so much work...

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

      When selecting data sources like SharePoint, one has to come up with workarounds.
      Dataverse is the native database of the power platform and hence offers maximum flexibility and ease of use.

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

      @@RezaDorrani Ok, let me rephrase "if only PowerApps could do this out-of-the-box" to "if only Microsoft didn't charge extra for Dataverse".
      I work for a not-for-profit wildlife conservation charity. We either spend money on Dataverse or spend money on saving endangered species...

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

      @@chap666ish Ok

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

      @@chap666ish i know microsoft will give some allowances to non-profits, have you already taken advantage of that?

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

      @@caraziegel7652 Thanks, yes I'm aware of that and we do get a preferential rate, fortunately.

  • @simplyd.6042
    @simplyd.6042 6 місяців тому +1

    Thank you very much Reza, your a Godsent! Question though, how long does it take yours to search an item? mine looks like its taking about 11 secs to search. Do you have any suggestion on how to optimize it?

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

      Mine was taking around 2-3 seconds. Data is returned in batches by the api so it should not take that long.

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

    Really cool stuff! Perfectly explained and helpful!

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

    This is perfect! But this still consider the SP Permission right?

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

    I ran into a problem with special characters like ä ö ü. They don't get encoded into base64 properly. I still don't understand why, because they are part of the 256 character ASCII table, but it also doesn't work in online encoders unless you set them to UTF8. However, turns out I don't need to care because SharePoint search converts that to a o u and lowercase anyway as one can see in the API Explorer results. So all you need to do is replace the special characters by the their non-accented counterparts before conversion and everything is fine. Thought I'd leave this here if others run into the same problem. Thanks Reza!

  • @Saf1-rv9by
    @Saf1-rv9by Рік тому +1

    Hello Reza, Great video, very helpful. Tried to do this months ago using powerautomate and SharePoint search rest api but the results were mediocre.

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

      This is a lot faster and performant when compared with trying with power automate.

  • @Learning-Account
    @Learning-Account Рік тому +1

    It would be Great work around, excited 🎉

  • @Mario-jv2dc
    @Mario-jv2dc Рік тому +1

    Amazing work. Thanks, Reza.

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

    Great, will try to use Graph API to link with Sql server table

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

      I would like to know if that works. I have done no work with graph and sql.

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

    I used this in some of my apps, very useful and indeed gamechanger!
    However, I only can call title and other few standard columns. How did you put your list columns in the Managed Property? I tried creating a site column but It doesn't appear in the Managed Properties... It was perfect if I could add my list columns. But it needs to be by site columns, do you have a video on that or something?
    Thank you very much, you have been helping me a lot!

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

      Most welcome!
      I do not have any video references on mapping managed properties. Check documentation for that one.
      I believe there are a standard set of managed properties that are available that you would need to map crawled properties to.

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

    Hi, Thank you for the content(pure Gold 🥇).
    I know the video is a bit old
    But I have a question: this method can work with a LookUp Column in a large SP List(More than 20 000 items)?
    Thak you

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

      Most welcome!
      It uses search api so should work

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

      @@RezaDorrani Thank you for your response. 👍

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

    Amazing ! works like magic !
    One question : can you explain how the "next/prev" buttons work please ? didn't figure this out :)

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

      That was done using a bit of maths based on total results returned and results on page. I have shared entire App - link in video description (member only)

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

      @@RezaDorrani Thanks ! one thing i noticed is that you can't apply more filters on it ? only search ? and the columns must be site columns / refinables right ?

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

      @@adirnagar6940 You can search and filter. Check the documentation.
      Columns can be site and list columns. In my demo the custom columns are list columns but better option is site columns.

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

    Brilliant! This is a game changer!

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

      Yes, as long as office 365 groups connector supports search api.

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

    Thanks Reza for exploring new things

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

    Thanks for the excellent content Reza! I've been trying to figure out a way to use this search for other columns but the title (as your example) and not having success. Any ideas or help to point me to the right documentation to study/ refer to?

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

      Check documentation on graph api search endpoint.

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

    Hi Reza, I implemented this solution about 4 months ago and it has been working great. Then recently, it was not finding records that I new existed. What's odd is that if I open that record in SharePoint and change something and save, within the 15 minutes, it finds the record again. Have you heard of anyone else having this kind of issue? Any ideas on troubleshooting? As always, thanks for all you do for the Power Apps community.

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

      Hey, have not come across or heard about this.

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

    Brilhant!!

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

    It's really usefull! I was trying to query text in particular sharepoint list, but it does not show any result. :(

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

      I have not faced any issues with it so not sure

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

    Awsome Reza you are always my powerapps Guru... One question is how to filter the gallery based on user enter text in the text box in this scenario. is it the same way or any other approach for it as we are using .. do we need to enter on change event of the text box. Can you please let us know

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

      Most welcome.
      I have done many videos on gallery filtering. I would recommend checking those.

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

      @@RezaDorrani this is a little bit tricky. however i tried this in gallery items property IT WORKS now .Filter(Table(Index(Table(Index(Table(Searchresults.value),1).Value.hitsContainers),1).Value.hits),StartsWith(Value.resource.fields.title,TextInput1.Text)). However ,why my gallery count shows only 25 items and my Total items shows 41367. When i click on button it shows the item in the gallery? any suggestion where i can get the item with out button click.

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

      @@santukondapally I cannot guess here on chat by looking at a formula. I would have to try this exact scenario to know more.

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

    Thank you so much @reza for this amazing tutorial.

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

    Long awaited.. thanx Reza...

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

    Amazing as usual, Sir!

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

    It is really a game changer.
    But I am having a minor doubt is this Search API respects item level permissions for SharePoint lists?

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

      Yes, it will respect all permissions

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

    thanks Reza!!
    About search query, where can I learn to write the custom query?
    About flelds, do I need create those fileds in sharepoint admin and re-index it to use the query?

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

      Documentation would be the best resource.
      Managed properties is the key. You need to map crawled properties to managed properties. Indexing of search is automatically done in SharePoint Online. Admin does not control the crawl schedule.

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

    Hi Reza, great guide! I'm just having a bit of challenge getting a specific field (custom field which is a calculated value). If I try to list the fields (( GET /sites/{site-id}/lists/{list-id}/fields )) and use the name of that Field on the Fields part of query it is not returning a result. Can only see the title, author, date created etc.

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

      I have not tried with calculated columns hence not sure.

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

    Wow.. amazing video as usual

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

    Hi Reza, amazing video. Have you done any video to create custom layout for pnp search results webpart in SharePoint?

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

      I have done no work with PnP search.

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

    This looks amazing, thank you for your hard work in figuring all this out! :)
    For now, this is quite a bit beyond my Power Apps skill level, but we may have need of it soon.
    This example focuses on searching a big Sharepoint List, but I'm assuming searching a big Sharepoint Document Library wouldn't be too different?

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

      Search document libraries would be similar. I have a video lined up on that as well.
      Video description has link to download sample solution (for members only)

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

    Wow, just wow! That looks amazing. I have a few Share points that could use this (although I'm developing on Data verse going forward).
    I've not really used the Graph API, so What other possibilities could this open up?

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

      Thank You so much!
      This opens up a lot of possibilities based on the endpoints supported by groups connector. I have covered the endpoints in this video 👉 ua-cam.com/video/ZzWdXiMzA-c/v-deo.html

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

    Wow this is fantastic, thank you so much Reza! If I would like the users to not see the search button and the gallery items to appear as the text is typed in the search box, could you please advise on this? Thanks!

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

      On change of search text box, use Select function to call the button. You can hide the button on screen.

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

      @@RezaDorrani perfect, thank you so much!!

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

    Hi Reza, great vid! Exactly what I am looking for. I think I followed all your steps just fine, but the Monitor and the button for searching is giving me an error: "Error on Office365-Groups.HttpRequest: Contract failure: Invalid data uri format" I think it has something to do with the PowerApps syntax being different depending on the language/region it is set to (Germany for me). Do you know of tools that can "translate" it? Thanks!

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

      Not sure about the issue or the fix for language/region.
      I have not come across this issue and hence not sure what the cause could be.
      I recommend posting your issue on forums at powerusers.microsoft.com

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

    This video shows how incompetent Microsoft to facilitate our needs
    I can see that Microsoft would like to sell Dataverse license.
    Props to Reza who find out this workaround!
    And we can see the performance is not that bad searching 10.000 records

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

      FYI - I work at Microsoft and ❤️ every aspect of what the team does. They work day in and day out to put a single feature out. I know how hard each member works to deliver. Dataverse is not only about searching. It is an entire service.
      However, since I had so many folks asking for a breakthrough in SharePoint search. Here is my video showcasing its possibilities. Thanks for watching and liking it.

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

      ​@@RezaDorrani I'm sorry if I offense you, I love your videos and learned many things from your videos
      but every time I sees your video, it always make me wonder why Microsoft didn't give us easy method to achieve something simple =)

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

      @@twom1x No worries. I respect all opinions and comments. I have been getting quite a few messages on how this should be done in product. This was a very recent find. Im sure with time these features will make their way to the product.

  • @user-xc5xe1qx4t
    @user-xc5xe1qx4t 5 місяців тому +1

    very well explained !

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

    great!
    how to do the same to search in dataverse table?

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

      Search in Dataverse is a delegable query.
      ua-cam.com/video/2XUKvXNfsIc/v-deo.htmlsi=kGNecv96Cu2i4etZ

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

    Amazing ! Thank you sooo much! But i have problem.. it doesn't return me the fields values from my created SP columns :(

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

      Read more managed properties. Check documentation for search.

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

    Hey Reza, awesome video as always. I have a question: must the managed properties and search schema be created by the SharePoint tenant? I am the site administrator but not the tenant and the graph API cannot find my custom added managed properties. Thanks!

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

      It can be done by site admin as well. There are many existing managed properties (dummy ones) created in site by default that can be used to map crawled properties.

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

    This is great Reza. I wan to ask, Can we also do filtering and sorting the normal way or would there need to be some changes using this graph method?

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

      Filtering and sorting options are available. Check graph api documentation.

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

    This is great. Thx Reza.

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

    I'll stick to Dataverse 🤯 - Thanks for sharing Reza

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

    Excellent and really useful video Reza. Could I ask though what code is on the NEXT button and the DROPDOWN please? I've recreated the app, but it's just missing those steps, so that I can show all the records.. Thanks.

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

      Most welcome!
      I have made entire app available for download to channel members (silver).
      I will be sharing complete apps and flows with them.
      I cannot share the code as its a member only feature but idea of next and previous button is to check if more record exists and accordingly update the size and from properties.

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

    Hi Reza, I really enjoy your videos, keep them coming! I just re-created this search feature on my canvas app for reviewing service approvals. I'm having trouble with a couple settings. First, my gallery doesn't show until I try and search for something; What am I doing wrong? Also, what happens if you have lookup columns within the gallery? I can't get those to show up when I try to setup my gallery. Any insight would be greatly appreciated. Thanks

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

      Thanks so much!
      In the video I explain how to show all results somewhere in the end of the video. Video description has link to download sample app (members only) wherein you can check all the logic and more.
      This feature uses search so the key is managed properties. Check documentation on search managed properties.

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

    This is perfect! I was just wandering if this can be applied to Excel as a data source?
    We have some very specific Power App which is more like report, and the source for it is one quite complex calculation in Excel, so it would be to complicated to upload each time to SharePoint list. Since Power App is only reading data from it it seems like logical to keep using Excel as a data source. Of course, currently we have the delagation issue. What do you think, could this method be a good solution for this kind of scenario?

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

      The technique showcased in video uses the search api which only works with SharePoint and OneDrive.
      I do not have any workarounds for delegation with excel + excel is surely not a good data source of choice with power apps specially when dealing with large excel files.

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

    Great video Reza. Even though I turned on the Untyped objects setting in my app, the SearchResults variable is still being returned as Boolean. I check the monitor and I can see the results being returned, with "responseType":"pabinary" in the JSON. Any thoughts? Thanks.

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

      Check video comments for steps. I have responded to others with the steps needed for existing apps.

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

      @@RezaDorrani Got it. Thanks.

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

    Hi Reza
    Many thanks for your efforts👏🙏
    I had an issue in getting the field values, I tried with different field names, but its not returning the field values in response.😞
    can you please give some details on getting fields values.
    Thank you.

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

      I have not come across this issue & hence not sure what the issue you are facing is related to. Please note these are managed properties and not column names. I have mentioned this in video. Best to read documentation on search managed properties for sharepoint online.