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.
- DavidWeatherallCommunity Member
why is this so complicated?
- RozGyulaiCommunity Member
Renaming had worked for me until very recently, and it works with historical files. I just created a new file. When I upload to SP and try to link it, the link refers to "download" instead of "story" (company related information is deleted from the beginning of the link): _layouts/15/download.aspx?UniqueId=6d2f67f637f94a0da02fbdc5292ba888&e=Lz7zPL. What may cause this issue?
- SteveStonebr138Community Member
Any update on this? I am encountering the same issue.
- HayleyLawesCommunity Member
Hey
So this is what my business IT infrastructure Engineer said to me...
Microsoft themselves have disabled the custom script feature on a SharePoint as a standard feature. ( he confirmed this with Microsoft). It can however be enabled for a specific site (your IT admin can do this if not you) but it will auto turn off after 24 hours.
Due to how long it take for my business to push through updates i get about 48 hours sometimes 72 before it resets.
Uploading the files itself they need to be converted to the ASPX file I also find that in the Story content folder and the Mobile folder once you have uploaded them to SharePoint you need to create the blank folders "notes" and "slides" in each as SharePoint wont upload these empty folders
Hope it helps
- MateuszSzuter-eCommunity Member
So my little input, as I also have 'download' problem.
First of all, you can discard entirely analytics-frame.html. If you rename it to .aspx nothing will happen, as sources INSIDE story.html refers to analytics-frame.html. If you change extension of the physical file, it won't magically replace the inside story.html reference to the new one. It will produce the same error in the console - file not found. And analytics-frame is not a necessary file to run the course.
And to the topic - I created library and uploaded files right into it. You can see it has library icon, and I have two documents libraries, which I one just created.
And yet when I click story.aspx it tries to download. And it probably will, always, unless you have some option(*) somewhere checked that @Jennifer Brown didn't include in the instruction - not her fault, as we are just learning guys, not neccessarly sharepoints superadmins ;)
I did however nailed things down a little.
1. You need admin privileges or be able to contact your sharepoint admin (and convince them to enabling option opening vulnerabilites in the sharepoint ;)).2. You need to enable Custom Script, either on the admin level (permanent solution for all sites) or site level (temporary, 24h solution for just one site/site collection). You can read here.
3. Then you should view your site (communication or teams channel, doesn't matter at all) contents and navigate to the Styles Library. Inside, you can create new folder, for example TestCourse, and upload all Storyline published files (with of course ALREADT CHANGED story.html to story.aspx, because amount of people not getting that you need to do that beforehand is astonishing) into it. If you don't enable custom script, you won't be able to upload files here at all, that's why.
4. Now when you click the story.aspx you should indeed open a fully functional storyline course. You can embed it into any other site (at least within your space).
I've managed to do that on my 'test' sharepoint and now I will try to test it organization-wide ;) If someone might have an idea about (*), I mean why it is working from document library perspective for some, and for others not, I'd happy to hear. As enabling custom script and trying to run the course from another location than Styles Library produced "download" window instead of showing course, and trying to access direct link or embedding it, produced "File not found" notification.
- 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.
- JenniferBrow080Community Member
Here's most of what you need to know to publish Storyline to SharePoint.
Publishing Storyline for SharePoint
- Authoring Tools: Storyline 3, Storyline 360, likely Rise
- SharePoint: SharePoint.com “Modern and On-Premise “Classic” with ability to 1) create a library, and 2) upload files
- Operating System: Windows 10/11, with ability to edit file extensions
- Publish to Web
- Change .HTML file extensions to .ASPX
- Upload to a SharePoint Document Library
- Use the Story.ASPX file as the target file
- Verify the files will be at the top of a SharePoint library and not a folder in a library
- Ensure Storyline is up to date and save before publishing
- Ensure “clean” publishing and do not overwrite existing folders
- Must change the file extensions before uploading to SharePoint
- Publish to Web (save project first, publish clean)
- Change any .HTML file extensions to .ASPX from File Explorer window:
- If file extensions are visible, slow double click and change the HTML to ASPX.
- Alternatively, right click and select Properties and change in Properties window
- Say yes to message, “If you change a file name extension, the file might become unusable. Are you sure you want to change it?”
- Storyline web publish only has two HTML files: Story.HTML, analytics-frame.HTML
- If attempting to use Rise or publishing for xAPI, search for all .HTML files
- Deliver output folder to whomever can upload to SharePoint if you are unable to upload yourself.
Actions for SharePoint Communications Owner/Designer/Member
This will not work for a Teams site, only a communications site.
- Create a document library just for the output
- Must have it’s own library
- Best practice: no spaces in library name (Pascal_Snake_Case for example)
- Place the contents of the output folder into the new SharePoint Library
- Upload as a group to avoid breaking connections
- Do not load the folder itself into the library
- Use Story.ASPX as the target file
- Target file may vary for other products like Rise
- xAPI target file may be Story.HTML or Index_lms.HTML
How organizations manage computers images, permissions, cloud backup/storage, and SharePoint can vary far beyond what can be covered here. Contact your support teams for assistance if you have any issues at any point.
This works for a SharePoint Communications site, what most people think of as SharePoint, and not a Teams site. When testing on a Teams site, even opening up "in SharePoint" and getting to the Site Content level, creating a new library to put it in, it still won't work. It will only download the Story file, and not launch. My SharePoint Admin team, that manages our tenants and works with Microsoft directly, reached out to me to research this. We're not sure precisely why, even when we create a library, not a folder. For this to work, the Storyline output must be on a communications site, and output files must be uploaded into a Library, not in a folder.
We just got a new version and update for Teams in our organization (March 2024) and I attempted again to get web published Storyline output to work, and it still fails.
SharePoint.com generally sets up three SharePoint groups with new sites: Owners, Members, Visitors. Owners can create libraries (lists, etc.). Members can usually add, edit, delete items in the libraries, etc. Visitors can read. Everything SharePoint is highly configurable from the tenant level down to the hubs and sites, so exactly how this works in your organization may vary. But generally an Owner will create the library, and they or Members will add the files.
If a file downloads instead of running the WBT, then you are likely launching from a folder or a team site.
If you are still using Classic SharePoint, there may be other factors that are causing issues. Because SharePoint is so highly configurable, there are may places where things can create headaches.
Publish to web only; the output has less files and doesn't include the required files to send data elsewhere. This can impact whether or not it will work on your particular SharePoint tenant. Publishing for an LMS includes more files and ones that send data. If you opt to use an LMS publishing option, note there will be more HTML files that will need to have their extensions changed.
Files cannot to be ZIP'd up on SharePoint for this to work.
Storyline 360 has an option to publish to video which means a single file and may be a suitable option.
Windows File Explorer settings and what's available to you varies, depending on Windows version, edition, and your organization's settings/policies, etc. The variations are beyond scope of these steps, so you may need to consult with your IT support.
Changing file extensions should only be done when you know exactly what you're doing and why. So don't do this for fun for other circumstances. These are specific steps for specific circumstances and are known to work for using Storyline on SharePoint when published to web. Changing file extensions changes the default program to open it.
The file extensions must be changed prior to uploading to SharePoint.
Cloud backups and other settings may cause issues when trying to change; again, contact your support team for assistance.
General Best Practices and Steps to Save You Headaches
Always ensure latest version. Storyline 3.20 still works as of the date of this comment. If using S360 or any authoring tool, always use the latest version to ensure it works with current browser technology. What files get published, how they are structured, and where they go can change over time.
Always Publish Clean. I can't stress this enough; overwriting an output folder only updates the files that it's set to publish. Any other files remain, and they may include obsolete tech or cause issues with your output in general.
Restart your system if not daily, every other day. In the age of cloud storage, federation, and other single sign-on options, this can impact what you do as a Storyline user and as a SharePoint Admin.
Reset your browser. Both Edge and Chrome are Chromium based so they are similar. This is the new "clear cache" and "allow popups" for those of us who've been around longer than Storyline. It can resolve a wide range of seemingly random issues.
Ensure Browser(s) are current version. Just like Storyline, outdated browsers can impact the things associated with it.
All of these can not only help avoid issues, it helps with troubleshooting and isolating root causes of issues. For example, I spent a year trying to identify causes of issues with migrating an LMS from IE11 to Edge and the root cause was Storyline build versions were not verified, and the output folders had a lot of obsolete files that were blocked. It took going into hundreds of Storyline modules on our LMS to look at all the output to discover this after working with multiple teams including Articulate (thanks, Taylor, I still remember all your help).
About Me
Currently an LMS Admin and SharePoint Site Collection Owner. I've worked with Articulate Products since Articulate was a premium add-in for PowerPoint. My background includes system administration, technical support, technical documentation, Instructional design and Instructional development. I'm often a person pulled in when folks are experiencing the sticky issues. The SharePoint Administrators in my organization use me as a Subject Matter Expert for publishing this kind of content to SharePoint.
- JeremyShimme817Community Member
Unfortunately it doesn't look like this solution will work for some people based on the SharePoint configurations. It is not possible to open a converted HTML / ASPX file on SharePoint.
- HayleyLawesCommunity Member
I Was having the same issue after following all the steps listed. I have figured out how to make this work. Happy to share how though not sure if people can see my responses as no one answered my initial query
- JeremyShimme817Community Member
Hi Hayley. Yes please share if you can get this to work. I believe it has to do with changing the settings in SharePoint to open modified aspx files. But please share however you got it to work.
- JenniferBrow080Community Member
Do make sure you change file extensions before upload. Doing so after uploading to SharePoint won't work.
Also doesn't work straightforwardly on Teams SharePoint.
Unfortunately I'm not able to do more research for at least a few more days but I have noticed some folks attempting this try changing the file extensions after being uploaded to SharePoint.
Before uploading, look for the HTML files and change them to ASPX.
- HayleyLawesCommunity Member
Hi Jennifer
are you able to tell me what your aspx file is being opened with? I've spoke to my IT department and even they are having trouble getting this to work
- PamelaSmith-182Community Member
Hoping someone can help. My company does not have an LMS and SharePoint is my only option. I have published my course as Web for Articulate Storyline.
I think I have followed all the steps but when I link to the story.aspx file it only shows a blank page and wants to download. I have my library and all the files and am using sharepoint.com.
Any ideas? This will be my first course and I really need to be able to get this one out there!
- JenniferBrow080Community Member
Question for those of you who are having issues putting Storyline published to Web on SharePoint; what type of site are you using?
SharePoint comes in different flavors, and current, modern SharePoint is either a Communications site, or a Teams site.
I use a communications site and have no issues. But someone in our organization reached out about issues, and we realized that were trying to publish to a teams site.
On a communications site, I create a regular library and drop the output folder contents in after changing the two .HTML file extensions to .ASPX. It works correctly. If I put the same content in a folder in a library, it behaves differently, and downloads the story.aspx file, which is the behavior I currently see on a teams site. I'll keep researching, but that may be why some are experiencing issues.
- HayleyLawesCommunity Member
Hi Jennifer
Hoping you can help. I am using a SharePoint Communications site. I am the admin and owner lord of all (lol) but I still can not get it to open and play the file.
I have created a document library, renamed the files, dropped the whole folder in and nothing? I've attached an photo of how it appears. It just shows as a blank page and wants to download. It does ask me how it would like me to open ASPX files? any ideas I'd greatly appreciate it.
IS there a particular program you ASPX files are set to open with?
Thanks Hayley
- MaryAversaCommunity Member
Sadly, the fix doesn't work for me either, but thank you for sharing what worked for you Jennifer! The .aspx file only downloads and doesn't launch anything...same behavior as the .html. I just really wish Articulate hadn't disabled the ability to embed a course in an iframe using the Share link! I have a Rise "course" that isn't actually a course, it's guidelines for creating training, and I thought I'd create interactive guidelines with videos and dynamic content embedded to underscore the importance of interactivity and demonstrate microlearning, etc., but I have to either host it on our LMS, which I will not do...the guidelines shouldn't feel like I'm tracking the user's progress...or just post a pdf version of the Rise course, which defeats the whole purpose. BOO!! Sharepoint is such a common intranet platform; I really wish Articulate would work with us on a solution that would work in Sharepoint. The iframe "share" embed was such a great solution. I'm very sad Articulate took that ability away. :(
- JenniferBrow080Community Member
Mary, I'm sorry to hear that.
We know that SharePoint.com can run Rise content by switching the .HTML file extensions to .ASPX. This also works for Storyline 3. So the issue is not with SharePoint.com in general. Current versions, published for web, clean output folders.
So that means something else is going on to prevent playing the content. It may require working with your SharePoint Administration team, and/or your IT security team that determines what kinds of files may run on SharePoint or on websites for your organization.
Are you certain that you are using SharePoint.com and not a legacy version of SharePoint?
I ask because there are many versions of SharePoint. If you do not see SharePoint.com in your SharePoint URLs, then it's 99.9% certain that you are using an On-Premise version of SharePoint, and not SharePoint.com.
If you are using On-Premise SharePoint, it's older, and may not meet current browser standards. For Reasons best known by your SharePoint Admin team, your IT departments, your budgeting folks. It will definitely require your SharePoint Admin team and likely someone from an IT security team that needs to be contacted (possibly "perimeter security"). And in which case, you have my condolences, because it's really hard to get the assistance that you need to resolve the issues because the root causes are not straightforward, and IT teams tend to be highly specialized and don't handle fuzzy issues.
IT support for this kind of issue is not straightforward. My best recommendation is to ask your SharePoint Admin team (not site owners, but the actual admins) to look into it and to work with IT security about what files are allowed to run on your SharePoint. Make them aware of the business needs. Ask them to look at the files in the SharePoint folder so they can identify which files may be causing issues. They may need to adjust something to allow the Rise course to play. But they should be able to resolve it.
Best of luck. I do know how challenging this can all be.
- CrystalKomarizaCommunity Member
Hello! I tried renaming the files but it shows up as ".aspx.html". I appreciate any assistance. Thank you!