Forum Discussion
Public facing website and SPFx
Hi Everyone.
I just wonder if someone knows if the SPFx that ships with SharePoint 2019 (1.4.1 in the Preview version) supports anonymous access.
Anonymous access worked fine in a classic site in SharePoint 2019, but adding a web part (simple Hello World spfx) or enabling a Communication Site with anonymous access is simply not working at all.
The error is:
https://xxxxxxx/_layouts/15/error.aspx?ErrorCorrelationId=6913979e-07f3-1023-8c69-296d439e5e97&ErrorText=Can't%20load%20the%20application%20on%20this%20page.%20Use%20the%20browser%20Back%20button%20to%20retry.%20If%20the%20problem%20persists%2C%20contact%20the%20administrator%20of%20the%20site%20and%20give%20them%20the%20information%20in%20Technical%20Details.&ErrorDetails=Error%3A%20***Error%20initializing%20application.%20Error%3A%20Error%3A%20***Error%20initializing%20application.%20Error%3A%20TypeError%3A%20Unable%20to%20get%20property%20'Id'%20of%20undefined%20or%20null%20reference&ErrorCategory=spfx&Workload=SPPages&Name=SpfxLoad
This is onprem, not online at all.
So, someone tried to get work this scenario with SharePoint 2016 FP2 or SharePoint 2019 combining SPFx web parts and anonymous access?
Cheers!
Javier.
Hello,
This is a known issue in the public preview release and will be fixed in RTM.
Regards,
Mike
- mikeleemsftMicrosoft
Hello,
This is a known issue in the public preview release and will be fixed in RTM.
Regards,
Mike
- Javier IbarraCopper Contributor
Oh! That sounds great! Thanks for the answer.
Did you know if the RTM version will have a newer version of SPFx or it will still have the 1.4.1 version as the SP2019 Preview?
Thanks a lot!
Cheers.
Javier.
- mikeleemsftMicrosoft
It looks like SharePoint 2019 with use 1.4.1 with RTM as well. Newer versions will be supported as they are released but out of the box it will be 1.4.1. With that said, we have not released RTM yet so things can still change. :)
- Tony_TongCopper Contributor
Javier Ibarra Is it continuing to have the feature which could allow to create a public website or view pages accessible by anonymous users in Sharepoint 2019 on- premise? I created some modern pages and configured them to be accessible by anonymous users but it frequently prompt pop-up login windows. It looked like online sharepoint discontinued this feature but not sure how about sharepoint 2019 on-premise? ( https://docs.microsoft.com/en-us/sharepoint/support/sites/public-websites-be-discontinued) . Thanks.
- dawanloki5Copper ContributorThanks it very helpful.