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Ай бұрын
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Ай бұрын
@@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Ай бұрын
@@marcmurray179 AWESOME!
@PowerAppsEdu6 күн бұрын
@@marcmurray179 how long did it take to rebuilt the index in your case?
@f33rn44nd005 ай бұрын
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)
@RezaDorrani5 ай бұрын
Thanks for sharing
@juancarlosvallecillo45334 ай бұрын
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?
@f33rn44nd004 ай бұрын
@@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
@patrickcook22963 ай бұрын
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.
@f33rn44nd003 ай бұрын
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*)"
@marcmurray179Ай бұрын
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Ай бұрын
You’re most welcome! There is so much that can be done with search APIs.
@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 👏👏
@RezaDorrani Жыл бұрын
Glad it was helpful!
@bernardnguyen5382 Жыл бұрын
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 Жыл бұрын
Great to hear! Thanks so much for watching and appreciating the videos.
@suebrower2275 Жыл бұрын
Another game changing tutorial! 👏
@RezaDorrani Жыл бұрын
Sadly, video start is not great from a viewership standpoint. Hoping more folks see the value.
@smisra Жыл бұрын
Exceptionally neatly crafted solution. SharePoint API is getting another level with Reza's creativity
@RezaDorrani Жыл бұрын
Thank You
@Chemical.Recolution Жыл бұрын
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 Жыл бұрын
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 👉 kzfaq.infojoin
@prasannagoud5032 Жыл бұрын
Great video Reza! We can achieve SharePoint global search functionality with these APIs
@RezaDorrani Жыл бұрын
Yes we can
@yayak.9726 Жыл бұрын
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 Жыл бұрын
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
@oluwatobipaul6171 Жыл бұрын
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 Жыл бұрын
Thanks for watching. If ever you find a use case, let me know how it went.
@antoni865910 ай бұрын
well done Rezza, excellent tutorial!
@RezaDorrani10 ай бұрын
Thanks
@DroneEyes Жыл бұрын
Great demo ... you rock Reza!
@RezaDorrani Жыл бұрын
Thanks so much
@0987654321rb Жыл бұрын
This is just awesome Reza Sir. Thanks a ton.
@RezaDorrani Жыл бұрын
You are most welcome
@MrSantoshKm Жыл бұрын
Great solution 👍, thank you so much for this video. Very much appreciated 😊
@RezaDorrani Жыл бұрын
You're most welcome!
@MatthewMurray-es2lc3 ай бұрын
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?
@RezaDorrani3 ай бұрын
Most welcome! I have not explored option of substring searches to know if that is possible.
@silverblabe215 Жыл бұрын
Brillant content, as always !
@RezaDorrani Жыл бұрын
Much appreciated!
@CloudhoundCoUk Жыл бұрын
As always excellent. Thank you.
@RezaDorrani Жыл бұрын
Most welcome
@geralddahl9159 Жыл бұрын
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 Жыл бұрын
There is no delegation challenge here as it uses the SharePoint Search API.
@allison73246 ай бұрын
GOAT! Thank you for another incredible tutorial!
@RezaDorrani6 ай бұрын
More to come!
@kingmrrah44906 ай бұрын
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
@RezaDorrani6 ай бұрын
Gallery is showcasing paginated results. Technique used can work with large data.
@kingmrrah44906 ай бұрын
@@RezaDorrani thank you, 😀
@OsmanChaudry Жыл бұрын
This is great! def testing it out!
@RezaDorrani Жыл бұрын
👍
@rammanepalli2364 Жыл бұрын
Great video. Thanks for sharing
@RezaDorrani Жыл бұрын
Thanks for watching!
@kelvinware8215 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@RezaDorrani Thanks. I'll see if I can work it out.
@bryanmoore4574 Жыл бұрын
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 Жыл бұрын
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.
@krishnagupta818 ай бұрын
One of the Good content so far . I have one query how to get file size in an effective manner.
@RezaDorrani8 ай бұрын
Thanks. The file object json response from search query would surely have size also in it.
@robi62000 Жыл бұрын
Thank you Reza, a great tutorial with a brillant content 🙂👏
@RezaDorrani Жыл бұрын
Glad it was helpful!
@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 Жыл бұрын
@@robi62000 AI builder has a model for that called text extraction I believe. It does require a premium license + AI builder capacity
@pkp044 Жыл бұрын
Mind blowing. Thank you!
@RezaDorrani Жыл бұрын
Most welcome
@RezaDorrani Жыл бұрын
Wow, thanks!
@jeanpierreragequit17269 ай бұрын
Impressive ! Great job !
@RezaDorrani9 ай бұрын
Thank you! Cheers!
@Maynardjones1006 ай бұрын
Amazing! just the user case I needed, I will try soon Question, how did you add the Extracted text column to the sharepoint list?
@RezaDorrani6 ай бұрын
Extracted Text column was added by SharePoint itself. I did not do anything to add it.
@Maynardjones1006 ай бұрын
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
@RezaDorrani6 ай бұрын
@@Maynardjones100 Im not sure what I did to get it.
@jon_kimin Жыл бұрын
Love your content! Question: any advantage to searching document libraries via this method (REST + Power Automate) vs. Graph?
@RezaDorrani Жыл бұрын
License :)
@jon_kimin Жыл бұрын
@@RezaDorrani ah, of course, the ever-important licensing consideration 😅. Thanks for the response!
@tunjivictor9279 Жыл бұрын
Thank you very much Reza for this video.
@RezaDorrani Жыл бұрын
Most welcome
@tunjivictor927911 ай бұрын
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.
@RezaDorrani11 ай бұрын
@@tunjivictor9279 Read about managed properties in SharePoint search.
@richardgould57652 ай бұрын
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?
@RezaDorrani2 ай бұрын
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.
@richardgould57652 ай бұрын
@@RezaDorrani thank you for your quick response. I will have to leave it as a launched document instead of displaying in my viewers.
@tejuk66576 ай бұрын
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?
@RezaDorrani6 ай бұрын
Most welcome! I have not experienced this issue hence not sure.
@user-jj5nc4ig5p Жыл бұрын
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 Жыл бұрын
I am not aware of an option to do that.
@user2stx3 ай бұрын
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..
@RezaDorrani3 ай бұрын
Loading data in batches is recommended due to performance. User can always paginated through the records
@user2stx3 ай бұрын
@@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!
@generice3398 Жыл бұрын
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 Жыл бұрын
Those are emojis. Use Windows+. to launch the emoji keyboard.
@generice3398 Жыл бұрын
@@RezaDorrani I knew it had to be something simple. What a game changer. Thank you!
@Learnpowerplatform Жыл бұрын
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 Жыл бұрын
Yes, it should work for pages as well. Im not sure about text within web parts.
@veraenderung Жыл бұрын
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 Жыл бұрын
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.
@lihtnes29 Жыл бұрын
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 Жыл бұрын
Possible. You can include searchtext as example: ContentType:X and add additional filters. Check documentation linked in video description.
@hokemspitter Жыл бұрын
Nice, thank you. Quick question, I see you added content class:STS_ListItem_DocumentLibrary. Is that valid for all OnLine Libraries?
@RezaDorrani Жыл бұрын
Yes it is.
@ramyagandhi5251 Жыл бұрын
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 Жыл бұрын
I do not follow or track job portals or hiring details.
@raj7sam Жыл бұрын
It's super useful usecase
@RezaDorrani Жыл бұрын
Glad to hear that! Thanks
@ramyagandhi5251 Жыл бұрын
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 Жыл бұрын
Hi Ramya, this is a KZfaq 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 Жыл бұрын
@@RezaDorrani okay
@RebeccaWestling Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
Thanks so much, I'll give that a shot!
@unetseulement Жыл бұрын
Are you able to use the “extracted text” column directly within powerapps instead of calling the rest api? Since its just another column.
@RezaDorrani Жыл бұрын
Give it a try. It should be. This video is related to searching and hence I used the search API.
@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 Жыл бұрын
@@unetseulement Search is not a delegable function. It would work for lists under 2000 items but not beyond.
@unetseulement Жыл бұрын
@@RezaDorrani ahh right.
@benjaminjones5544 Жыл бұрын
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 Жыл бұрын
I have no idea if its a region centric feature. I simply noticed it while preparing for the video demo.
@imotumbokanaka4157 Жыл бұрын
Hi Reza ,great work , i dont have extracted text column in my Sharepoint online, what must i do to get that column
@RezaDorrani Жыл бұрын
You will have to add that column to your view. I did nothing to add that column.
@rahulkoul9110 Жыл бұрын
@@RezaDorrani thanks much for the video. Super like
@RezaDorrani Жыл бұрын
@@rahulkoul9110 I only noticed it when preparing for the video. I have no clue either.
@TheSmithPR Жыл бұрын
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 Жыл бұрын
Check rest api documentation linked in video. There is a sort option as well.
@nilsfragoso Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@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 Жыл бұрын
@@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.
@marcovandermey119211 ай бұрын
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
@RezaDorrani11 ай бұрын
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.
@kencwallace11 ай бұрын
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.
@RezaDorrani11 ай бұрын
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
@stephencurry7561 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@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 Жыл бұрын
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/
@Karen-lw5xm Жыл бұрын
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 Жыл бұрын
You would need to be a site admin to get those. The ones shown in video are all standard schema names.
@ajking7905 Жыл бұрын
Great video. Can this functionality also work on sharepoint list attachments?
@RezaDorrani Жыл бұрын
I did a video recently on searching lists. That also searches in list attachments
@padianilyadav904 Жыл бұрын
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 Жыл бұрын
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
@siddharthafoster1 Жыл бұрын
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 Жыл бұрын
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.
@karra11110 ай бұрын
Great tutorial Reza..could you please enable download option as i just subscribed to membership today and i cant access the app.
@RezaDorrani10 ай бұрын
Thanks. I covered memberships and download options in detail here kzfaq.infooSPw6WJdPoA?si=hZXt59g3XsbL-kS9
@simonsoltanian4035 Жыл бұрын
Could you please make a video on combining 2 or 3 apps in Power Apps?
@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
@pirugarden1129 Жыл бұрын
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 Жыл бұрын
May be I showed that in one of my approval videos. You can check the approval playlist.
@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Ай бұрын
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)
@aysanhaghani52713 ай бұрын
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?
@RezaDorrani3 ай бұрын
Yes
@harrys720114 күн бұрын
Hi, thank you for the tutorial. I have a question where let’s say I have 3 files in doc library with item level permissions and person 1 see 1st file, person 2 see 2nd file and person 3 see 3rd file but if power automate flow is running under my connection so will everyone see their own file or my file?
@RezaDorrani14 күн бұрын
Flow called from power apps runs under context of user running the App and hence security will be respected.
@juancarloscruz8Ай бұрын
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Ай бұрын
No idea as I have not experienced that issue.
@juancarloscruz8Ай бұрын
@@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Ай бұрын
@@juancarloscruz8 I believe search api itself has options to sort. Check documentation.
@WaldoSchobben-qf9sh2 ай бұрын
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?
@RezaDorrani2 ай бұрын
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-qf9sh2 ай бұрын
@@RezaDorrani Does this mean that there is no way to filter the search result by using checkboxes or comboboxes?
@RezaDorrani2 ай бұрын
@@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.
@user-hx9hl9dm5l7 ай бұрын
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.
@RezaDorrani7 ай бұрын
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-ch2ws1vy7s Жыл бұрын
Thank you.
@RezaDorrani Жыл бұрын
You're welcome!
@padianilyadav904 Жыл бұрын
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 Жыл бұрын
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.
@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 Жыл бұрын
I do not follow career paths. I am a content creator and share videos on power platform.
@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 Жыл бұрын
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
@sololay38615 ай бұрын
That’s great. How can I show the content and highlights it in the result next to the pdf preview?
@RezaDorrani5 ай бұрын
Thanks! You mean the actual file content? I have not tried that so not sure.
@user-ie8fl7be1u Жыл бұрын
thank you rezza, you a saviour
@RezaDorrani Жыл бұрын
You’re most welcome
@mdkhizerhayat45897 ай бұрын
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.
@RezaDorrani7 ай бұрын
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.
@mdkhizerhayat45897 ай бұрын
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
@RezaDorrani7 ай бұрын
@@mdkhizerhayat4589 oh ok
@franknielsen32196 ай бұрын
Can this be done with a lookup column also? Impressive video BTW
@RezaDorrani6 ай бұрын
Thanks! Should work with lookup also. Key is managed properties.
@franknielsen32196 ай бұрын
@@RezaDorrani THX, I have set up the connected the lookup field to a managed property, but are struggeling with finding the right "Value.Key = "???". Have triet different approches but have no lusk in getting it shown in the gallery other than the title, author and so on. I get no error, but just a blank field 😐😐
@RezaDorrani6 ай бұрын
@@franknielsen3219 Not sure about that
@SraddhaB-t2q22 күн бұрын
Hello Reza, I am unable to get the result in the variable. the latest version of power automate does not allow to write the expression, it is somehow missing and i have written below values while getting the result in parameter kindly guide if i am doing any mistake any where i have tried with string and without as well at both level i am not getting String(body('Send_an_HTTP_request_to_SharePoint')?['PrimaryQueryResult']?['RelevantResults']?['TotalRows']) String(body('Send_an_HTTP_request_to_SharePoint')?['PrimaryQueryResult']?['RelevantResults']?['RowCount'])
@RezaDorrani22 күн бұрын
Video description has link to download entire solution (members only - check description for details) I would suggest giving that a try. As for the issue mentioned, I have not experienced the mentioned issue and hence not sure what the cause for it could be. I will recommend posting your issue on forums in case someone has experienced something similar powerusers.microsoft.com
@user-pp2xn6vp8s6 ай бұрын
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.
@RezaDorrani6 ай бұрын
I cannot know the reason without looking at the security setup, etc.
@user-pp2xn6vp8s6 ай бұрын
@@RezaDorrani is there a way to email you about the issue or contact you in any way.
@RezaDorrani6 ай бұрын
I do not offer 1:1 support. Best place to post issues is the forums at powerusers.microsoft.com/
@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 Жыл бұрын
Pdf editing is not supported with the api. It only supports word ppt and excel.
@josephmachado50010 ай бұрын
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?
@RezaDorrani10 ай бұрын
What time in video was that shown?
@josephmachado50010 ай бұрын
@@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.
@RezaDorrani10 ай бұрын
@@josephmachado500 Can you plz comment on that video and also share the time if possible
@user-pp2xn6vp8s7 ай бұрын
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?
@RezaDorrani7 ай бұрын
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-pp2xn6vp8s7 ай бұрын
@@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.
@RezaDorrani7 ай бұрын
@@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.
@mumialpi10 ай бұрын
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?
@RezaDorrani10 ай бұрын
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
@thetrain1919 Жыл бұрын
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 Жыл бұрын
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
@SteveAshallАй бұрын
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Ай бұрын
Graph should have that option. Not something I have explored though.
@ta2dwezАй бұрын
How are you displaying non pdfs in the pdf viewer, i used your other video but iI cant replicate it using the LookUp(Table(ThisItem.Value.Cells),ThisRecord.Value.Key = "Path").Value.Value I know it needs to change due to being from the Gallery but i cannot figure it out. Any help would be greatly appreciated. Keep up the great videos
@RezaDorraniАй бұрын
Video description has details on link to download entire solution (members only - check description for details)
@mspowerassist9 ай бұрын
@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?
@RezaDorrani9 ай бұрын
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.
@mspowerassist9 ай бұрын
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.
@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 Жыл бұрын
I cannot know without looking at your scenario, search configuration etc. I have not come across this issue hence not sure.
@padianilyadav904 Жыл бұрын
Hi reza in my date picker i want to get date format as 7/28/2023(mm/dd/yyyy) to 28/07/2023 (dd/mm/yyyy)
@RezaDorrani Жыл бұрын
I recommend posting queries/issues on forums at powerusers.microsoft.com
@generice3398 Жыл бұрын
One other question, did you get the Library Name somehow from the "path" property? If so, which method?
@RezaDorrani Жыл бұрын
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)
@jamc417 ай бұрын
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?
@RezaDorrani7 ай бұрын
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-pp2xn6vp8s6 ай бұрын
@jamc41 did you get solution for your mentioned issue? I am also facing the same issue
@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 Жыл бұрын
I have not come across this issue. I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com
@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...
@RezaDorrani Жыл бұрын
I have no clue about Power Pages
@dhirajpatil348111 ай бұрын
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.
@RezaDorrani11 ай бұрын
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
@kastenivkimbo5347 Жыл бұрын
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 Жыл бұрын
A grid? This video is not on grid controls. I recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com
@edisonokhueleigbe40637 ай бұрын
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.
@RezaDorrani7 ай бұрын
Search will return multiple results. You can simply present only 1 row of information.
@towsifahmed6580 Жыл бұрын
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 Жыл бұрын
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
@lefty23767 ай бұрын
Hey there, How did you hide the next button, I've managed to hide the back button but cannot figure out the code for the next button?
@RezaDorrani7 ай бұрын
Api returns total count, checked to see if it is last set of data. I dont have the exact code handy though.
@BananaJonesJr4 ай бұрын
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).
@RezaDorrani4 ай бұрын
Should work with lists as well. I am not aware of any issues with it or limitations with DoD
@saiprakashyadav59119 ай бұрын
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?
@RezaDorrani9 ай бұрын
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.
@patrickcook22963 ай бұрын
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.
@RezaDorrani3 ай бұрын
Video description has link to download entire solution (check description for details)
@patrickcook22963 ай бұрын
@@RezaDorrani Thank you. I will sign up for a membership so that I can download.
@RezaDorrani3 ай бұрын
@@patrickcook2296 Message me in community tab where link was shared in case it got disabled. I will re-open it for you.
@patrickcook22963 ай бұрын
@@RezaDorrani Thank you so much. I just messaged you in the community tab.
@kelvinware8215 Жыл бұрын
Hi Reza. Great video. I've just joined as a Silver member. Is there still a link to the download for this app?
@RezaDorrani Жыл бұрын
Go to Community Tab and check the posts. There should be a link for this video. All links are active for 90 days.
@kelvinware8215 Жыл бұрын
Took me a while, but I found it.
@RezaDorrani Жыл бұрын
@@kelvinware8215 As you can see I am super active on Members Community Board 😊
@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 Жыл бұрын
You can always pass source info from power app to flow.