I'm trying to add an HTML into my SharePoint Site Page (Teams Site) and am following the instructions at this link here from Microsoft which guides on how to do so.
Steps:
- So I've renamed my HTML to an ASPX.
- I've uploaded it into the document library at the following page: "https://companyname.sharepoint.com/sites/sitename/Shared%20Documents/Forms/AllItems.aspx"
- But when I try to view it, by following: https://companyname.sharepoint.com/sites/sitename/Shared%20Documents/myfile.aspx it shows up with the following error. Would appreciate any help on this.
Sorry, something went wrong. File not found.
More specifics: I'm using modern version of sharepoint without admin rights. I am basically trying to add an html file that users can view instantly (not the code but the output), and hosted on this SharePoint site.