有人可以让我知道 Sharepoint 中的文档、内容和项目之间的区别吗
有人可以让我知道 Sharepoint 中文档、内容和项目之间的区别吗?
还请让我知道如何获取文档的大小。例如,如果sharepoint服务器中有一个名为a.doc的文档,大小为2KB。该文件的哪个属性返回大小。
我可以做的一个解决方法是我可以将其下载到一台机器上并获取大小。但我对此不感兴趣。
谢谢, 拉贾斯。
Could someone please let me know the difference between the Document, Content and an Item in Sharepoint
Also please let me know how to fetch the size of a document. For example, if there is a document named a.doc which is 2KB in sharepoint server. which property of this file returns the size.
One workaround which I could do is that I can download it to a machine and get the size. But I am not interested in this.
Thanks,
Rajath.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
项目
项目只是包含您喜欢的字段的记录。每个项目都有 ID、标题和许多其他字段。您可以添加日期、选择、计算、用户和更多不同的字段。字段只是您在查看项目时看到的一列。
列表项可以有附件。您可以将多个项目/文档附加到单个列表项目。
文档
当您有文档库时,您的文档也是一个列表项。只是当您打开它时,您就打开了文档。当您尝试创建一个新文件时,它会再次为您打开 Word/Excel。当您保存 - bam 时,您的文档库中就会有一个新条目。文档库还具有这些字段(对于文档库,它们称为属性),您可以使用编辑表单进行编辑。您不能为文档添加附件 - 文档只是文档。
使用文档库的优点是您可以在文档内编辑这些文档属性。您还可以拥有针对特定文档类型的模板。还可以使用 Windows 资源管理器浏览文档库。
Item
An item is just a record with fields you like. Each item has ID, Title and many other fields. You can add Date, Choice, Calculated, User and many more different fields. A field is just a column you see when viewing items.
List items can have attachments. You can attach many items/documents to a single list item.
Document
When you have a document library, your document is also a list item. It's just when you open it, you open the document. When you try to create a new one, again it opens word/excel for you. When you save - bam, you have a new entry in your document library. The document library also has these fields (they are called properties in case of a document library) which you can edit using the edit form. You cannot have attachments for a document - a document is just a document.
Advantage of using a document library is that you can edit these document properties inside the document. You can also have a template for a specific document type. The document library can also be browsed using windows explorer.
以下是 SharePoint 2010 中使用的所有术语的列表 - http: //msdn.microsoft.com/en-us/library/ee556558%28office.14%29.aspx
要获取文档的大小,请使用以下命令:
heres a list of all terms used in SharePoint 2010 - http://msdn.microsoft.com/en-us/library/ee556558%28office.14%29.aspx
to get the size of a document use the following: