You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am creating a spfx webpart using pnp/sp and react.
this webpart will get parameters from users and with those do a search in sharepoint and show all the items in a listview.
So far i was able to do this no issue.
But now i need to add to the list view the values of some custom columns that we have for the items.
I found some tutorials showing how i could achieve this, but when i try to implement this, i find some of the methods they show are not present in my code and give me errors.
For example when i try to do _sp.web the web object is not accesible
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am creating a spfx webpart using pnp/sp and react.
this webpart will get parameters from users and with those do a search in sharepoint and show all the items in a listview.
So far i was able to do this no issue.
But now i need to add to the list view the values of some custom columns that we have for the items.
I found some tutorials showing how i could achieve this, but when i try to implement this, i find some of the methods they show are not present in my code and give me errors.
For example when i try to do _sp.web the web object is not accesible
Can someone help me figure out what is wrong.
This is my pnp version
this is my "config" file
and this is my component file, please note i left most of the code out and just showing what i think was relevant
In the searchHandler, the this._sp object only shows me 3 methods search, searchSuggest, using it does not show me any other propertie
Beta Was this translation helpful? Give feedback.
All reactions