博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
infopath 2007 升级到2013 栏目字段重复生成问题
阅读量:6121 次
发布时间:2019-06-21

本文共 1951 字,大约阅读时间需要 6 分钟。

1. 把Expense Statement.xsn的xsn扩展名改成zip。然后解压后会看到有一个mnifest.xsf。

 

2. 在vs 2013 中打开它。

 

3. Search for the field name, in this example Form ID. You should see something similiar to this towards the end of the file. 

<xsf:field name="Form ID" columnName="{81BDA8CC-A286-405F-8A3B-E5ADB18D9FFB}"node="/my:myFields/fxformstate:FormState/fusionx:FormID" type="xsd:string"></xsf:field>

 

4. Now search for the columnName value, the GUID, in this same file. You should find something like this.

<xsf2:fieldExtension columnId="f765018d-6b66-4b03-8408-2d6a1f8f0060" readWrite="yes" columnName="{81BDA8CC-A286-405F-8A3B-E5ADB18D9FFB}"></xsf2:fieldExtension>

 

5. Note the columId value and open SharePoint Manager 2007 on the SharePoint server.

 

6. Expand the website then Fields (or if you want to see what existing forms are using, expand ContentTypes then the form name, then Fields).

 

7. Find the field and note the Id. Does it match the columnId value from the manifest file? If so, then you're fine, go get a coffee.

 

8. If they do not match, then InfoPath thought better of using the existing column and wanted to use another. Or if your columnId is blank, ="", then it wanted to create a new one. This here is the mystery, why did InfoPath decide the field you selected wasn't important enough, I don't know.

 

9. Copy the value from SPM and replace the value in the columnId in the manifest file.

 

10. Close the manifest file and open it normally in VS, allowing the design view to appear. You can now publish the form. When publishing, DO NOT modify the field in the Column list. This may overwrite the value you entered in. Continue through the publishing wizard and upload to MOSS.

 

If all goes well, the new content type or the upgrade should use the same column as selected. To verify, open SharePoint Manager on the server, expand the website then Content Types and find your form name and check the ID of the Field.

转载于:https://www.cnblogs.com/hqbird/p/3771791.html

你可能感兴趣的文章
决心书
查看>>
计算机网络(2)
查看>>
Nginx unit 源码安装初体验
查看>>
PTA基础编程题目集6-2多项式求值(函数题)
查看>>
哈佛医生帮你增强记忆力
查看>>
Cloudera Search配置
查看>>
[原译]类型安全的黑板模式(属性包)
查看>>
【转】python中的一维卷积conv1d和二维卷积conv2d
查看>>
第十章:为文本添加样式
查看>>
WebApi系列~通过HttpClient来调用Web Api接口~续~实体参数的传递
查看>>
二叉树与双向链表的转换
查看>>
SharePOint 2010 dashboard designer 使用说明
查看>>
Laravel Eloquent ORM 数据model操作
查看>>
对shell脚本进行加密
查看>>
对象的深度复制
查看>>
元数据 Metadata
查看>>
GPIO_Remap_SWJ_JTAGDisable
查看>>
留言板小程序开发笔记2
查看>>
再谈 iptables 防火墙的 指令配置
查看>>
我为什么要用CSDN博客?
查看>>