将字段属性添加到Sharepoint列表(库)

时间:2014-10-20 13:48:42

标签: sharepoint sharepoint-2010 sharepoint-2013

我通过调用Lists-Webservice获取不同SharepointLists的列表元数据:

        [DocTemplateUrl] => 
        [DefaultViewUrl] => 
        [MobileDefaultViewUrl] => 
        [ID] => {D33D2DEF-1404-4007-8D79-EE9EF75E5AC4}
        [Title] => appdata
        [Description] => 
        [ImageUrl] => /_layouts/15/images/itgen.png?rev=23
        [Name] => {D33D2DEF-1404-4007-8D79-EE9EF75E5AC4}
        [BaseType] => 0
        [FeatureId] => 
        [ServerTemplate] => 125
        [Created] => 20141006 14:46:58
        [Modified] => 20141006 14:46:58
        [LastDeleted] => 20141006 14:46:58
        [Version] => 0
        [Direction] => none
        [ThumbnailSize] => 
        [WebImageWidth] => 
        [WebImageHeight] => 
        [Flags] => 20756
        [ItemCount] => 0
        [AnonymousPermMask] => 0
        [RootFolder] => 
        [ReadSecurity] => 1
        [WriteSecurity] => 1
        [Author] => 3
        [EventSinkAssembly] => 
        [EventSinkClass] => 
        [EventSinkData] => 
        [EmailAlias] => 
        [WebFullUrl] => /
        [WebId] => 1f8e1fa6-d3fa-4393-98f5-deb4b3c89040
        [SendToLocation] => 
        [ScopeId] => 5c1f32b6-cb59-4ac8-b5ba-4eac5788c671
        [MajorVersionLimit] => 0
        [MajorWithMinorVersionsLimit] => 0
        [WorkFlowId] => 
        [HasUniqueScopes] => False
        [NoThrottleListOperations] => False
        [HasRelatedLists] => 
        [Followable] => False
        [AllowDeletion] => False
        [AllowMultiResponses] => False
        [EnableAttachments] => True
        [EnableModeration] => False
        [EnableVersioning] => False
        [HasExternalDataSource] => False
        [Hidden] => True
        [MultipleDataList] => False
        [Ordered] => False
        [ShowUser] => True
        [EnablePeopleSelector] => False
        [EnableResourceSelector] => False
        [EnableMinorVersion] => False
        [RequireCheckout] => False
        [ThrottleListOperations] => False
        [ExcludeFromOfflineClient] => False
        [CanOpenFileAsync] => True
        [EnableFolderCreation] => True
        [IrmEnabled] => False
        [IsApplicationList] => False
        [PreserveEmptyValues] => False
        [StrictTypeCoercion] => False
        [EnforceDataValidation] => False
        [MaxItemsPerThrottledOperation] => 5000

是否可以在Sharepoint中的列表中添加新字段?我不想在列表中为文档属性添加列,而是添加一个字段作为列表元数据,以使用lists-webservice检索它。

THX!

1 个答案:

答案 0 :(得分:0)

您可以添加现有网站列,创建新网站列,创建新列表列等。只需选择您的偏好,在任何正常情况下,您都希望创建一个站点列。

这可以通过代码,PowerShell或SharePoint gui

来完成

但是既然你问这个问题,我建议你继续使用GUI,直到你对SharePoint有更多了解