Sep 01 2017 05:41 AM
I have been looking at migrating an existing web part that uses data from a list deployed to a specific subsite in a site collection. I want to extend this so that credentials can be supplied at render time to access this site collection, so that while testing, even if the webpart is deployed locally, or on my "test" site, I can point it to live data to render.
Is this possible?
And if so, what is the best approach? I tried using sp-pnp-js but I can't find how to do the authentication part prior to making the query for the list data. Any help or guidance would be greatly appreciated.
- Nissan
Sep 01 2017 07:20 AM