Infopath模板从Sharepoint 2013到Sharepoint Online的迁移问题 [英] Migration Issues for Infopath Template from Sharepoint 2013 to Sharepoint Online

查看:74
本文介绍了Infopath模板从Sharepoint 2013到Sharepoint Online的迁移问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在将一个非常复杂的Infopath模板从Sharepoint 2013迁移到Sharepoint Online.此模板需要域权限和大量自定义代码,因此无法使用启用浏览器的表单.

We're migrating a very complicated Infopath template from Sharepoint 2013 to Sharepoint Online. This template requires domain permissions and a lot of custom code, so a browser-enabled form is not possible.

在Sharepoint 2013中,我们共享人们可以单击的模板文件(.xsn),该文件将在InfoPath Form Filler中打开,他们可以在其中进行工作.实际上没有人提交表单,因为数据保存在数据库中.

In Sharepoint 2013, we share the template file (.xsn) which people can click on and it will open in InfoPath Form Filler, where they can do their work. Nobody actually submits the form, because the data is kept on a database.

在Sharepoint Online中,.xsn文件将在Designer视图中打开.这是一个问题,因为用户不是技术人员,我们不希望他们单击​​以预览或意外更改某些东西.

In Sharepoint Online, the .xsn file will open in Designer view. This is an issue because the users are non-technical people and we don't want them to have to click through to preview or accidentally change something.

我们已经在表单库中发布了该表单,但是当有人尝试创建新表单时,它将在InfoPath Filler表单中正确打开,但是会出现XML错误.

We've published the form in a Form Library, but when someone tries to create a new Form, it'll open correctly in InfoPath Filler Form, but give an XML error.

"该表单包含无法解析的XML:在文本内容中发现了无效字符.第1行,位置5 MSCF"

"The form contains XML that cannot be parsed: An invalid character was found in text content. Line 1, Position 5 MSCF"

当我签出基础模板时,我可以编辑模板,这再次打开InfoPath Designer,没有任何问题.

When I check out the underlying template, I can Edit the Template, which again opens up InfoPath Designer with no issues.

我还导出了模板的XML,没有发现XML错误,可以在InfoPath设计器中打开它,所以我对如何调试XML错误感到困惑.

I've also exported out the XML for the template and spot no XML errors and can open it in InfoPath designer, so I'm at a loss about how to debug the XML error.

因此,我们可以选择其中一种方法来解决该问题:

So, we can go either route to resolve the issue:

1)继续将模板文件放在Sharepoint文件夹上,并让用户单击它并填写数据,但是它必须以Filler Form(而不是Designer)打开.

1) Continue putting the template file on the Sharepoint folders and having users click on it and fill in data, but it must open in Filler Form, not Designer.

2)解决XML表单错误(我该如何调试呢?)的问题.我已将模板导出为.XML文件,但无法发现任何XML错误.

2) Fix the issue with the XML Form error (how do I go about even debugging this?) I've exported out the template as a .XML file, but can not spot any XML errors.

谢谢.

推荐答案

Hi Joran Dax,

Hi Joran Dax,

要解决此问题,请检查以下内容:

To troubleshoot the issue, check things below:

1.使用以下XML声明.

1. Using the following XML declaration.

<?xml version="1.0" encoding="iso-8859-1" ?>

   <rootelement>

   ...XML data...

   </rootelement>

2.使用数字实体引用对这些字符中的每个字符进行编码.

2. Encode each of those characters using the numeric entity reference.

有关更多详细信息,请参阅下面的文章.

For more detailed information, refer to the article below.

PRB:XML解析器:在文本内容中发现无效字符.

PRB: XML Parser: Invalid Character Was Found in Text Content.

https://support.microsoft.com/en-sg/help/238833/prb-xml-parser-invalid-character-was-found-in-text-content

最诚挚的问候,

萨拉范


这篇关于Infopath模板从Sharepoint 2013到Sharepoint Online的迁移问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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