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.
- IndraniSen-4a46Community Member
No worries. I could follow all the steps. However, I think from our end, from the IT side they have blocked some items. I will see what I can do. Best
Indrani
- IndraniSen-4a46Community Member
- JenniferBrow080Community Member
Indrani,
Different platforms have different requirements. The reasons is a whole other topic. It does get frustrating.
Can you confirm that your organization uses SharePoint.com? It will be in the URL. If it's not, then you are likely using an On-Premise version of SharePoint, and that will likely require a discussion with your SharePoint Admin team.
This is a real challenge for us as instructional developers and content managers, keeping track of technology limitations. And a reason to use Articulate 360 if that's an option. It's not for my organization. So if you have to use other content management systems and learning management systems or learning record stores, keeping track of build versions, prohibited file types, life cycles, etc., becomes part of the job.
- BethBarber-c12bCommunity Member
This really comes down to power SP admin users. Most of us with this question will not be able to do this with SP if you aren't a power SP admin, let alone if you ask IT for that admin priviledge or having them do it so many issues that make my head hurt, so...
Solutions I have thought about as workarounds...
- have them view the file in Review360 (just don't have the option to come back to where you left off and why you need an LMS or access to a website with FTP options at admin level, most don't)
- or throw it into Amazon Services (some may not want to do this and I think there is also a cost depending on file storage)
- other option and I really think it's a headache is to hack the Google Drive (it can be done, however, it's a big old headache)/Google Cloud to get it to play just like the steps to see that you don't have those SP level permissions to go into the powershell or let alone setup a file even with changing aspx because it keeps looping to HTML and you never get it to run.
Easiest options - Review360, you want people to be able to come back in and it save where you last left off? Then do it in an LMS.
- IndraniSen-4a46Community Member
Thank You, Jennifer. Appreciate your help.
- IndraniSen-4a46Community Member
Thank you for taking the time to respond.
Yes, we will be using LMS as well. This was actually for a person who does not have LMS or our LXP access.
It seems we are using Sharepoint.com
https://ORGNAME.sharepoint.com/sites/USFieldMedicalExcellenceCapabilitiesLD/Learning%20An.....
I am looking into this with a system admin today and will keep you posted. Feeling comfortable until this issue is resolved.
- Bob_MongioviCommunity Member
Hi everyone, I've been experimenting with getting Storyline interactions added to a Rise course to work on SharePoint. The steps I took to make it work are here:
- JenniferBrow080Community Member
Great documentation, Bob! These are the kinds of things that aren't always available in official documentation. I'm always grateful with how Articulate users truly act like a community and share.
Jenn Brown
- IndraniSen-4a46Community Member
True, Thank You.
- TeltonikaIoTGroCommunity Member
Hello guys,
could anyone explain to me how to do this step:
2. Change Story.HTML to Story.ASPX in the output folder
Do I need any additional software for this?
Thank you!
Inga
Hi Teltonika loT Group!
I just wanted to pop in and share that making changes to the published output could have unintended consequences or potential for mistakes, which is why we're unable to offer support for it.
I would defer this inquiry to our knowledgeable community members who may have some suggestions or insight to offer!
- JenniferBrow080Community Member
2. Change Story.HTML to Story.ASPX in the output folder
If it's going on SharePoint, any .HTML files will need to be changed to .ASPX file. It is very simple extension change on Windows, simply done in Windows Explorer. I cannot speak for other operating systems.
Viewing the contents of the Output Folder in Windows Explorer:
A: Open up the output folder
B: Slow-click twice to edit file name of a file with .HTML extension
C: Change extension from .HTML to .APSX
D: Click Yes on the warning message "do you want to change itNote that slow-click just needs a couple seconds, as rapid-click twice will launch the file, versus edit the file.
- Bob_MongioviCommunity Member
Hi Inga,
You would want to do this prior to uploading to SharePoint. I don't believe Sharepoint allows you to change the extension of files, at least from what I've seen. In most cases, it should only be one file.
Any issues with the course itself should be dealt with by Articulate Support prior to renaming this HTML file. Once issues are fixed, renaming that file and uploading to SharePoint should be seamless.- JenniferBrow080Community Member
Agreed; it's done before uploading to SharePoint, in Windows Explorer (how'd you'd normally view files before opening them on your computer). Sorry for any confusion.
- CrystalKomarizaCommunity Member
Hello! I tried renaming the files but it shows up as ".aspx.html". I appreciate any assistance. Thank you!
- 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
- 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!
- 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.
- 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
- 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.