Widgets
Retrieve and query information related to widgets.
テーブル固有の情報
SELECT
本製品 は CloudSign API を使用して、以下のカラムと演算子で構築されたWHERE句条件を処理します。その他のフィルタはクライアント側で本製品 内部で処理されます。
- DocumentId カラムは= 演算子をサポートしています。
- TeamDocuments 疑似カラムは= 演算子をサポートしています。
例えば、次のクエリはサーバー側で処理されます。
SELECT * FROM Widgets WHERE DocumentId = 'caa8f083-6e48-4b4b-9f42-d27544c4e662'
SELECT * FROM Widgets WHERE TeamDocuments = true
INSERT
Status、H、W 以外のすべてのカラムを指定できます。INSERT には、DocumentId、FileId、ParticipantId、WidgetType、Page、X、Y が必須です。
INSERT INTO Widgets (DocumentId, FileId, ParticipantId, Text, WidgetType, Page, X, Y, Label) VALUES ('b4569785-8e87-4595-a435-88649dc3c644', 'be175a71-b132-48ca-aceb-868203975cc5', '0bf35cc7-6ca6-479c-9c60-d100cb926bf0', 'Insert Widgets Text', '1', '1', '100', '200', 'Insert Label')
UPDATE
Status、H、W 以外のすべてのカラムを更新できます。UPDATE には、WidgetType が必須です。UPDATE には、抽出条件にDocumentId、FileId、WidgetId が必要です。
UPDATE Widgets SET ParticipantId = '0bf35cc7-6ca6-479c-9c60-d100cb926bf0', Text = 'Update Text', WidgetType = '0', Page = '2', X = '300', Y = '400', Label = 'Update Label' WHERE DocumentId = 'b4569785-8e87-4595-a435-88649dc3c644' AND FileId = 'be175a71-b132-48ca-aceb-868203975cc5' AND WidgetId = 'f1c623a0-393f-4423-a91b-719b7e361907'
DELETE
DocumentId、FileId、WidgetId を指定して入力項目を削除できます。
DELETE FROM Widgets WHERE DocumentId = 'b4569785-8e87-4595-a435-88649dc3c644' AND FileId = 'be175a71-b132-48ca-aceb-868203975cc5' AND WidgetId = 'f1c623a0-393f-4423-a91b-719b7e361907'
Columns
| Name | Type | ReadOnly | Description |
| DocumentId [KEY] | String | False |
Document Id. |
| Title | String | True |
Title of the document. |
| FileId [KEY] | String | False |
File id. |
| WidgetId [KEY] | String | True |
Widget Id. |
| ParticipantId | String | False |
Participant Id. |
| Status | Integer | True |
Widget status. |
| Text | String | False |
Text entered in the input field. |
| WidgetType | Integer | False |
Type of input item (0 for impression / 1 for free text). |
| Page | Integer | False |
The page number of the target file for which the input item is set. |
| X | Integer | False |
X coordinate of the installation position in the target file / target page at the upper left of the input item. |
| Y | Integer | False |
Y coordinate of the installation position in the target file / target page at the upper left of the input item. |
| H | Integer | True |
Height of input item. |
| W | Integer | True |
Width of input item. |
| Label | String | False |
Label entered in input field. |
| FontSize | String | False |
Font size in points for free-text widgets (WidgetType 1). One of 8, 9, 10, 11, 12, 13, 14; leave empty to reset to the default. Ignored for other widget types. |
Pseudocolumns
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるデータを詳細に制御することができます。
| Name | Type | Description |
| TeamDocuments | Boolean |
Acquisition of documents lists of all members. |