Forum Discussion
jean Bertrand
Apr 18, 2017Copper Contributor
Problem with SPFx Webparts (using PnP-JS-Core) on Sharepoint SitePages
Hi everyone, I'm working with SPFx framework and I'm using the Pnp js library for REST requests. Everything was working fine since last week when REST requests stop working on sharepoint SitePage...
Robin Güldenpfennig
Apr 19, 2017Brass Contributor
Hi Jean,
I got the same problem.
When working on workbench it works fine. But when I use the client web part on a modern site page the REST web API requests don't work anymore.
I got the same problem.
When working on workbench it works fine. But when I use the client web part on a modern site page the REST web API requests don't work anymore.
Patrick Rodgers
Microsoft
Apr 19, 2017Tried to reply earlier but didn't seem to post...
This was found and fixed earlier this week and is currently available in a beta release
install sp-pnp-js@beta --save
Please give it a try and if it works as expected we can look to cut a release later today since this is a blocker for folks and we don't want that.
As a side note - if you find issues please do use the issues list. That makes it much easier for us to see what problems folks might be having and address them. Thanks!
- Patrick RodgersApr 19, 2017
Microsoft
Actually, I just pushed 2.0.4 which includes this fix. It was an out of band update but this is a blocker so was needed. Please update to latest and let us know if you still see issues. Our bad on missing that bug in testing.
- Robin GüldenpfennigApr 20, 2017Brass ContributorThanks Patrick, works like expected!
- Syed RizviJun 05, 2017Copper Contributor
Hi Robin,
Which version did you use?