Documents
Create, update, delete, and query Documents from SharePoint libraries.
テーブル固有の情報
Select
フォルダ内のアイテムを取得するには、WHERE 句でPath もしくはFileDirRef フィールド(それぞれUseDisplayNames がTrue もしくはFalse であるかにより)を使う必要があります。次に例を示します。
SELECT * FROM MyDocumentLibrary WHERE SubFolder='MyDocumentLibrary/MyFolder'
Insert
このテーブルに挿入するにはTitle 列が必要です。
Columns
Name | Type | ReadOnly | Description |
ID [KEY] | String | True |
The ID of the document. The format of the ID is: List|ItemID. |
List | String | False |
The name of the document list. |
LinkFileName | String | False |
The title of the document. |
CheckOutUser | String | False |
The user that the document is checked out to. |
Author | String | False |
The user that created the item. |
Editor | String | False |
The last user that modified the item. |
Modified | Date | False |
The date modified. |
Created | Date | False |
The date created. |
Pseudo-Columns
SELECT ステートメントのWHERE 句では、疑似列フィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
Subfolder | String |
A subfolder to specify if you would like to list documents in subfolders as well. Use * to denote all subfolders. デフォルト値は*です。 |
CAMLQuery | String |
The query to be used while listing the list items. |