在文档集字段中删除特定字符 [英] Remove specific char in document set field
本文介绍了在文档集字段中删除特定字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个Sharepoint网站,里面放置了一个文档.我需要在文档集中所有项目的一个特定字段中删除空格字符(空格).最好的方法吗?
I have a Sharepoint site with one document set inside. I need to remove spacific char (space) in one specific field for all item inside the document set. Best way for do that?
推荐答案
您可以尝试使用包含空格的PowerShell更新字段值.
示例脚本:
Add-PSSnapin Microsoft.SharePoint.PowerShell -EA SilentlyContinue
web = Get-SPWeb http://sp:12001 #获取联系人列表
web = Get-SPWeb http://sp:12001 #Get the Contacts List
列表=
这篇关于在文档集字段中删除特定字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文