Forum Discussion
oskarkuus
Jun 01, 2023Brass Contributor
Search on one page - faq page with search function at top?
Hi I wonder if it is possible to create a page that have a search bar that can be used to search on that page. A page that allow the users to search the content on that specific page ...
oskarkuus
Jun 04, 2023Brass Contributor
On option 2.
How do i install/implement that view on a list. How do i use the github code?
SvenSieverding
Jun 04, 2023Bronze Contributor
Hi oskarkuus ,
You need to do the following to use the code from the github respository.
1) Create a new list
2) Add a new multiline text column to that list and name it "Answer" (with a capital "A")
2b) Add your questions. Put the question in the title column and the answer in the "Answer" column.
3) Then click on the view selector (You should be on the "All Items" view)
4) Select "Format current view" (The last entry in that menu)
5) Scroll down and select "Advanced Mode"
6) Copy & paste the contents of
https://github.com/pnp/List-Formatting/blob/master/view-samples/faqs/faqs.json
into the editor field
7) Click Save
Best Regards,
Sven