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.
- DanyLescarbeauCommunity Member
Hi,
In our settings, custom scripts is already actived. But, despite that we follow the procedure, when we open an aspx file it is downloaded instead of being opened. An idea why it's not working for us?
- JenniferBrow080Community Member
Simply publishing to Web, and changing Story.HTML to Story.ASPX worked for me on SharePoint.com. No custom scripts needed.
- DanielaIancuCommunity Member
Jennifer, Is it possible that you are using SharePoint Server instead of SharePoint Online?
- JenniferBrow080Community Member
I use SharePoint.com.
- IndraniSen-4a46Community Member
How nice. Mine is not working.
- SherriFricker-7Community Member
@Jennifer can you explain the process you used? I don't have editing access to our Sharepoint page, but can pass it on to someone who does.
Thanks
- JenniferBrow080Community Member
Sure. It's very simple. Just needs it's own library, and the link so people can launch it.
Actions for Storyline Author
1. Publish to Web
2. Change Story.HTML to Story.ASPX in the output folder
3. Deliver output folder to whomever can upload to SharePointActions for SharePoint side
1. Create a document library just for the output
2. Place the contents of the output into the new SharePoint Library
3. Use Story.ASPX as the target fileJennifer Brown
- Bob_MongioviCommunity Member
Jennifer Brown
Sure. It's very simple. Just needs it's own library, and the link so people can launch it.
Actions for Storyline Author
1. Publish to Web
2. Change Story.HTML to Story.ASPX in the output folder
3. Deliver output folder to whomever can upload to SharePointActions for SharePoint side
1. Create a document library just for the output
2. Place the contents of the output into the new SharePoint Library
3. Use Story.ASPX as the target fileJennifer Brown
Hi Jennifer,
I am attempting the same with a web export from Articulate Rise. I follow the same steps, and it works fine. Problem is, I have embedded Storyline output within Rise, and renaming those to .aspx doesn't work. I think I need to change where those files are being called from, but I don't see where that is. Any ideas?
- SherriFricker-7Community Member
I don't have a story.html file but I do have an index.html file. Will it work if I change that to image.aspx?
- JenniferBrow080Community Member
That should work.
I work with the standalone client for Storyline 3; I know there are some differences. Any .HTM or .HTML files should be .ASPX.
Also note that you will see a warning about changing extensions and stability; disregard them and click OK.
- AndrsRamrezCommunity Member
Hi Jennifer,
Would you please upload a video tutorial? I had followed the steps you mentioned and I got an error (file not found). I also I clicked on story.aspx and a file downloads
- SherriFricker-7Community Member
thanks. I'll give this a try.
- JenniferBrow080Community Member
I just downloaded a trial of Storyline 360 to verify that the extension change hack works like it does in Storyline 3, on SharePoint.com.
I had no problems publishing, changing the two files' extensions, uploading and playing in SharePoint.com. I'm a SharePoint site owner and simply made a library, and added the files to the library. Maybe a total of 5 minutes work.
If you're having issues, then I recommend making sure you are not overwriting old copies of the output folder or it's contents (either on your local computer, or on SharePoint).
I had one of my team members who has no special access to the SharePoint site/library test it and confirmed they could play the Storyline demos.
Storyline 360 and Post-Publishing Steps
1. Publish to Web
2. Change Story.HTML to Story.ASPX in the output folder
SharePoint.com Steps
1. Create a document library just for the output
2. Drag and drop all the contents of the output folder into the new library
3. Copy link to the Story.ASPX file
4. Use that link where you need to play the material. Link on a page, share in email, etc. The only hitch is if you put it in a location that others don't have at least read access to.
[edited to fix typo]
- IndraniSen-4a46Community Member
Perhaps a silly question. How do you creat e a library?
- JenniferBrow080Community Member
Typically SharePoint is locked down and only a limited number of people can see site contents on a site and have the ability to create libraries. If you are able to see Site Contents, and do not see +New, then you don't have the permissions to create new lists, libraries, etc.
If you use Microsoft Teams, by default that integrates with a SharePoint Team Site (basically the M365 version of SharePoint and not the same as a conventional communications site. If you can create a Team, and you can see Files, you can probably upload a Story Output folder. But again, that might be locked down.
If you do not have the capability to create a library on your SharePoint.com communications site, that is something you will need to address internally in your organization (there's usually a SharePoint Admin team, but how you contact them is internal). If your organization is not using SharePoint.com (it will be in the site URL), then it's definitely an IT/SharePoint Admin consult required situation.
- TaraRohrbachCommunity Member
When I try to change the file name it becomes story.aspx.html. how are you getting rid of the .html portion?
- Bob_MongioviCommunity Member
Probably best to change the name of that file prior to uploading to SharePoint. SharePoint usually doesn't let you change the extension name.
To do so on your computer, if you do not see extensions on your files, you can always open the story file in notepad, then do a save as, and change the name to story.aspx there, then upload that file.
- 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.