SharePoint 2010 列表 Schema.XML 未按想象工作
我在 VS 中创建了一个外部列表,在 schema.XML 文件中我有一些字段,我想更改它们的显示名称,并格式化一些日期。
我们在 SP 中创建了一个外部列表,导出了 wsp,并获取了站点的列表组件并将其添加到我们的项目中。
这是我认为可行的示例,但事实并非如此。
<Field DisplayName="Date Closed" Format="DateOnly" Hidden="FALSE" Name="DateClosed" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="DateClosed" Type="DateTime" />
<Field DisplayName="Closed By" Hidden="FALSE" Name="ClosedBy" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="ClosedBy" Type="Text" />
我们在正在运行的部分中有一个过滤器设置,所以我知道该文件正在被使用。关于为什么我对该领域所做的更改没有生效有什么见解吗?
I am created an External List in VS and in the schema.XML file I have a few fields that I would like to change their display name, and format some dates.
We created an External List in SP, exported the wsp, and grabbed the list components of the site and added it to our project.
Here is an example of what I thought would work, but it does not.
<Field DisplayName="Date Closed" Format="DateOnly" Hidden="FALSE" Name="DateClosed" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="DateClosed" Type="DateTime" />
<Field DisplayName="Closed By" Hidden="FALSE" Name="ClosedBy" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="ClosedBy" Type="Text" />
We have a filter setup in the section which is working, so I know that the file is being used. Any insight as to why the changes I made to the field are not taking effect?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论