Forum Discussion

James3165's avatar
James3165
Copper Contributor
May 28, 2022

Using PNP search filter how can Add a custom field.

Hi !

I have created a field and created a search page in which I have added a search box, a search result and a search filter, I want my filed to display in PNP search filter.

Tried using a property.
Used RifinableString06 added a map and selected my own field, but still unable to view my field in PNP search filter Edit area.

Anyone?
Thanks in Advance

  • Make sure you have data in that coloum where it is used in a list/library (it will then be picked up in an index).
    Follow a few other guides on this site, add property to results webpart, link to filter webpart, add to filter webpart. It will then show when a result item is using that column and be made available as a filter.
  • Warwick Ward's avatar
    Warwick Ward
    Bronze Contributor
    Make sure you have data in that coloum where it is used in a list/library (it will then be picked up in an index).
    Follow a few other guides on this site, add property to results webpart, link to filter webpart, add to filter webpart. It will then show when a result item is using that column and be made available as a filter.
    • MVCuser's avatar
      MVCuser
      Brass Contributor

      Hi Warwick Ward 

      I am creating a search and i want to add filters. I want to filter by Folder name, is that possible? So far i was not able to find the column name on the list. Is this even possible

      THank you

  • AmounSounra's avatar
    AmounSounra
    Copper Contributor
    How did you add search filter of type string in filters, when i want too add that its just give me 4 templates and non of them I cant use as input of string
    • James3165's avatar
      James3165
      Copper Contributor
      In managed property , You have to Assign your value to some default Filed for eg: Refinable String or Refinable Integer. Add mapping on that and select what ever you want to input.

Resources