从 GetListItems 返回的 Sharepoint WSS 3.0 属性
从 Lists.GetListItems 返回的属性是否有一些定义?我可以很好地查看重新调整的属性,但我想知道它们是否会改变?
以下是我所看到的一些示例... @ows_Author、@ows_FileDirRef、@ows_PermMask
我想围绕这些值构建一些类,我担心的是,如果它们没有在某个地方发布,微软可能会更改它们或某些设置在Sharepoint 可能。
Is there some definition around the attributes that are returned from the Lists.GetListItems? I am able to view the attributes retuned just fine but I am wondering if they would ever change?
Here are some examples of what I am seeing... @ows_Author, @ows_FileDirRef, @ows_PermMask
I would like to build some classes around these values and my concern is that if they are not published somewhere Microsoft may up and change them or some setting in Sharepoint may.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
它们可能会随着共享点(主要)版本的变化而变化。那么一切改变都是可能的。
不要认为它会发生在小版本中。
但是,它们也可能会根据您查询的列表而变化。但是您提到的字段和 许多其他字段是每个列表都将包含的基本字段。
如果您想自己查看字段数据(例如,它们是什么类型),请下载 Sharepoint Manager -对于开发人员来说,它是非常宝贵的工具。
It is possible that they change as sharepoint (major) version changes. Every change is possible then.
Don't think it would happen in minor version.
However they may also change depending on what list you query. But fields your mentioned and many other fields are basic fields that every list will contain.
If you want to view field data yourself (for example, what Type they are), download Sharepoint Manager - it's invaluable tool for a developer.
这些是默认 SharePoint 字段的内部字段名称。除非您明确更改它们,否则它们将保持不变。
Micheal Yeager 的博客中有一个表描述了这些字段及其数据类型:
http:// blogs.msdn.com/michael_yeager/archive/2008/11/03/reference-list-for-internal-field-names.aspx
These are internal field names for default SharePoint fields. Unless you explicitly change them, they will remain the same.
Micheal Yeager's blog has a table which describes these fields and their data types:
http://blogs.msdn.com/michael_yeager/archive/2008/11/03/reference-list-for-internal-field-names.aspx