Jonathan
  • Member for 6 years, 10 months
  • Last seen more than a month ago
How to retrieve pageContext in SPFx?
Accepted answer
16 votes

this.context.pageContext is available on render() method within top level class that extends BaseClientSideWebPart. Simply pass this.context as a props of to HelloWorld.tsx to reuse it. Sample (...

View answer
It is better to add Videos inside Document libraries or inside Asset libraries, if we want to render them inside modern site pages
1 votes

There is an out of the box O365 video portal which you can use instead of using normal document library or Assets library. https://support.office.com/en-us/article/manage-your-office-365-video-portal-...

View answer
Viewlsts.aspx page should be accessible to only people from specific group
0 votes

Only way is to inject the script via masterpage, you can create a json reference object to match against a particular page then redirect. Sample code here: https://gist.github.com/jonathanhotono/...

View answer
Change the look on site contents or site collection level
Accepted answer
0 votes

The latest Office 365 update just added the "Change the look" on Publishing Site - Site Contents.

View answer
Deploying a SPFx webpart to multiple tenants without public cdn
0 votes

As of spfx 1.4 you can now use includeClientSideAssets feature within your spfx package. If you would not have CDN enabled in your tenant, and the includeClientSideAssets setting would be true in ...

View answer