We have requirement to add customer aspx and its js file to SharePoint online but we dont have SharePoint Designer, if we upload the files to site assets and try to open, it is getting downloaded instead of rendering.

As per this post - Sharepoint downloads aspx file instead of rendering it

we tried to upload it to site pages but it is not allowing us to upload the file, it is not allowing us with below error message

enter image description here

Is there any way to upload the files without SharePoint designer ? User is only site member, user dont have full control on SharePoint site.

New contributor
Prasad Gavande is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

You will need the setting "Allow or prevent custom script" enabled to allow you to upload an ASPX file via the UI. This is noted here:


Details on enabling this setting can be found here:


A global admin or SharePoint admin can enable this setting.

| improve this answer | |

Your Answer

Prasad Gavande is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.