以HTML格式导出的Adobe Captivates现在包含.JSON文件-如何使其工作? [英] Adobe Captivates exported as HTML now contain .JSON files- how to make them work?

查看:150
本文介绍了以HTML格式导出的Adobe Captivates现在包含.JSON文件-如何使其工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们拥有SharePoint 2013企业版,并上载了导出的html Web应用程序包.

We have SharePoint 2013 enterprise and uploaded an exported html web application package.

我们有一个资产库,并将软件包上传到该库.我们必须启用.json作为允许的文件类型,才能上传一组扩展名为.json的文件,这些文件位于导出的/dr文件夹中.

We have an asset library and uploaded the package to that library. We had to enable .json as an allowed file type to upload a set of files with .json extension, which are located in a /dr folder of the export.

但是,当打开index.html时,我们无法使应用程序运行.它一直挂着,当我们检查浏览器的devoloper工具时,它正在等待.json文件提供服务.

We cannot however make the app run when opening the index.html. It sits hanging, and when we checked the browser devoloper tools, is waiting on the .json files to serve.

然后,我们按照此指南添加IIS处理程序:http://www.uipress.com/add-json-handler-support-in-iis-7/

We then followed this guide to add an IIS handler: http://www.uipress.com/add-json-handler-support-in-iis-7/

我们似乎也有一个额外的json条目.配置为:

We seem to also have an additional json entry. configured as:

路径:* .json 类型:System.Web.Script.Services.ScriptHandlerFactory,System.Web.Extensions,Version = 4.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35名称:JSONHandlerFactor"

非常感谢


推荐答案

Dezzabarks,

Hi Dezzabarks,

添加IIS处理程序后是否运行IIS重置?

Do you run IIS reset after you add an IIS handler?

如果没有,请运行IIS重置并检查问题是否存在.

If not, Run IIS reset and check if the issue exists.

此外,作为一种解决方法,创建一个带有JSON内容的* .txt文件,并通过您的HTML文件使用它.

Besides, as a workaround, create a *.txt file with JSON content on it and consume it through your HTML file.

以下是类似的帖子供您参考:

Here is a similar post for your reference:

https://sharepoint.stackexchange.com/questions/114540 /why-is-upload-of-json-files-prohibited

最诚挚的问候,

Grace Wang

Grace Wang


这篇关于以HTML格式导出的Adobe Captivates现在包含.JSON文件-如何使其工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆