Create Result Source with PowerShell?
-
04-10-2020 - |
Pergunta
Is it possible to do something like in this tutorial programmatically or in powershell?
- Create result source with some custom search query
- Create new page
- Add search result webpart to page in step 2, and configure it, it needs to use the result source created in step 1
- Extend the search center page with my custom result source. Like: Everything, people, conversation, videos and myCustomResultSource
Solução
- Create result source with some custom search query
- Create new page
- Add search result webpart to page in step 2, and configure it, it
needs to use the result source created in step 1
- Adding Web part on pages using PowerShell script
- Important note: In 99.9% of the cases, you'd have to pre-config the webpart and export it to insert it on a page via Powershell.
- Configure the page created in step 2
- Configure the page how?
Licenciado em: CC-BY-SA com atribuição
Não afiliado a sharepoint.stackexchange