开发者

SharePoint 2010 List Schema.XML not working as imagined

开发者 https://www.devze.com 2023-03-09 08:03 出处:网络
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.

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 开发者_StackOverflow社区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?

0

精彩评论

暂无评论...
验证码 换一张
取 消