Forum Discussion
Rohit Devmore
Jul 28, 2017Copper Contributor
Crazy ASPX page behavior in Sharepoint Online document library , getting downloaded
We have two site collections in Sharepoint online and those have respective document libraries (Say Lib1 (Site collection 1) and Lib2 (Site collection 2)) We have ASPX page on drive which are upload...
Steven Derveaux
Nov 13, 2018Copper Contributor
I just set the flag "DenyAddAndCustomizePages" to 0 via the powershell cmdlet:
Set-SPOsite https://xxx.sharepoint.com/sites/teamxyz -DenyAddAndCustomizePages 0
I'll cross my fingers if this is working. The value on this flag is often cached. So I will check back tomorrow!
Set-SPOsite https://xxx.sharepoint.com/sites/teamxyz -DenyAddAndCustomizePages 0
I'll cross my fingers if this is working. The value on this flag is often cached. So I will check back tomorrow!
Steven Derveaux
Nov 19, 2018Copper Contributor
after setting the "DenyAddAndCustomizePages" option to 0. I was able to load custom .aspx pages from the "Pages" library. A couple of hours later, my ASPX pages ran also in other document libraries…
- Cody WoodsMay 18, 2019Copper Contributor
Steven Derveaux Worked for me too! Thank you for posting this.