Forum Discussion
Mike Jansen
Oct 10, 2017Iron Contributor
pnp.sp.search > Add property to searchresults
I have this code: private GetSearchresults(): void {
pnp.sp.search(<SearchQuery>{
Querytext: "ContentType:TEST_matters",
RowLimit: 10,
EnableInterleaving: true,
Selec...
Mike Jansen
Oct 10, 2017Iron Contributor
For now I added the "RefinableString10" to the "SearchResult" declaration in "search.d.ts". It works but is this the way to go? Ain't it possible to add a property to the SearchResults in the webpart.ts file?
- Leonardo TabosaOct 15, 2018Copper Contributor
I'm having this same problem right now with one search solution.
Did you found other way to make it work?