Expert SharePoint Admins Use PnP Modern Search. Here's Why You Should Too.
Жүктеу.....
Пікірлер: 34
@stevecorey365 Жыл бұрын
Make sure to watch part 2 where filters and verticals are covered! kzread.info/dash/bejne/oaOKypqNdZW3YLw.html
@MaartenBoonen Жыл бұрын
Great to see some more content on PnP search coming out. I would love to see more on customizing the search results like cards with custom managed properties in the slots that not exist and make them pretty with CSS. 😊 Thanks!
@stevecorey365
Жыл бұрын
Thanks for the feedback!
@prokristanator5086
11 күн бұрын
Seconding this! Non-IT professional here and except for the CSS (though I’m not opposed to learning about it) this is exactly the topic I’ve been searching for.
@p.treyben55675 ай бұрын
totally new to this. Fell confident already by the encouragement!
@stevecorey365
5 ай бұрын
Thank you so much for this comment! You made my day. I appreciate your positivity, and wish you the best in the world. Have a wonderful day, and I appreciate you more than you know!
@buzz6129 Жыл бұрын
It definitely is the future, looking forward to your next video on PNP search.
@stevecorey365
Жыл бұрын
Glad you liked it! I'll have the next video out soon!
@mensrea2686 Жыл бұрын
Excellent video buddy! Vertical search webpart is still confusing to me! will you be doing an episod about it?
@stevecorey365
Жыл бұрын
Absolutely! I'm in the middle of editing it right now. Expect to see it go live soon. Thanks so much for the feedback!
@user-zo6xu9zb7f5 ай бұрын
how can i show mobilephone?
@stevecorey365
5 ай бұрын
You can show any field you'd like as long as you've mapped the list/library column to a managed property, and configure PnP Modern Search to show that managed property (i.e. your mobilephone field)
@shinshae788212 күн бұрын
Hi Steve, Is it possible to rearrange the components in card layout? For eg: i need to move location tag to bottom right corner. Also i wish to completely remove the upper part of the card(where file icon nd preview images are shown) . When i removed the icon nd preview the space still remained the same
@stevecorey365
12 күн бұрын
Great question, and one I get asked a lot. The card layout is hard-coded to have a certain "look" to it. There are specific locations within that card where you can place data. While you can move data around from field to field, you can't move the fields themselves to other locations in the card. It's possible to use CSS to relocate fields, but that's not a great option. Using a custom template would be the best way, creating the HTML and CSS yourself to make a unique card layout.
@shinshae7882
12 күн бұрын
@stevecorey365 Thank you for your reply, I am new to this pnp and coding . Here custom template means , using spfx we need to create new template and deploy? Have you done any video on that? So that I can refer.
@stevecorey365
12 күн бұрын
@@shinshae7882 No, PnP Modern Search custom templates are just text files with Handlebars markup. You can extend the whole product with SPFx, but that's not needed just for a custom template. I don't have custom templates covered extensively, but I do have some template customization in my PnP playlist.
@shinshae7882
12 күн бұрын
@stevecorey365 Thank you so much, I will refer your playlist.
@anenkris5 ай бұрын
I built the people search but the result part does not return all people. Can not figure out was is wrong.
@stevecorey365
5 ай бұрын
There's probably something about your filter that's excluding results. I'd start there.
@Wito777 Жыл бұрын
Thank you very much! :) Currently, I'm trying to filter the people results to show only those who have started in the last 3 months. This way, they can receive a warm welcome on the landing page. Do you have an idea how the search query would look like to accomplish this? Greeting, Tobias
@stevecorey365
Жыл бұрын
Unfortunately you can't filter like this with a date range. What I've done in the past is just sort the results by hire date (mapped to a managed prop, of course). Show the newest at the top, and limit it to 10-15 records depending on how fast your organization hires new staff.
@KasperBoLarsen
8 ай бұрын
@@stevecorey365 In my tenant SPS-Hiredate is mapped to RefinableDate01, so this query should be a pretty close approx , I guess : RefinableDate01 > {Today -91}
@shubhamdixit37872 ай бұрын
Does it work for guest users
@stevecorey365
Ай бұрын
It does, with proper permissions. Here's an article that gives more detail - laurakokkarinen.com/sharepoint-online-guest-user-troubles-and-how-to-get-past-them/#custom-share-point-apps-dont-load-for-guest-users-by-default
@ITSNZC11 ай бұрын
great video.. is there a way to filter out disabled users or user who don't have managers name against their profiles. Thanks
@stevecorey365
11 ай бұрын
Thanks so much! You can filter disabled users by modifying the KQL to target the SPS-HideFromAddressLists managed property. Something like "-SPS-HideFromAddressLists:1", maybe? The minus sign in front means those results should be excluded. The manager part of your question is much more difficult. If the data isn't there in the property, there's no way to filter based on KQL. You'd have to solve this a different way such as inside the template using Handlebars markup.
@ITSNZC
11 ай бұрын
@@stevecorey365 Thank you Steve
@gauravk1987 Жыл бұрын
Hi Steve, is there a way to search a specific site or document library in search results. For example I am using a content type hub choice column in Search filter webpart but it shows all the choices from all the sites across SharePoint where that column is being used. I would only like to see the choices which were defined for the particular site or library for that column which is inherited from Content type hub. Thanks in advance.
@stevecorey365
Жыл бұрын
No problem! You can use the Path managed property to limit results to a particular site or library. I'd recommend something like this in your query: Path:yoursite.sharepoint.com/sites/yourcustomsite/library*
@gauravk1987
Жыл бұрын
@Steve Corey - Bite Size Productivity thanks :) , also I was struggling with vertices a bit. Is there any resource you can direct me to, which shows examples of how to use verticles in pnp web part. Thanks in advance.
@stevecorey365
Жыл бұрын
Yes, that's covered in part 2 of my PnP Modern Search playlist. Here's a link so you can find the other videos: kzread.info/head/PLVOp_3uXKIkJbtfg_7HkNYmQZKy4h0tg5
@patodif
10 ай бұрын
@@stevecorey365 I have the same idea, where is this option?
Пікірлер: 34
Make sure to watch part 2 where filters and verticals are covered! kzread.info/dash/bejne/oaOKypqNdZW3YLw.html
Great to see some more content on PnP search coming out. I would love to see more on customizing the search results like cards with custom managed properties in the slots that not exist and make them pretty with CSS. 😊 Thanks!
@stevecorey365
Жыл бұрын
Thanks for the feedback!
@prokristanator5086
11 күн бұрын
Seconding this! Non-IT professional here and except for the CSS (though I’m not opposed to learning about it) this is exactly the topic I’ve been searching for.
totally new to this. Fell confident already by the encouragement!
@stevecorey365
5 ай бұрын
Thank you so much for this comment! You made my day. I appreciate your positivity, and wish you the best in the world. Have a wonderful day, and I appreciate you more than you know!
It definitely is the future, looking forward to your next video on PNP search.
@stevecorey365
Жыл бұрын
Glad you liked it! I'll have the next video out soon!
Excellent video buddy! Vertical search webpart is still confusing to me! will you be doing an episod about it?
@stevecorey365
Жыл бұрын
Absolutely! I'm in the middle of editing it right now. Expect to see it go live soon. Thanks so much for the feedback!
how can i show mobilephone?
@stevecorey365
5 ай бұрын
You can show any field you'd like as long as you've mapped the list/library column to a managed property, and configure PnP Modern Search to show that managed property (i.e. your mobilephone field)
Hi Steve, Is it possible to rearrange the components in card layout? For eg: i need to move location tag to bottom right corner. Also i wish to completely remove the upper part of the card(where file icon nd preview images are shown) . When i removed the icon nd preview the space still remained the same
@stevecorey365
12 күн бұрын
Great question, and one I get asked a lot. The card layout is hard-coded to have a certain "look" to it. There are specific locations within that card where you can place data. While you can move data around from field to field, you can't move the fields themselves to other locations in the card. It's possible to use CSS to relocate fields, but that's not a great option. Using a custom template would be the best way, creating the HTML and CSS yourself to make a unique card layout.
@shinshae7882
12 күн бұрын
@stevecorey365 Thank you for your reply, I am new to this pnp and coding . Here custom template means , using spfx we need to create new template and deploy? Have you done any video on that? So that I can refer.
@stevecorey365
12 күн бұрын
@@shinshae7882 No, PnP Modern Search custom templates are just text files with Handlebars markup. You can extend the whole product with SPFx, but that's not needed just for a custom template. I don't have custom templates covered extensively, but I do have some template customization in my PnP playlist.
@shinshae7882
12 күн бұрын
@stevecorey365 Thank you so much, I will refer your playlist.
I built the people search but the result part does not return all people. Can not figure out was is wrong.
@stevecorey365
5 ай бұрын
There's probably something about your filter that's excluding results. I'd start there.
Thank you very much! :) Currently, I'm trying to filter the people results to show only those who have started in the last 3 months. This way, they can receive a warm welcome on the landing page. Do you have an idea how the search query would look like to accomplish this? Greeting, Tobias
@stevecorey365
Жыл бұрын
Unfortunately you can't filter like this with a date range. What I've done in the past is just sort the results by hire date (mapped to a managed prop, of course). Show the newest at the top, and limit it to 10-15 records depending on how fast your organization hires new staff.
@KasperBoLarsen
8 ай бұрын
@@stevecorey365 In my tenant SPS-Hiredate is mapped to RefinableDate01, so this query should be a pretty close approx , I guess : RefinableDate01 > {Today -91}
Does it work for guest users
@stevecorey365
Ай бұрын
It does, with proper permissions. Here's an article that gives more detail - laurakokkarinen.com/sharepoint-online-guest-user-troubles-and-how-to-get-past-them/#custom-share-point-apps-dont-load-for-guest-users-by-default
great video.. is there a way to filter out disabled users or user who don't have managers name against their profiles. Thanks
@stevecorey365
11 ай бұрын
Thanks so much! You can filter disabled users by modifying the KQL to target the SPS-HideFromAddressLists managed property. Something like "-SPS-HideFromAddressLists:1", maybe? The minus sign in front means those results should be excluded. The manager part of your question is much more difficult. If the data isn't there in the property, there's no way to filter based on KQL. You'd have to solve this a different way such as inside the template using Handlebars markup.
@ITSNZC
11 ай бұрын
@@stevecorey365 Thank you Steve
Hi Steve, is there a way to search a specific site or document library in search results. For example I am using a content type hub choice column in Search filter webpart but it shows all the choices from all the sites across SharePoint where that column is being used. I would only like to see the choices which were defined for the particular site or library for that column which is inherited from Content type hub. Thanks in advance.
@stevecorey365
Жыл бұрын
No problem! You can use the Path managed property to limit results to a particular site or library. I'd recommend something like this in your query: Path:yoursite.sharepoint.com/sites/yourcustomsite/library*
@gauravk1987
Жыл бұрын
@Steve Corey - Bite Size Productivity thanks :) , also I was struggling with vertices a bit. Is there any resource you can direct me to, which shows examples of how to use verticles in pnp web part. Thanks in advance.
@stevecorey365
Жыл бұрын
Yes, that's covered in part 2 of my PnP Modern Search playlist. Here's a link so you can find the other videos: kzread.info/head/PLVOp_3uXKIkJbtfg_7HkNYmQZKy4h0tg5
@patodif
10 ай бұрын
@@stevecorey365 I have the same idea, where is this option?
@stevecorey365
10 ай бұрын
Which option are you referring to?