Forum Discussion
Viewing Articulate 360 Content in SharePoint Online
Enabling Custom Scripts in SharePoint Online
Custom scripts are now disabled in SharePoint Online for security reasons by default. As a result, Articulate content with the story.html file renamed to story.aspx in the published output that previously worked with SharePoint Online might not work anymore.
If you don't need to track learners' progress or results, check out these free or low-cost options for web hosting.
If you need to use SharePoint Online, your SharePoint admin may be able to resolve this issue by following the steps below. (Note that we don't provide support for either workaround.)
As of July 10, 2024, SharePoint users will find that they are required to reenable the Custom Scripts feature every 24 hours, reverting the Custom Scripts setting to its default and disabled state. Please see Microsoft’s article on Custom Script settings for more information.
Enabling Custom Script via the SharePoint Admin Center
If you don't need instant access, follow these steps.
- Go to the SharePoint admin center and sign in with your credentials.
- In the sidebar to the left of the page, click Settings. (If you're using the Modern admin center, click the classic settings page hyperlink at the bottom of the Settings page.)
- Scroll to the Custom Script section, then select the options to Allow users to run custom script on personal sites and Allow users to run custom script on self-service created sites.
- Click OK to save your changes. Note that this change may take up to 24 hours to appear.
Enabling Custom Script in SharePoint Online via PowerShell
For instant access, follow these steps.
Open Windows PowerShell with admin privileges, then run Install-Module -Name PnP.PowerShellRun this command: Connect-PnPOnline -Url <url> -PnPManagementShell (replace <url> with your SharePoint URL, which will then generate a code for you to insert in your SharePoint admin center.)
- Run these commands in PowerShell: (replace the URL after -Url in the first command with the link to your static site collection, such as https://companyabc.sharepoint.com/sites/StaticSite).
(If you need help creating a SharePoint site, refer to this article from Microsoft.)- Connect-PnPOnline -Url https://yourorg.sharepoint.com/sites/StaticSite
- $site = Get-PnPSite
- Set-PnPSite -Identity $site.URL -NoScriptSite $false
Your SharePoint site is almost ready to host HTML files! We just need to prepare the Articulate published output for upload. Here's how.
- In SharePoint, choose where you will locate this project. You can create a new folder or use the Documents location created by default with all SharePoint sites.
- Rename all the files with a .html extension in your unzipped published output folder to .aspx (keep the same file name). To do this, right-click the file, choose Rename, and then replace .html with .aspx. (Most projects only need to rename the analytics-frame.html and story.html files.
Finally, upload the published output to your SharePoint site, then click story.aspx to launch your Articulate course. This change should take effect immediately.
- KelseyHahn-f93eCommunity Member
My org's Sharepoint admin and I are having the same issue described above - the story.aspx file downloads instead of opening, and nothing populates when you try to open after downloading. Any help would be so appreciated!
- JenniferBrow080Community Member
Haley, have you seen my comment, Viewing Articulate 360 Content in SharePoint Online - Articulate Storyline Discussions - E-Learning Heroes - Page 3?
If you are trying to load it to a Teams Site, those seem to not work. Even if you publish to the top level, not inside a folder, Teams SharePoint does not seem to work the same on. It works on a SharePoint Communications Site, though.
Make sure to change the file extensions locally before uploading as well.
- MelanieDodierCommunity Member
Hi. Thanks for all of your help on this subject. I have followed every single step. Would you have any other idea or advice on why it would still not work?
The file extension was changed, all files were uploaded to a library (not in a folder) on a Comms site.
When I try opening up story.ASPX from the library it just wants to download the file. When I link to it, it tells me that something went wrong and the file is not found.
- DavidWeatherallCommunity Member
why is this so complicated?
- KelleyDoyle-65eCommunity Member
Cross-linking these two posts since they're now related.
ASPX Files Now Download Instead of Launching from SharePoint