简体   繁体   中英

Searchable FAQ on a Sharepoint

I created a FAQ page on the MS Sharepoint. I want to group the questions into some sections. Is there any possibility to make this page searchable and add a "search" box? So that user can type in a keyword and find related question/answer.

Screenshot

There is no "search box" in the "Add a new web part" list.

You would need custom code.

The easiest way to do what you want is to add headings to each FAQ and then add a bunch of buttons at the top of your page which link to the headings.

There are multiple pre-built FAQ apps you can use though..

https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-faqapp

https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-doccard-faq

https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-accordion-dynamic-section

Or you can use PNP Modern Search, I built some FAQ's using that.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM