sharepoint 陷阱

 

sharepoint系统遇到的问题
最近用户要更新编辑表单,我们的编辑表单用的InfoPath实现,所以我修改了InfoPath表单并且发布更新到SharePoint 文档库,但是再最后发布的时候,确收到错误“无法更新内容类型”,也就是说 InfoPath 表单更新不了。

经过检查,发现系统有2个非正常症状:
1 很多重复列:如下图,AGPTrans No,Book.还有很多,显示在列表上的仅仅24列,但是这个表单库确有124列。多数为重复列,去除这些重复列后表单库剩余不到30列。重复的列无法删除
 


 

2数据库的原来 AllUserData 表的 tp_ID为主键,tp_LeafName 一般情况下也唯一。但是现在用7条数据库记录来存取一条表单数据。以前是一对一的,现在是一对六。依靠 tp_RowOrdinal 来区别。
 

对以上2个症状自己的分析:
1症状一 :
如下面的链接网页中分析的,
http://social.msdn.microsoft.com/Forums/en-US/sharepointinfopath/thread/5fb199bf-06ad-4dc3-814f-d6ccb8477036
• At the end of InfoPath form publishing Wizard, it will ask you what data source you’d like to promote to SharePoint Library column. Click add button, then it will open Select a Field or Group window.  Choose “This document library” instead of “None:  Crete new column in this library” in Site column group drop down list. Default setting is "None: Create new column in this library". That's why it creates duplicate columns in your library.
2症状二:
由于症状一导致文档库的列数过多,但是数据库受到每行记录最大存取限制,所以分拆用多行来存取一条文档记录。正常情况下是一条数据库记录来存取一条文档记录的。

3更新InfoPath 表单失败的原因:
下面的链接遇到的问题也是更新发布InfoPath表单失败问题:
http://social.msdn.microsoft.com/forums/en-US/sharepointinfopath/thread/6e4f5c0c-44ff-452e-abb1-c889107d9e88/

由于InfoPath 在发布时调用web service 来更新列表库内容类型。微软申明,如果发布InfoPath表单超过30列的时候需要花费几分钟,有可能会失败。见http://support.microsoft.com/default.aspx/kb/958139

On a Windows SharePoint Services 3.0 site, you have a site content type that has more than 30 columns. You added this content type to many document libraries or to many lists on a Windows SharePoint Services 3.0 site. If you try to update the content type in InfoPath 2007, it may take several minutes to complete the update. Additionally, InfoPath seems to stop responding.


当然这一页的补丁我安装了,是没有效果的,现在好像微软也去掉了补丁下载。
再见下面这一页:
http://acuffgroup.com/2009/01/21/tip-for-publishing-infopath-form-to-sharepoint-library/
可见发布30个字段的时候缓慢,有可能会失败,60个的是一定失败,而我的是100多个。
上面的方案我也试了。没有成功。

请帮助看这种情况如何解决。

 

 

转载于:https://www.cnblogs.com/kasafuma/archive/2010/03/01/1675993.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值