Views
Creates, updates, deletes, and queries the available lists in SharePoint.
テーブル固有の情報
Views は特別なテーブルです。これを使用して、指定されたリストのビューを取得、更新、挿入、および削除できます。
Select
Views から結果を返すには、SELECT ステートメントでID またはList のいずれかを指定する必要があります。次に例を示します。SELECT * FROM Views WHERE List = 'MyListName'
Insert
このテーブルに挿入するにはList、Name、Type、およびFields カラムが必要です。
Columns
Name | Type | ReadOnly | Description |
ID [KEY] | String | True |
The Id of the view. |
List | String | True |
The list the view is associated with. A list must be specified when performing SELECT statements if the Id is not specified. |
ViewID | String | True |
The Id of the view. May only be unique for the specific list. |
Name | String | False |
The name of the view. |
Type | String | False |
The type of view. This must have a value on inserts and updates. 使用できる値は次のとおりです。CALENDAR, GRID, HTML デフォルト値はHTMLです。 |
Fields | String | False |
A comma-separated list of the fields associated with the view. This is space-sensitive. |
IsDefault | Boolean | False |
A boolean indicating if the view is the default view for the list. |
Query | String | False |
A query for the view. |