Copy link to clipboard
Copied
We have just updated our captivate 9 and find the lessons now do not work when we publish them. before this update Captivate would put all the assets as .png into the "dr" directory; these are now in replaced with a few .JSON files; can i stop this happening and leave them as source images?
Copy link to clipboard
Copied
This functional change is part of the update, so you can't retrograde to the earlier version.
The fix is to ask you webserver admin to configure a MIME type to support the JSON files.
Copy link to clipboard
Copied
We've had an issue with one LMS vendor not getting mime types added to the server.
In lieu of the mime type not being present you can do the following.
Change the name of the json files to a .js extension.
Open the index.html file and do the same. Find the .json extensions and replace with .js.
The file will work just fine.
Copy link to clipboard
Copied
TLCMediaDesign...I was going to love you for posting this fix but I'll have to settle for deep like. I changed the .json files I found in the DR directory and the index.html file to .js. Now instead of the swirling circle sitting there on a blank screen the navigation and skin loads but my content still doesn't. Any ideas?
Copy link to clipboard
Copied
Also - the content is on our web server not our LMS
Copy link to clipboard
Copied
Hard to say. You need to look in the console first and see if there are any errors showing up. Without the JSON files it usually will load but no images show up and a message is shown for every image.
Can you run it in Chrome or what ever browser is giving you fits and post a screen grab of the console (F12)?
Copy link to clipboard
Copied
The project loads/plays fine when launched from my local computer but when I try to launch it on the server using the URL in both IE & Chrome it doesn't play.
My co-worker tried to load the .json mime type which is what Adobe Tech Support said would fix the issue but some of the .dll were missing so he didn't. We have a new tech person coming in but until he does I need a workaround.
Copy link to clipboard
Copied
There shouldn't be any need to load DLLs just to configure a web server to allow a particular mime-type.
Which web server are you running? Apache, IIS?
Copy link to clipboard
Copied
It's IIS
Copy link to clipboard
Copied
Then look at this:
Copy link to clipboard
Copied
TLCMediaDesign, thank you for this great fix! It has solved my issue almost 100%, but there is one small hiccup outstanding. the training plays flawlessly within the LMS, but when it gets to the last slide, which is a quiz question, the slide is almost blank (basically only shows the buttons to select an answer, but no other text or images are there).
It works fine from my desktop, and server location, just not once its in the LMS.
Did you run into this issue as well? Any suggestions?
Copy link to clipboard
Copied
I'd suggest opening the Developer Tools in the browser and see if there are any errors output to the console.
Copy link to clipboard
Copied
You mention that the final slide of the project is a quiz slide. This is not usually a good idea.
Try adding back the Quiz Result slide and then place one more blank slide AFTER the Quiz Result slide and see if you experience the same issue on the LMS.
Copy link to clipboard
Copied
Hi RodWard! Thanks for your response. you rsponded to a seperate posr as well so I'll answer both questions in this one.
1) I doublechecked my project, and confirmed that I have the quiz slide, then a results slide, and then a blank slide. When I play the training, it stops on the quiz slide which looks almost blank, be I can't move forward from there.
2). To this point, the developer I'm working with has insisted that we can accept .json files, however based on the testing and the fact that most of the training worked once I changed the file types to .js - it tells me we need to double check that.
Here is an additional question that perhaps will give a workaround. IF I remove the quiz althogether, and keep the .js file in the project, I'm wondering if the learner would still get credit for completing the course. I don't really need a quiz, as it's just there for confirmation that they completed it. What do you think?
Thank you!
Copy link to clipboard
Copied
The JSON files are actually required for delivering lots of images in a typical project and these are not necessarily only in the quiz. So if the issue is due to your server not being set up to enable the JSON mimetype then taking out the quiz isn't necessarily going to fix the issue.
If you want to check whether the issue is something about your server, just upload the same SCORM package to SCORM Cloud and see if it works from there.
Copy link to clipboard
Copied
I hope you can help me with this one as well. In version 9 the json files seem to work on our web servers as well as when we test on scorm cloud..
However, when we upload our 2017 files, we get the wonderful spinning graphic on our web server, but not on scorm cloud.
Was there a change in the use of the json files between versions 9 and 2017.
I know you have indicated that you have to configure the webserver to handle the .json format. Is that only for 2017?
Any clarification would be appreciated.
Copy link to clipboard
Copied
If my memory is correct JSON is used since 9.0.1 version.
Copy link to clipboard
Copied
Correct. So if the projects from Cp9 were NOT published from a later dot-point version of Cp9, they would not be using JSON files. But all Cp 2017 output (as well as Cp 9.0.1 output) would need web servers configured for JSON.
You need to check your Cp9 output to see whether or not it actually has JSON files or not. That might explain what you are seeing.
Copy link to clipboard
Copied
Would it be possible to publish the training as SWF even if there are embedded PDFs that need to open in a new window? I tried previewing the SWF from the publish folder and I can't open up the documents that are within the course. Is this because I'm previewing on my local hard drive. Will it act differently on a SharePoint site?
Thanks!
Copy link to clipboard
Copied
If you are trying to preview an SWF project from your local hard drive and calling PDF files from links in that SWF then the most likely reason things are not working is that the links are being blocked by Flash Global Security.
PDF files are never truly "embedded" in the SWF files in the sense of being encapsulated inside the SWF file itself. You can only call a PDF file from a location outside the SWF using a hyperlink or action that is being executed from within the SWF.
If you take all of the files that Captivate publishes with that SWF (including the PDFs) and upload them all to a web server and test from there, you will probably find that the PDFs get called correctly because Flash Global Security does not intervene in that situation.
People often report problems getting Captivate content to work as expected from a Sharepoint site. Captivate output is usually intended to work from a web server or LMS (which is also really a web server). Sharepoint is often set up to work more like a LAN file server. However, I believe there ARE ways to get it to work. Perhaps others that use Sharepoint can suggest those ways for you.
Copy link to clipboard
Copied
Thanks! Very informative.
Copy link to clipboard
Copied
Thank you! I'll look into this as well to help
narrow down the troubleshooting! thanks!
Copy link to clipboard
Copied
Update - added the JSON mime type on our IIS server and everything now plays fine. Thanks for the tip!
Copy link to clipboard
Copied
Hello everyone. Just wondering if anyone has got this to work on a SharePoint 2013 enterprise installation, and if so could you share the steps and settings?
Thanks in advance!
Copy link to clipboard
Copied
We are using SharePoint Learning KIT in SharePoint and have exactly the same issue.
SharePoint has it's own mechanism how to work with .json files and those files (in the "dr" directory) are not recognized as valid json script files and declined to be processed by SharePoint (SharePoint just says in logs: "Error=The file '/_layouts/15/sharepointlearningkit/frameset/Content.aspx/0/a640fee9-8769-44dd-b414-6786533f2cb6/dr/imgmd.json' does not exist.")
The solution is to disable SharePoint JSONHandlerFactory in the location from where .json files are called.
In our case this was location of the SharePoint Learning KIT (C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\LAYOUTS\SharePointLearningKit)
To disable SharePoint JSONHandlerFactory copy and paste below to th web.config file of your SharPoint web application before the latest </configuration> tag:
<location path="_layouts/15/SharePointLearningKit">
<system.webServer>
<handlers>
<remove name="JSONHandlerFactory" />
</handlers>
</system.webServer>
</location>
P.S. Abobe, I do not see any reasons keep files named .json.... After renaming them to .son and fixing all paths everything works fine.