Skip to main content
New Participant
August 22, 2016
Question

Captivate 9 exporting to html & JSON files

  • August 22, 2016
  • 4 replies
  • 6476 views

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? 

This topic has been closed for replies.

4 replies

New Participant
April 28, 2017

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!

S_Bulash
New Participant
September 14, 2017

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.

TonyaMemphis
Participating Frequently
March 3, 2017

Update - added the JSON mime type on our IIS server and everything now plays fine. Thanks for the tip!

TLCMediaDesign
Inspiring
September 30, 2016

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.

TonyaMemphis
Participating Frequently
September 30, 2016

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?

TonyaMemphis
Participating Frequently
September 30, 2016

Also - the content is on our web server not our LMS

BDuckWorks
Inspiring
August 25, 2016

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.