CData Cloud は、クラウドホスト型のソリューションで、複数の標準サービスやプロトコルにまたがるSmartsheet へのアクセスを実現します。SQL Server データベースに接続できるアプリケーションであれば、CData Cloud を介してSmartsheet に接続できます。
CData Cloud により、他のOData エンドポイントや標準SQL Server と同じように、Smartsheet への接続を標準化し、構成することができます。
このページでは、CData Cloud でのSmartsheet への接続の確立 のガイド、利用可能なリソースに関する情報、および使用可能な接続プロパティのリファレンスについて説明します。
接続の確立 は、CData Cloud にデータベースを作成するためのSmartsheet への認証方法と必要な接続プロパティの設定方法について示します。
利用可能な標準サービスを経由してSmartsheet からデータにアクセスする方法と、CData Cloud の管理については、CData Cloud ドキュメント で詳しく説明します。
Database タブで対応するアイコンを選択して、Smartsheet に接続します。必須プロパティはSettings にリストされています。Advanced タブには、通常は必要ない接続プロパティが表示されます。
Smartsheet は、以下の認証メソッドによる接続をサポートしています。
個人用トークンを使用して、自分のデータをテストし、アクセスします。個人用トークンを取得する方法は次のとおりです。
Smartsheet への接続 をクリックして、デフォルトブラウザでOAuth エンドポイントを開きます。ログインして、アプリケーションにアクセス許可を与えます。
ドライバーは、以下のようにOAuth プロセスを完了します。
デフォルトでは、Cloud はサーバーとのTLS のネゴシエーションを試みます。サーバー証明書は、デフォルトのシステム信頼済み証明書ストアで検証されます。SSLServerCert 接続プロパティを使用して、証明書の検証方法をオーバーライドできます。
別の証明書を指定するには、SSLServerCert 接続プロパティを参照してください。
HTTP プロキシへの認証には、以下のように設定します。
次のプロパティを設定します。
CData Cloud はSmartsheet データを使いやすいSQL データベースとしてモデル化します。
Cloud のデータモデルは動的です。これは、Cloud を使用して接続すると、新しいテーブルの追加、新しいカラムの追加、カラムのデータ型の変更など、Smartsheet UIで行ったあらゆる変更が自動的にCloud のスキーマに含まれることを意味します。
ただし、ワークスペースやフォルダなど、一部のテーブルやビューは静的です。これらは、簡単なテキストベースのコンフィギュレーションファイルであるスキーマファイルにて定義されます。静的なテーブルとビューには'Info_' という接頭辞が付きます。
一般的なテーブルには以下のものが含まれます。
| テーブル | 説明 |
| Info_Sheets | Explore detailed metadata and structure of Smartsheet sheets, including their components like columns, rows, and attachments. |
| Info_Rows | Retrieve detailed row data, including cells, discussions, and attachments, for enhanced row-level analysis. |
| Info_Columns | Retrieve metadata and properties of columns in Smartsheet sheets or reports, essential for understanding sheet structures. |
| Info_Cells | Explore individual cell data in Smartsheet rows, offering granular insights into sheet contents. |
| Info_Attachments | Retrieve detailed information about Smartsheet attachments, which can be associated with comments, rows, or sheets, providing a comprehensive view of file dependencies. |
| Info_Comments | Access comments within discussions in Smartsheet, providing insights into collaboration history. |
| Info_Discussions | Analyze discussion threads, including comments, tied to specific rows or sheets for better communication tracking. |
| Info_Users | Query user data within an organization for administrative and reporting purposes. |
| Info_Workspaces | Access workspace-level details, including sheets and folders, for better organizational insights. |
| Info_Folders | Explore folder structures in Smartsheet, including user-level folders and workspace organization. |
| Info_Reports | Query Smartsheet reports, providing insights into custom aggregated data across sheets. |
| Info_Templates | Retrieve Smartsheet template information to streamline the creation of standardized sheets. |
| Info_Groups | Retrieve group information for enhanced user management and role-based permissions in Smartsheet. |
| Info_Contacts | Query Smartsheet user contact details, facilitating management of personal and shared connections. |
| Info_Home | Access items available on the Smartsheet Home tab, offering a centralized view of user-permissible objects. |
| Info_Favorites | Retrieve a user's favorite items in Smartsheet, helping prioritize frequently accessed content. |
| Info_ServerInformation | Access Smartsheet server information and application constants, useful for API integrations. |
| Info_CellHistory | Access the historical changes of specific cells in Smartsheet, enabling detailed audit and tracking capabilities. |
ストアドプロシージャ は、SQLクエリを介して呼び出されるアクションです。標準的なCRUD 操作だけでなく、シートや添付ファイルの管理、OAuth 資格情報の取得などのより高度なタスクも実行します。
Cloud は、Smartsheet API を使用してサポートされているフィルタを処理します。その他のフィルタは、Cloud 内でクライアント側で処理されます。
You can add hyperlink columns to table schema files generated by the CreateSchema stored procedure.
After generating a schema file from the desired table, add a new column (attr) as follows:
These two values must match exactly.
For example, suppose you have this column in your schema file:
<attr name="MyColumnName" xs:type="string" ... other:columnid="5555555555555555"/>
Your new hyperlink column attached to this column should look like this:
<attr name="nameLink" xs:type="string" ... other:columnid="YourUniqueIDHere" other:hyperlink="MyColumnName"/>
Cloud はSmartsheet のデータを、標準のSQL ステートメントを使用してクエリできるリレーショナルデータベースのテーブルのリストとしてモデル化します。
| Name | Description |
| Info_Attachments | Read and upload attachments in the sheets of your Smartsheet account. |
| Info_Columns | Read and write properties of columns in your Smartsheet sheets. |
| Info_Comments | Read and write comment data on your Smartsheet sheets. |
| Info_Discussions | Read and write discussions data on your Smartsheet sheets. |
| Info_Folders | Read and write folders data in your Smartsheet account. |
| Info_Groups | Read and write groups data in your Smartsheet account. |
| Info_Users | Read and write users data in your Smartsheet account. |
| Info_Workspaces | Read and write workspace data in your Smartsheet account. |
Read and upload attachments in the sheets of your Smartsheet account.
Retrieve all attachments from all sheets.
SELECT * FROM Info_Attachments
Retrieve all attachments in a specific sheet.
SELECT * FROM Info_Attachments WHERE SheetId = '2940085806098308'
Retrieve all attachments in a specific discussion.
SELECT * FROM Info_Attachments WHERE SHEETId = '2940085806098308' AND DiscussionId = '8206230771525508'
Retrieve all attachments in a specific row of a sheet.
SELECT * FROM Info_Attachments WHERE SheetId = '2940085806098308' AND RowId = '6773684447799172'
Retrieve all attachments in a specific comment of a sheet.
SELECT * FROM Info_Attachments WHERE SheetId = '2940085806098308' AND CommentId = '1322606759569284'
Retrieve details of a specific attachment in a sheet.
SELECT * FROM Info_Attachments WHERE SheetId = '2940085806098308' AND Id = '3053958945105796'
The Name column is required in every case. Other required columns vary depending on the type of attachment you are creating. Refer to the query examples below.
INSERT INTO Info_Attachments (SheetId, Name, AttachmentType, URL) VALUES ('2940085806098308', 'Link Attachment', 'LINK', 'https://cdata.com')
INSERT INTO Info_Attachments (SheetId, RowId, Name, AttachmentType, AttachmentSubType, URL) VALUES ('2940085806098308', '6773684447799172', 'Sheet Attachment', 'GOOGLE_DRIVE', 'SPREADSHEET', 'https://docs.google.com/spreadsheets/d/xxxx_yyyy/edit?usp=drive_link')
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The unique identifier of the attachment. | |
| Name | String | False |
The name of the attachment. | |
| Url | String | False |
The temporary URL of the attachment. | |
| UrlExpiresInMillis | Long | True |
The temporary URL time to live for the attachment. | |
| AttachmentType | String | False |
The attachment type. Possible values are: 'FILE', 'GOOGLE_DRIVE', 'LINK', 'BOX_COM', 'DROPBOX', 'EVERNOTE', and 'EGNYTE'. | |
| AttachmentSubType | String | False |
The attachment subtype, valid only for either 'GOOGLE_DRIVE' attachments or 'EGNYTE' attachments. Possible values for 'GOOGLE_DRIVE' attachments: 'DOCUMENT', 'SPREADSHEET', 'PRESENTATION', 'PDF', 'DRAWING'. Possible values for 'EGNYTE' attachments: 'FOLDER'. | |
| CreatedAt | Timestamp | True |
A timestamp of when the attachment was originally added. | |
| UserId | String | True |
The unique identifier of the user who created the attachment. | |
| UserEmail | String | True |
The email address of the user who created the attachment. | |
| UserName | String | True |
The full name of the user who created the attachment. | |
| MimeType | String | True |
Attachment MIME type. For example 'PNG'. | |
| ParentType | String | True |
The type of the object the attachment belongs to. Possible values: 'SHEET', 'ROW', or 'COMMENT'. | |
| ParentId | String | True |
The unique identifier of the object the attachment belongs to. | |
| SizeInKb | Long | True |
The size of the file, if the attachment is a file. | |
| SheetId | String | False |
The Id of the sheet. | |
| RowId | String | False |
The Id of the row. | |
| DiscussionId | String | True |
The Id of the discussion. | |
| CommentId | String | False |
The Id of the comment. | |
| Description | String | False |
The description of the attachment. |
Read and write properties of columns in your Smartsheet sheets.
Retrieve all columns in a sheet.
SELECT * FROM Info_Columns WHERE SheetId = '568679927703428'
Retrieve details of a specific column in the sheet.
SELECT * FROM Info_Columns WHERE SheetId = '568679927703428' AND Id = '1967782344478596'
INSERT INTO Info_Columns (SheetId, Index, Title, Type) VALUES ('568679927703428', 1, 'Test Column 1', 'TEXT_NUMBER')
UPDATE Info_Columns SET Index = 3, Title = 'Transportation', Type = 'PICKLIST', OptionsAggregate = '["ship", "motorcycle", "airplane"]', Hidden = false, Width = 30, Locked = false, LockedForUser = false WHERE SheetId = '568679927703428' AND Id = '1967782344478596'
DELETE FROM Info_Columns WHERE SheetId = '568679927703428' AND Id = '1967782344478596'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
The unique identifier for the column, used to reference it programmatically. | |
| Index | Integer | False |
The numeric position of the column in the sheet, starting at 0 for the first column. | |
| Title | String | False |
The displayed name of the column, as shown in the Smartsheet interface. | |
| Primary | Boolean | True |
Indicates whether this column is the primary column, which typically contains key identifiers or names for rows. | |
| Type | String | False |
The functional data type of the column, determining how data is stored and validated. 使用できる値は次のとおりです。TEXT_NUMBER, CHECKBOX, DATE, DATETIME, ABSTRACT_DATETIME, PICKLIST, MULTI_PICKLIST, CONTACT_LIST, MULTI_CONTACT_LIST, DURATION, PREDECESSOR | |
| OptionsAggregate | String | False |
A list of selectable options for the column, applicable for columns like dropdowns or picklists. | |
| ContactOptions | String | False |
Array of the contact options available for the column. | |
| Hidden | Boolean | False |
Indicates whether the column is hidden in the Smartsheet interface. | |
| Symbol | String | False |
Represents visual markers or indicators used in the column, with values varying by column type (for example, checkboxes, picklists). 使用できる値は次のとおりです。ARROWS_3_WAY, ARROWS_4_WAY, ARROWS_5_WAY, DECISION_SHAPES, DECISION_SYMBOLS, DIRECTIONS_3_WAY, DIRECTIONS_4_WAY, EFFORT, HARVEY_BALLS, HEARTS, MONEY, PAIN, PRIORITY, PRIORITY_HML, PROGRESS, RYG, RYGB, RYGG, SIGNAL, SKI, STAR_RATING, VCR, WEATHER | |
| ColumnType | String | False |
The system-defined column type. 使用できる値は次のとおりです。AUTO_NUMBER, CREATED_BY, CREATED_DATE, MODIFIED_BY, MODIFIED_DATE | |
| TagsAggregate | String | True |
Defines system tags for the column, used to indicate roles in features like Gantt charts or calendars (for example, 'gantt_duration'). | |
| Width | Integer | False |
The pixel width used to display the column in the sheet's user interface. | |
| Format | String | False |
The applied formatting settings for the column, such as text alignment or date format. | |
| FilterType | String | True |
Specifies the type of filter applied to the column, with options such as 'list' for predefined values or 'custom' for user-defined filters. | |
| Locked | Boolean | False |
Indicates whether the column is locked, preventing edits by all users except the owner or admin. | |
| LockedForUser | Boolean | False |
Indicates whether the column is locked for the current user based on their permissions. | |
| SheetId | String | False |
The unique identifier of the sheet to which this column belongs. |
Read and write comment data on your Smartsheet sheets.
Retrieve all comments from a sheet.
SELECT * FROM Info_Comments WHERE SheetId = '2940085806098308';
SELECT * FROM Info_Comments WHERE SheetId IN ('2940085806098308', '8075134644473732');
Retrieve all comments from a specific discussion in the sheet.
SELECT * FROM Info_Comments WHERE SheetId = '2940085806098308' AND DiscussionId = '8206230771525508'
Retrieve a specific comment in the sheet.
SELECT * FROM Info_Comments WHERE SheetId = '2940085806098308' AND Id = '1322606759569284'
INSERT INTO Info_Comments (SheetId, DiscussionId, Text) VALUES ('568679927703428', '4661021235275652', 'This is a comment 3')
UPDATE Info_Comments SET Text = 'My Comment.' WHERE SheetId = '2736916857677700' AND Id = '3641651486822276'
DELETE FROM Info_Comments WHERE SheetId = '2736916857677700' AND Id = '3641651486822276'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A unique identifier assigned to each comment, ensuring it can be referenced distinctly. | |
| Text | String | False |
The main content of the comment, containing the user's input or feedback. | |
| UserName | String | True |
The name of the user who authored the comment, useful for identifying contributors. | |
| UserEmail | String | True |
The email address of the user who authored the comment, allowing for communication or verification. | |
| CreatedAt | Datetime | True |
The timestamp indicating when the comment was originally created. | |
| ModifiedAt | Datetime | True |
The timestamp indicating the most recent update or edit made to the comment. | |
| AttachmentsAggregate | String | True |
A serialized array of attachment objects associated with the comment, providing access to related files. | |
| DiscussionId | String | False |
The unique identifier of the discussion thread to which the comment belongs. | |
| SheetId | String | False |
The unique identifier of the sheet where the comment is located. |
Read and write discussions data on your Smartsheet sheets.
Retrieve all discussions in a sheet.
SELECT * FROM Info_Discussions WHERE SheetId = '2940085806098308'
Retrieve all discussions in a specific row of a sheet.
SELECT * FROM Info_Discussions WHERE SheetId = '2940085806098308' AND RowId = '6773684447799172'
Retrieve details of a specified discussion.
SELECT * FROM Info_Discussions WHERE SheetId = '2940085806098308' AND Id = '8206230771525508'
INSERT INTO Info_Discussions (SheetId, FirstDiscussionComment) VALUES ('568679927703428', 'This is a comment 1')
INSERT INTO Info_Discussions (RowId, SheetId, FirstDiscussionComment) VALUES ('1889077216995204', '568679927703428', 'This is a comment 2')
DELETE FROM Info_Discussions WHERE SheetId = '8449165781585796' AND Id = '5354407478988676'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | False |
A unique identifier for the discussion within the Smartsheet. | |
| Title | String | False |
The subject or headline of the discussion, providing a brief summary of its content. | |
| AccessLevel | String | False |
Indicates the user's permission level for accessing the discussion (for example, view, edit). | |
| ParentId | String | False |
The unique identifier of the row or sheet directly associated with the discussion. | |
| ParentType | String | False |
Specifies whether the discussion is linked to a row or a sheet. Possible values include: SHEET or ROW. | |
| LastCommentedAt | Datetime | False |
The timestamp indicating when the most recent comment was added to the discussion. | |
| LastCommentBy | String | False |
The full name of the user who made the latest comment in the discussion. | |
| CreatorName | String | False |
The full name of the user who initiated the discussion. | |
| ReadOnly | Boolean | False |
Indicates if the discussion is in a read-only state, preventing any modifications. | |
| SheetId | String | False |
The unique identifier of the sheet where the discussion is located. | |
| RowId | String | False |
The unique identifier of the row associated with the discussion. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| FirstDiscussionComment | String |
A special input-only field for adding the initial comment to a new discussion. |
Read and write folders data in your Smartsheet account.
SELECT * FROM Info_Folders
Retrieve details for a specific folder.
SELECT * FROM Info_Folders WHERE Id = '2035256120371076'
Retrieve all folders in a specific workspace.
SELECT * FROM Info_Folders WHERE WorkspaceId = '2940085806098308'
Retrieve all folders which are located beneath the folder specified in the folder hierarchy. Only simple criteria like the ones below can be processed for this pseudo-column, otherwise the condition will just be ignored:
SELECT * FROM Info_Folders WHERE RootFolderId = '993868452784004';
SELECT * FROM Info_Folders WHERE RootFolderId = '993868452784004' AND Name = 'MyFolder';
INSERT INTO Info_Folders (WorkspaceId, Name) VALUES ('609757951223684', 'My Folder 1')
INSERT INTO Info_Folders (ParentFolderId, Name) VALUES ('5465554459879300', 'My Folder 1')
UPDATE Info_Folders SET Name = 'My Test Folder 1' WHERE Id = '2035256120371076'
DELETE FROM Info_Folders WHERE Id = '2035256120371076'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A system-generated unique identifier for the folder, used to reference it programmatically. | |
| Name | String | False |
The user-defined name of the folder, typically representing its content or purpose. | |
| Permalink | String | True |
A direct, shareable URL linking to the folder within Smartsheet, useful for quick access. | |
| Favorite | Boolean | True |
Indicates whether the user has marked the folder as a favorite for easier navigation in their Home tab. | |
| WorkspaceId | String | False |
The unique identifier of the workspace that contains this folder, useful for context within a workspace hierarchy. | |
| ParentFolderId | String | False |
Info_Folders.Id |
The unique identifier of the parent folder where the folder is stored, indicating its organizational structure. |
| CreatedAt | Datetime | True |
The time when the folder was created. | |
| ModifiedAt | Datetime | True |
The time when the folder was last modified. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| RootFolderId | String |
The Id of the root folder in which the object resides. Can be used to query the data from only a specific folder (and its subfolders) in the Smartsheet hierarchy. |
Read and write groups data in your Smartsheet account.
SELECT * FROM Info_Groups
Retrieve details for a specific group.
SELECT * FROM Info_Groups WHERE Id = '2035256120371076'
INSERT INTO Info_Groups (Name, Description, MemberEmails) VALUES ('My Group', 'Testing Group 1.', '[email protected],[email protected]')
UPDATE Info_Groups SET Name = 'Testing Group 1', Description = 'My Testing Group 1.', OwnerId = '8428447480473476' WHERE Id = '2035256120371076'
DELETE FROM Info_Groups WHERE Id = '2035256120371076'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A unique identifier for the group, used as the primary key. | |
| Name | String | False |
The descriptive name of the group, typically used for display and identification. | |
| Description | String | False |
A brief summary or details about the purpose or function of the group. | |
| Owner | String | True |
The email address of the user who owns or administers the group. | |
| OwnerId | String | False |
The unique identifier for the user who owns or manages the group. | |
| CreatedAt | Datetime | True |
The timestamp indicating when the group was initially created. | |
| ModifiedAt | Datetime | True |
The timestamp indicating the most recent update or change made to the group. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| MemberEmails | String |
A comma separated list of values containing the emails of the users to add in the group. This column is write-only and can be used only for INSERT statements. |
Read and write users data in your Smartsheet account.
SELECT * FROM Info_Users
Retrieve all users in a specific group.
SELECT * FROM Info_Users WHERE GroupId = '2928085806875091'
INSERT INTO Info_Users (Email, LicensedSheetCreator, Admin) VALUES ('[email protected]', true, true)
UPDATE Info_Users SET FirstName = 'My Test', LastName = 'User 1', Admin = false, GroupAdmin = false, LicensedSheetCreator = false WHERE Id = '8307802553771908'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A unique identifier assigned to each user, used to differentiate them within the system. | |
| AccountId | String | True |
The unique identifier of the account to which the user belongs, establishing account association. | |
| AccountName | String | True |
The name of the account associated with the user, providing a human-readable reference. | |
| String | False |
The email address registered for the user, used for communication and login purposes. | ||
| Name | String | True |
The user's full name as it appears in the system, combining first and last name. | |
| FirstName | String | False |
The user's first name, typically used in personal greetings and identification. | |
| LastName | String | False |
The user's last name, often used for formal identification. | |
| Admin | Boolean | False |
Indicates whether the user is a system administrator with privileges to manage accounts and other users. | |
| Locale | String | True |
The language and regional settings associated with the user, impacting date formats and other locale-specific elements. | |
| TimeZone | String | True |
The user's timezone, used to localize date and time information across the platform. | |
| LicensedSheetCreator | Boolean | False |
Indicates if the user holds a license to create and own sheets within the system. | |
| GroupAdmin | Boolean | False |
Specifies whether the user can create and manage groups, granting them group admin privileges. | |
| ResourceViewer | Boolean | False |
Indicates if the user has access to view resource management features such as workload views. | |
| Status | String | True |
The current status of the user within the system. Possible values include: ACTIVE, PENDING, or DECLINED. | |
| GroupId | String | True |
The unique identifier of the group to which the user belongs, if applicable. | |
| Company | String | True |
The name of the company the user is associated with. Populated only when filtering by user Id. | |
| Department | String | True |
The department within the company that the user is part of. Populated only when filtering by user Id. | |
| MobilePhone | String | True |
The user's mobile phone number. This field is populated only when filtering by user Id. | |
| LastLogin | String | True |
The timestamp of the user's last login. Only populated if the user has logged in and an Id filter is applied. | |
| Role | String | True |
The role or position of the user within their organization. Populated only when filtering by user Id. | |
| Title | String | True |
The professional title of the user within their organization. Populated only when filtering by user Id. | |
| WorkPhone | String | True |
The user's work phone number. This field is populated only when filtering by user Id. | |
| SendEmail | Boolean | False |
Whether to send an email to the user's email address once they are created (invited in the Smartsheet account). This columns always returns null in SELECT statements, and is supposed to be used in INSERT statements only. |
Read and write workspace data in your Smartsheet account.
SELECT * FROM Info_Workspaces
Retrieve details for a specific workspace.
SELECT * FROM Info_Workspaces WHERE Id = '2928085806875091'
INSERT INTO Info_Workspaces (Name) VALUES ('My Workspace 1')
UPDATE Info_Workspaces SET Name = 'My Test Workspace 1' WHERE Id = '2928085806875091'
DELETE FROM Info_Workspaces WHERE Id = '2928085806875091'
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally unique identifier (GUID) for the workspace, used to distinguish it from other workspaces. | |
| Name | String | False |
The user-defined name of the workspace, used for organization and identification. | |
| Favorite | Boolean | True |
Indicates whether the workspace has been marked as a favorite by the user for quick access. | |
| AccessLevel | String | True |
Specifies the permissions level assigned to the user for this workspace, such as Viewer, Editor, or Admin. | |
| Permalink | String | True |
A permanent URL that provides a direct link to access the workspace within Smartsheet. |
Manage and analyze the Sheet_Content_Calendar, designed for scheduling and content tracking.
| Name | Type | ReadOnly | References | Description |
| RowId [KEY] | String | False |
The unique identifier for a row in the sheet, used to track specific entries in the calendar. | |
| Prio | String | False |
Indicates the priority of the content, such as High, Medium, or Low, to assist in scheduling and resource allocation. | |
| Image | String | False |
References the associated image file or URL, if any, for the content being planned. | |
| Title & Link | String | False |
Represents the title of the content and optionally includes a hyperlink to additional details or resources. | |
| Details | String | False |
Provides a detailed description of the content, including key themes or objectives. | |
| Assigned To | String | False |
Specifies the person or team responsible for creating or managing the content. | |
| Draft Due | Datetime | False |
The deadline for submitting the draft version of the content, ensuring timely reviews. | |
| Draft Status | String | False |
Tracks the current progress of the draft, such as In Progress, Completed, or Pending Review. | |
| Approved By | String | False |
Records the name of the individual or group that approved the content for publication. | |
| Objective | String | False |
Describes the primary goal or purpose of the content, such as increasing engagement or promoting a product. | |
| Target | String | False |
Defines the intended audience or demographic for the content. | |
| Media Type | String | False |
Categorizes the content by type, such as Article, Video, or Social Media Post. | |
| Art Required | Boolean | False |
Indicates whether custom artwork or graphics are needed for the content. | |
| Placement | String | False |
Specifies where the content will be published or distributed, such as a website, social media, or print. | |
| Publication Date | Datetime | False |
The planned date for the content to go live or be released to the public. | |
| Keywords | String | False |
Lists relevant keywords for search optimization or content categorization. | |
| Live | Boolean | False |
Indicates whether the content has been published and is currently live. |
Track and analyze historical customer order data using the Sheet_Customer_Order_Tracking_History.
| Name | Type | ReadOnly | References | Description |
| RowId [KEY] | String | False |
A unique identifier for each row in the order tracking history, corresponding to the API field for record identification. | |
| PO | String | False |
The purchase order number associated with the customer order, retrieved from the API. | |
| PO Date | Datetime | False |
The date when the purchase order was created, as specified in the API data. | |
| Ship Date | Datetime | False |
The date the order was shipped, sourced from the API field tracking shipment details. | |
| Shipped Via | String | False |
The shipping carrier or method used for the order, as recorded in the API. | |
| Invoice Amount | String | False |
The total amount billed on the invoice for the order, provided by the API. | |
| Invoice Number | String | False |
The unique identifier for the invoice related to the order, matching the API data. | |
| Inv Date | Datetime | False |
The date the invoice was generated for the order, as recorded in the API. | |
| Terms | String | False |
The payment terms agreed upon for the invoice, as defined in the API. | |
| Paid | Boolean | False |
Indicates whether the invoice has been fully paid (true) or not (false), based on API data. | |
| Date Paid | Datetime | False |
The date when the invoice payment was completed, if applicable, from the API. | |
| Payment | String | False |
Details about the payment method or transaction used for settling the invoice, as sourced from the API. | |
| Check # | String | False |
The check number associated with the payment, if a check was used, as recorded in the API. |
Plan, budget, and track event-related data with the Sheet_Event_Plan_Budget table.
| Name | Type | ReadOnly | References | Description |
| RowId [KEY] | String | False |
A unique identifier for each row, used to distinguish individual entries within the table. | |
| Task Name | String | False |
The name or title of the task associated with this event plan, providing a clear descriptor of its purpose. | |
| Assigned | String | False |
The individual or team responsible for completing the task, used to track accountability. | |
| Status | String | False |
The current state of the task, such as 'Not Started,' 'In Progress,' or 'Completed.' | |
| Progress | String | False |
A visual or numerical representation of how much of the task has been completed. | |
| $ Each | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
| Qty | String | False |
The quantity of items or resources required for the task, essential for accurate budgeting. | |
| Budget | String | False |
The allocated budget for the task, used to monitor financial planning. | |
| Actual | String | False |
The actual amount spent on the task, allowing for budget versus actual comparisons. | |
| Comments | String | False |
Additional notes or details about the task, providing context or clarification. |
Manage and analyze expense reports effectively using the Sheet_Expense_Report table.
| Name | Type | ReadOnly | References | Description |
| RowId [KEY] | String | False |
The unique identifier for each row in the expense report sheet. Corresponds to the Row ID in the Smartsheet API. | |
| Date | Datetime | False |
The date associated with the expense entry, formatted as a datetime value. | |
| Description | String | False |
A brief description or note about the expense, such as its purpose or details. | |
| Expense Category | String | False |
The category to which the expense belongs, such as Travel, Meals, or Office Supplies. | |
| Amount | String | False |
The monetary value of the expense, stored as a string for API consistency. | |
| Manager Approved | Boolean | False |
Indicates whether the manager has approved this expense (true or false). | |
| Comment | String | False |
Additional comments or notes about the expense provided by the user or manager. |
Track and manage projects with fixed deadlines using a Gantt-style layout in this Smartsheet table.
| Name | Type | ReadOnly | References | Description |
| RowId [KEY] | String | False |
A unique identifier for each row, used to reference the specific task or item in the API. | |
| At Risk | Boolean | False |
Indicates whether the task is at risk of missing its deadline or completion target. | |
| Task Name | String | False |
The name or title of the task, used for identifying and tracking work items. | |
| Start Date | Datetime | False |
The planned start date and time for the task, critical for scheduling and dependencies. | |
| End Date | Datetime | False |
The planned end date and time for the task, representing its deadline or completion target. | |
| Assigned To | String | False |
The name or unique identifier of the person or team assigned to complete the task. | |
| Status | String | False |
The current status of the task (for example, Not Started, In Progress, Completed). | |
| Duration | String | False |
The total time allocated for the task, typically measured in days or hours. | |
| % Complete | String | False |
The percentage of the task that has been completed, useful for tracking progress. | |
| Predecessors | String | False |
Specifies tasks that must be completed before this task can start, helping to define dependencies. | |
| Comments | String | False |
Additional notes or information about the task, often used for collaboration or clarification. |
Track and manage job candidate progress and information with the Sheet_Job_Candidate_Tracker table.
| Name | Type | ReadOnly | References | Description |
| RowId [KEY] | String | False |
The unique identifier for each row in the tracker, corresponding to a specific candidate record in the API. | |
| Candidate Name | String | False |
The full name of the candidate being tracked in the hiring process. | |
| Next Steps | String | False |
Details the upcoming actions or decisions required for the candidate, such as scheduling an interview or extending an offer. | |
| Comments | String | False |
Contains notes or remarks from hiring managers or interviewers about the candidate. | |
| Status | String | False |
Indicates the current stage of the candidate in the hiring process, such as 'Applied', 'Interviewed', or 'Hired'. | |
| RYG | String | False |
Represents a red-yellow-green status indicator to visually track candidate progress or priority. | |
| Start Date | Datetime | False |
The proposed or confirmed start date for the candidate, if hired. | |
| Hiring Mgr | String | False |
The name of the hiring manager responsible for the candidate's recruitment process. | |
| Referral Source | String | False |
Indicates how the candidate was sourced, such as 'Referral', 'Job Board', or 'Career Fair'. | |
| Hire Type | String | False |
Specifies the type of hire, such as 'Full-Time', 'Part-Time', 'Contractor', or 'Intern'. | |
| Compensation | String | False |
Details the offered or agreed compensation package for the candidate, including salary or hourly rate. |
Monitor sales activity by representative and month with the Sheet_Sales_Activity_Tracking_by_Rep_Month table.
| Name | Type | ReadOnly | References | Description |
| RowId [KEY] | String | False |
The unique identifier for each row, dynamically mapped to the corresponding field in the API. | |
| Monthly Metric | String | False |
The specific sales metric tracked for the month, dynamically linked to the API field. | |
| Quota | String | False |
The assigned sales target or goal for the month, pulled dynamically from the API. | |
| Actual | String | False |
The actual sales performance achieved for the month, as recorded in the API. | |
| Percent to Goal | String | False |
The percentage of the quota achieved for the month, dynamically calculated and mapped via the API. | |
| Variance | String | False |
The difference between the actual sales and the quota, indicating overachievement or shortfall. | |
| Pace | String | False |
The rate of progress toward meeting the monthly sales goal, dynamically updated via the API. |
Simplify sales tracking using the Sheet_Simple_Sales_Pipeline table for streamlined data management.
| Name | Type | ReadOnly | References | Description |
| RowId [KEY] | String | False |
The unique identifier for each row, corresponding to the unique field in the API. | |
| Status | String | False |
Represents the current state of the opportunity, such as Open, Closed, or In Progress. | |
| Company Logo | String | False |
Stores the URL or file reference to the company's logo associated with the opportunity. | |
| Opportunity | String | False |
The name or identifier of the sales opportunity being tracked. | |
| Contact Name | String | False |
Full name of the primary contact person for the opportunity. | |
| Sales Stage | String | False |
Indicates the current stage in the sales pipeline, such as Qualification, Proposal, or Negotiation. | |
| Forecast Amount | String | False |
The projected revenue amount for the opportunity. | |
| Probability | String | False |
Percentage likelihood that the opportunity will be successfully closed. | |
| Weighted Forecast | String | False |
Calculated value of Forecast Amount multiplied by the Probability, representing the weighted revenue. | |
| Expected Close Date | Datetime | False |
The date by which the opportunity is expected to close. | |
| Sales Rep | String | False |
The name of the sales representative responsible for the opportunity. | |
| Next Step | String | False |
Describes the next action or task planned to progress the opportunity. |
Monitor and track team objectives efficiently using the Sheet_Team_Objectives_Tracker.
| Name | Type | ReadOnly | References | Description |
| RowId [KEY] | String | False |
A unique identifier for each row, corresponding to the Row ID field in the Smartsheet API. | |
| Task Name | String | False |
The name or title of the task, used to identify objectives being tracked in the sheet. | |
| Responsible | String | False |
The individual or team assigned responsibility for completing the task. | |
| State | String | False |
The current status of the task, such as 'Not Started,' 'In Progress,' or 'Completed.' | |
| Due Date | Datetime | False |
The deadline for the task, represented as a date and time, used for scheduling and tracking purposes. | |
| Comments | String | False |
Additional notes or comments related to the task, providing context or updates for collaborators. |
Prioritize and manage team tasks with the Sheet_Team_Task_List_by_Priority table.
| Name | Type | ReadOnly | References | Description |
| RowId [KEY] | String | False |
The unique identifier for each row in the task list, dynamically mapped to the corresponding field in the API. | |
| RYG | String | False |
Indicates the red-yellow-green (RYG) priority or status flag for a task, dynamically mapped to the corresponding field in the API. | |
| Task | String | False |
The title or name of the task, dynamically mapped to the corresponding field in the API. | |
| Assigned To | String | False |
The name or unique identifier of the individual or team responsible for the task, dynamically mapped to the corresponding field in the API. | |
| Reviewed | Boolean | False |
A flag indicating whether the task has been reviewed, dynamically mapped to the corresponding field in the API. | |
| Status | String | False |
The current status of the task (for example, In Progress, Completed), dynamically mapped to the corresponding field in the API. | |
| Due | Datetime | False |
The due date and time for the task, dynamically mapped to the corresponding field in the API. | |
| Notes & Comments | String | False |
Additional notes or comments related to the task, dynamically mapped to the corresponding field in the API. |
Test and analyze web form data integration using the Sheet_WebFormTest table.
| Name | Type | ReadOnly | References | Description |
| RowId [KEY] | String | False |
A unique identifier for each row, typically used to reference and track specific entries in the web form. | |
| Form Field 1 | String | False |
Represents the first field in the web form, typically used to collect user input or specific details. | |
| Form Field 2 | String | False |
Represents the second field in the web form, used to capture additional user-provided information. | |
| Form Date Field | Datetime | False |
Stores the date and time associated with the web form submission, providing a timestamp for tracking and analysis. |
ビューは、データを示すという点でテーブルに似ていますが、ビューは読み取り専用です。
クエリは、ビューに対して通常のテーブルと同様に実行することができます。
| Name | Description |
| Info_AttachmentVersions | Read data on the versions of the attachments in your Smartsheet sheets. |
| Info_CellHistory | Query the available CellHistory of a Cell in Smartsheet. |
| Info_Cells | Query Smartsheet Cells. A collection of Cells comprises each Row in a Sheet. |
| Info_Contacts | Query Smartsheet Contacts. A Contact is the personal contact of a User in Smartsheet. |
| Info_DashboardPublishSettings | Provides the publish status details of Smartsheet dashboards |
| Info_Dashboards | Query Smartsheet Dashboards. |
| Info_DashboardShares | Query the Sharing operations of Dashboards. |
| Info_Favorites | Query Smartsheet Favorites. |
| Info_Home | Query objects on the Home tab in Smartsheet. The Home tab shows all objects a User has access to. |
| Info_ReportPublishSettings | Provides publish settings for Smartsheet reports. |
| Info_Reports | Query Smartsheet Reports. |
| Info_ReportShares | Query the Sharing operations of Reports. |
| Info_Rows | Query Rows in a Sheet or Report. Each Row is composed of a collection of Cells, and may optionally contain Discussions and Attachments. |
| Info_ServerInformation | Query Smartsheet Server Information including application constants. |
| Info_SheetPublishSettings | Provides publish settings for Smartsheet sheets. |
| Info_Sheets | Query Smartsheet Sheets. A Sheet can exist in the Sheets folder for the user (Home), in a Folder, or in a Workspace. It is comprised of Columns, Rows, and Cells, and may optionally contain Attachments and Discussions. |
| Info_SheetShares | Query the Sharing operations of Sheets. |
| Info_Templates | Query Smartsheet Templates. |
| Info_WorkspaceShares | Query the Sharing operations of Workspaces. |
Read data on the versions of the attachments in your Smartsheet sheets.
SELECT * FROM Info_AttachmentVersions WHERE SheetId = '8449165781585796' AND AttachmentId = '2879526696423300'
| Name | Type | References | Description |
| Id [KEY] | String | The unique identifier of the attachment version. | |
| SheetId | String | The unique identifier of the sheet in which the attachment is located. | |
| AttachmentId | String | The unique identifier of the attachment (Id of the most recent version). | |
| Name | String | The name of the attachment. | |
| MimeType | String | The attachment MIME type (e.g. 'PNG'). | |
| CreatedAt | Timestamp | The time when the attachment was created. | |
| ParentId | String | The unique identifier of the object to which the attachment belongs to. | |
| ParentType | String | The type of object to which the attachment belongs to.
使用できる値は次のとおりです。SHEET, ROW, COMMENT | |
| UserName | String | The full name of the user who created the attachment. | |
| UserEmail | String | The email address of the user who created the attachment. | |
| URL | String | The temporary URL of the attachment. | |
| SizeInKB | Long | The size of the attachment in kilobytes. | |
| Description | String | The description of the attachment. |
Access the historical changes of specific cells in Smartsheet, enabling detailed audit and tracking capabilities.
To get data from this view a SheetId, RowId, and ColumnId are always required.
Retrieve Cell History.
SELECT * FROM Info_CellHistory WHERE SheetId = '2940085806098308' AND RowId = '6773684447799172' AND ColumnId = '7999197812156292'
| Name | Type | References | Description |
| Value | String | The most recent content in the cell, which could include text, numbers, or the result of a formula. This value represents the cell's current state. | |
| ModifiedAt | Datetime | The date and time when the cell was last updated. This helps in identifying the most recent activity in the cell. | |
| EditorName | String | The full name of the user who made the latest changes to the cell. This provides clarity about who is responsible for updates. | |
| EditorEmail | String | The email address of the user who last modified the cell, allowing for easy communication or audit purposes. | |
| SheetId | String | A unique identifier for the sheet containing this cell. This links the cell to its corresponding sheet in Smartsheet. | |
| RowId | String | A unique identifier for the row in which this cell is located. This helps in pinpointing and managing specific rows. | |
| ColumnId | String | A unique identifier for this cell's column enables efficient column-based operations or analysis. |
Explore individual cell data in Smartsheet rows, offering granular insights into sheet contents.
This view returns details for Cells of a specified Row. The SheetId and RowId parameters are always required.
Retrieve Cells.
SELECT * FROM Info_Cells WHERE SheetId = '2940085806098308' AND RowId = '6773684447799172'
| Name | Type | References | Description |
| Id [KEY] | String | The unique identifier of the column that contains the cell. This is a reference to the parent column in the sheet's schema. | |
| Value | String | The actual content of the cell, which can be a string, number, or boolean, representing the cell's primary data. | |
| DisplayValue | String | The formatted version of the cell's content as displayed to the user in the Smartsheet UI, reflecting applied formats and rules. | |
| ColumnType | String | The type of data or content allowed in the column (for example, text, date, dropdown) as defined in the column's schema. | |
| Formula | String | The formula applied to the cell, if any, used to compute dynamic values based on other cell references. | |
| Format | String | Descriptor specifying the visual formatting of the cell, such as text style, color, or alignment. | |
| ConditionalFormat | String | The formatting applied to the cell based on conditional rules set at the column or sheet level. | |
| Strict | Boolean | Indicates if strict parsing rules are applied to the cell's value. Defaults to true; set to false for more lenient value handling. | |
| SheetId | String | The unique identifier of the sheet to which this cell belongs. | |
| RowId | String | The unique identifier of the row containing this cell, representing its position in the sheet. |
Query Smartsheet user contact details, facilitating management of personal and shared connections.
This view returns details for Contacts.
Retrieve Contacts.
SELECT * FROM Info_Contacts
Retrieve details of a specified Contact.
SELECT * FROM Info_Contacts WHERE Id = '1322606759569284'
| Name | Type | References | Description |
| Id [KEY] | String | A unique identifier assigned to each contact, used to differentiate them within the database. | |
| Name | String | The full name of the contact, typically including both first and last names. | |
| String | The primary email address associated with the contact, used for communication purposes. |
Provides the publish status details of Smartsheet dashboards
| Name | Type | References | Description |
| DashboardId [KEY] | String | The unique identifier of the dashboard whose publish status is being retrieved. | |
| ReadOnlyFullEnabled | Boolean | Indicates whether the 'Read-Only Full' version of the dashboard is published, allowing viewers to interact with widgets and use shortcuts. | |
| ReadOnlyFullUrl | String | The URL for accessing the 'Read-Only Full' view of the published dashboard. Only returned if 'ReadOnlyFullEnabled' is true. | |
| ReadOnlyFullAccessibleBy | String | Specifies who can access the 'Read-Only Full' view of the published dashboard. Possible values: ALL (anyone with the link), ORG (members of the owner's organization), SHARED (users shared to the item). |
Query Smartsheet Dashboards.
| Name | Type | References | Description |
| Id [KEY] | String | The unique identifier of the Dashboard. | |
| Name | String | The name of the Dashboard. | |
| AccessLevel | String | The access level for the user or group on the shared object. | |
| Permalink | String | URL that represents a direct link to the Dashboard in Smartsheet. | |
| CreatedAt | Datetime | Time that the share was created. | |
| ModifiedAt | Datetime | Time that the share was modified. | |
| WorkspaceId | String | Id of workspace where this Dashboard is located | |
| FolderId | String | The Id of the folder. |
Retrieve a user's favorite items in Smartsheet, helping prioritize frequently accessed content.
This view returns a list of Favorite objects.
Retrieve all Favorite objects.
SELECT * FROM Info_Favorites
| Name | Type | References | Description |
| ObjectId | String | A unique identifier for the item that has been marked as a favorite. For favorite items of the type 'template,' only private sheet-type template IDs are permitted. | |
| Type | String | Specifies the category of the favorite item. Possible values include 'workspace' for a collection of sheets and reports, 'folder' for a grouping of related items, 'sheet' for individual sheets, 'report' for consolidated data views, and 'template' for reusable sheet designs. |
Access items available on the Smartsheet Home tab, offering a centralized view of user-permissible objects.
Retrieve all objects located on the Home tab:
SELECT * FROM Info_Home
| Name | Type | References | Description |
| SheetsAggregate | String | An array containing details about all sheet objects associated with the home information. | |
| FoldersAggregat | String | An array containing details about all folder objects within the current context of the home environment. | |
| ReportsAggregat | String | An array containing details about all report objects, providing insights into shared or owned reports in the home scope. | |
| TemplatesAggregat | String | An array containing details about all template objects available within the home context, used for creating new sheets. | |
| WorkspacesAggregat | String | An array containing details about all workspace objects, representing collaborative spaces within the home environment. |
Provides publish settings for Smartsheet reports.
| Name | Type | References | Description |
| ReportId [KEY] | String | Unique identifier of the report whose publish settings are being retrieved. | |
| ReadOnlyFullEnabled | Boolean | Indicates whether the report is published in a rich, read-only format with features like downloading attachments and discussions. | |
| ReadOnlyFullUrl | String | URL for accessing the 'Read-Only Full' view of the published report; available only if ReadOnlyFullEnabled is true. | |
| ReadOnlyFullAccessibleBy | String | Specifies who can access the 'Read-Only Full' view: ALL (anyone with the link), ORG (members of the report owner's organization), or SHARED (users shared to the item); returned only if ReadOnlyFullEnabled is true. | |
| ReadOnlyFullDefaultView | String | Indicates the default view for the 'Read-Only Full' published report: CALENDAR, CARD, or GRID. |
Query Smartsheet reports, providing insights into custom aggregated data across sheets.
Retrieve all Reports.
SELECT * FROM Info_Reports
Retrieve Reports located in a specific Workspace.
SELECT * FROM Info_Reports WHERE WorkspaceId = '6773684447799172'
Retrieve Reports located in a specific Folder.
SELECT * FROM Info_Reports WHERE FolderId = '6773684447799172'
Retrieve Reports which are located beneath the folder specified in the folder hierarchy. Only simple criteria like the ones below can be processed for this pseudo-column, otherwise the condition will just be ignored:
SELECT * FROM Info_Reports WHERE RootFolderId = '993868452784004'; SELECT * FROM Info_Reports WHERE RootFolderId = '993868452784004' AND Name = 'MyReport';
| Name | Type | References | Description |
| Id [KEY] | String | A unique identifier for the report, used as the primary key for reference. | |
| Name | String | The descriptive name of the report, typically used to identify its purpose or content. | |
| FolderId | String | The unique identifier of the folder where the report is stored, indicating its organizational structure. | |
| WorkspaceId | String | The unique identifier of the workspace containing this report, representing its broader context and ownership. | |
| Permalink | String | URL that represents a direct link to the report in Smartsheet. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description | |
| RootFolderId | String | The Id of the root folder in which the object resides. Can be used to query the data from only a specific folder (and its subfolders) in the Smartsheet hierarchy. |
Retrieve detailed row data, including cells, discussions, and attachments, for enhanced row-level analysis.
This view returns a list of Sheet Rows. The SheetId parameter is always required.
Retrieve all Rows of a Sheet.
SELECT * FROM Info_Rows WHERE SheetId = '2940085806098308'
Retrieve details of a specified Row.
SELECT * FROM Info_Rows WHERE SheetId = '2940085806098308' AND Id = '8206230771525508'
| Name | Type | References | Description |
| Id [KEY] | String | A unique identifier for the row, assigned by Smartsheet. This value is guaranteed to be unique within the sheet. | |
| RowNumber | Integer | The sequential number of the row within the sheet, starting at 1. Useful for referencing rows in a user-friendly way. | |
| Version | Integer | Indicates the current version of the sheet. This number increments each time a modification is made to the sheet. | |
| FilteredOut | Boolean | Indicates if this row is excluded from view by an applied column filter. True means the row is hidden; False means it is visible. | |
| InCriticalPath | Boolean | True if this row is part of the critical path in a project sheet with dependencies enabled. Useful for project planning and scheduling. | |
| Locked | Boolean | Indicates if the row has been locked by the sheet owner or admin to prevent changes. | |
| LockedForUser | Boolean | Indicates if the row is locked for the current user based on their permissions. | |
| Expanded | Boolean | Shows whether the row is currently expanded to reveal child rows or collapsed to hide them. | |
| AccessLevel | String | Defines the user's access permissions to the sheet containing this row (for example, Viewer, Editor, Admin). | |
| Format | String | Describes the visual format applied to the row, such as font color, background color, and text styles. | |
| ConditionalFormat | String | Specifies the visual format applied to the row due to a conditional formatting rule. | |
| CreatedAt | Datetime | The timestamp when the row was initially created in Smartsheet. | |
| ModifiedAt | Datetime | The timestamp when the row was last modified. Helps track changes over time. | |
| Permalink | String | A permanent URL linking directly to this row in Smartsheet for easy access. | |
| ParentId | String | The unique identifier of the parent row, if this row is part of a hierarchical structure. | |
| SiblingId | String | The unique identifier of the previous sibling row at the same hierarchical level. Useful for determining row order. | |
| ToTop | Boolean | A flag indicating if the row should be moved or inserted at the top of the sheet. | |
| ToBottom | Boolean | A flag indicating if the row should be moved or inserted at the bottom of the sheet. | |
| Above | Boolean | A flag indicating if the row should be moved or inserted above another specified row. | |
| SheetId | String | The unique identifier of the sheet to which this row belongs. |
Access Smartsheet server information and application constants, useful for API integrations.
Retrieve Server Information:
SELECT * FROM Info_ServerInformation
| Name | Type | References | Description |
| SupportedLocales | String | An array of locale strings supported by Smartsheet, used for regional and language settings. | |
| FormatsDefaults | String | Describes default format settings for display in the Smartsheet Web application when no custom format values are applied. | |
| FontFamily | String | Defines the font families available, including additional metadata about each font. | |
| FontSize | String | Specifies font sizes in points, representing the height of characters in text. | |
| Bold | String | Indicates if text is bolded. Possible values include 'none' (not bolded) and 'on' (bolded). | |
| Italic | String | Indicates if text is italicized. Possible values include 'none' (not italicized) and 'on' (italicized). | |
| Underline | String | Indicates if text is underlined. Possible values include 'none' (no underline) and 'on' (underlined). | |
| Strikethrough | String | Indicates if text has a strikethrough effect. Possible values include 'none' (no strikethrough) and 'on' (strikethrough applied). | |
| HorizontalAlign | String | Defines horizontal text alignment within cells. Possible values include 'none', 'left', 'center', 'right'. | |
| VerticalAlign | String | Defines vertical text alignment within cells. Possible values include 'top', 'middle', 'bottom'. The default value is 'top'. | |
| Color | String | Specifies text and background color in hex format. If 'none', applications use default colors (for example, Black for text, White for background). | |
| Currency | String | Lists supported currency codes (for example, USD, EUR) along with their respective symbols. | |
| ThousandsSeparator | String | Determines if numbers display a thousands separator (for example, 1,000). Possible values include 'none' (no separator) and 'on' (separator applied). | |
| NumberFormat | String | Specifies how numbers are formatted. Possible values include 'none', 'NUMBER', 'CURRENCY', 'PERCENT'. | |
| TextWrap | String | Indicates whether text wraps within the cell. Possible values include 'none' (no wrap) and 'on' (text wraps). |
Provides publish settings for Smartsheet sheets.
| Name | Type | References | Description |
| SheetId [KEY] | String | Unique identifier of the Smartsheet sheet. | |
| ReadOnlyFullEnabled | Boolean | Indicates if the 'Read-Only Full' view, with attachments and discussions, is published. | |
| ReadOnlyFullUrl | String | URL for the 'Read-Only Full' view; available if ReadOnlyFullEnabled is true. | |
| ReadOnlyFullAccessibleBy | String | Specifies who can access the 'Read-Only Full' view: ALL (anyone with the link), ORG (organization members), or SHARED (shared users); available if ReadOnlyFullEnabled is true. | |
| ReadOnlyFullDefaultView | String | Default view mode for 'Read-Only Full' view: CALENDAR, CARD, or GRID. | |
| ReadOnlyLiteEnabled | Boolean | Indicates if a lightweight 'Read-Only Lite' view, without attachments and discussions, is published. | |
| ReadOnlyLiteUrl | String | URL for the 'Read-Only Lite' HTML view; available if ReadOnlyLiteEnabled is true. | |
| ReadOnlyLiteSslUrl | String | SSL URL for the 'Read-Only Lite' view. | |
| ReadWriteEnabled | Boolean | Indicates if the 'Edit by Anyone' view, with editing capabilities, is published. | |
| ReadWriteUrl | String | URL for the 'Edit by Anyone' view; available if ReadWriteEnabled is true. | |
| ReadWriteAccessibleBy | String | Specifies who can access the 'Edit by Anyone' view: ALL (anyone with the link), ORG (organization members), or SHARED (shared users); available if ReadWriteEnabled is true. | |
| ReadWriteDefaultView | String | Default view mode for 'Edit by Anyone' view: CALENDAR, CARD, or GRID. | |
| IcalEnabled | Boolean | Indicates if an iCal feed is available for the sheet's calendar. | |
| IcalUrl | String | URL for the iCal feed of the sheet's calendar; available if IcalEnabled is true. |
Explore detailed metadata and structure of Smartsheet sheets, including their components like columns, rows, and attachments.
Retrieve all Sheets.
SELECT * FROM Info_Sheets
Retrieve Sheets located in a specific Folder.
SELECT * FROM Info_Sheets WHERE FolderId = '2928085806875091'
Retrieve Sheets located in a specific Workspace.
SELECT * FROM Info_Sheets WHERE WorkspaceId = '1928085806875098'
Retrieve Sheets which are located beneath the folder specified in the folder hierarchy. Only simple criteria like the ones below can be processed for this pseudo-column, otherwise the condition will just be ignored:
SELECT * FROM Info_Sheets WHERE RootFolderId = '993868452784004'; SELECT * FROM Info_Sheets WHERE RootFolderId = '993868452784004' AND Name = 'MySheet';
| Name | Type | References | Description |
| Id [KEY] | String | A unique identifier assigned to the sheet, used for referencing it programmatically or in APIs. | |
| Name | String | The descriptive name of the sheet, visible to users in the Smartsheet interface. | |
| Owner | String | The email address of the user who owns the sheet and has primary control over its permissions and content. | |
| OwnerId | String | The unique identifier of the user who owns the sheet, used for internal user management. | |
| Permalink | String | A permanent, shareable URL that provides direct access to the sheet in Smartsheet. | |
| SourceId | String | The unique identifier of the original sheet or template from which this sheet was created, useful for tracing its origin. | |
| SourceType | String | Indicates whether the source object for this sheet was a 'sheet' or a 'template', helping to categorize its origin. | |
| CreatedAt | Datetime | The timestamp indicating when the sheet was first created in Smartsheet. | |
| ModifiedAt | Datetime | The timestamp of the most recent modification made to the sheet's content or properties. | |
| Version | Long | A revision number incremented with each change made to the sheet, useful for tracking updates. | |
| TotalRowCount | Long | The total number of rows currently present in the sheet, reflecting its data capacity or usage. Values for this column are retrieved only when filtering with the Id column. | |
| AccessLevel | String | The permission level of the current user for this sheet, such as 'viewer', 'editor', or 'admin'. | |
| ReadOnly | Boolean | Indicates if the sheet is in read-only mode, typically due to an expired trial or restricted permissions. | |
| GanttEnabled | Boolean | Specifies whether the Gantt chart feature is enabled for this sheet, allowing project timelines to be visualized. | |
| DependenciesEnabled | Boolean | Shows if dependency tracking is active, used for managing task relationships and schedules. | |
| ResourceManagementEnabled | Boolean | Indicates if resource management tools are enabled, supporting workload and capacity planning. | |
| Favorite | Boolean | Indicates whether the user has marked this sheet as a favorite, making it easier to locate in their Home tab. | |
| ShowParentRowsForFilters | Boolean | Specifies if the 'Show Parent Rows' option is enabled for filtering, helping to display hierarchical context. | |
| FromId | String | The unique identifier of the template from which the sheet was originally created, used for template-based organization. | |
| WorkspaceId | String | The unique identifier of the workspace where the sheet is stored, aiding in categorization and collaboration. | |
| FolderId | String | The unique identifier of the folder containing the sheet, for better organization within Smartsheet. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description | |
| RootFolderId | String | The Id of the root folder in which the object resides. Can be used to query the data from only a specific folder (and its subfolders) in the Smartsheet hierarchy. |
Retrieve Smartsheet template information to streamline the creation of standardized sheets.
By default this view returns all Templates created by the user. If the Scope filter is set to 'public' , the public templates will be returned.
Retrieve all Templates.
SELECT * FROM Info_Templates
Retrieve all other public Templates.
SELECT * FROM Info_Templates WHERE Scope = 'public'
Retrieve Templates located on a specific folder.
SELECT * FROM Info_Templates WHERE FolderId = '2928085806875091'
Retrieve Templates located on a specific Workspace.
SELECT * FROM Info_Templates WHERE WorkspaceId = '1928085806875098'
Retrieve Templates which are located beneath the folder specified in the folder hierarchy. Only simple criteria like the ones below can be processed for this pseudo-column, otherwise the condition will just be ignored:
SELECT * FROM Info_Templates WHERE RootFolderId = '993868452784004'; SELECT * FROM Info_Templates WHERE RootFolderId = '993868452784004' AND Name = 'MyTemplate';
| Name | Type | References | Description |
| Id [KEY] | String | A unique identifier assigned to each template, ensuring it can be distinctly referenced. | |
| Name | String | The user-defined name of the template, used for display and identification purposes. | |
| Description | String | A detailed overview or summary of the template's purpose and contents. | |
| AccessLevel | String | Defines the level of user permissions on the template, such as 'read-only' or 'editor'. | |
| Permalink | String | A permanent, unique URL linking directly to the template for easy sharing or access. | |
| Scope | String | The scope of the template. Possible values: 'public' for templates accessible to all users, and 'user' for templates created and accessible only by the logged-in user.
使用できる値は次のとおりです。public, user | |
| FolderId | String | The unique identifier of the folder where the template is stored, helping to organize templates. | |
| WorkspaceId | String | The unique identifier of the workspace containing the template, useful for multi-user collaboration. | |
| TemplateType | String | Type of template. Only applicable to public templates. Possible values: 'report', 'sheet'. | |
| Categories | String | Indicates whether the template is blank. Only applicable to public templates. | |
| Tags | String | List of search tags for this template. Only applicable to non-blank public templates. | |
| Locale | String | Indicates the language and region settings for the template, such as 'en-US' or 'fr-FR'. | |
| Blank | Boolean | Indicates whether the template is blank. Only applicable to public templates. | |
| GlobalTemplate | String | Type of global template. Only applicable to blank public templates. Possible values: 'BLANK_SHEET', 'PROJECT_SHEET', 'TASK_LIST'. | |
| Image | String | The URL pointing to an image representing the template, often used in visual displays or previews. | |
| LargeImage | String | URL to the large preview image for this template. Only applicable to non-blank public templates. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description | |
| RootFolderId | String | The Id of the root folder in which the object resides. Can be used to query the data from only a specific folder (and its subfolders) in the Smartsheet hierarchy. |
Analyze sales activities and team objectives using a dedicated Smartsheet report for performance tracking.
| Name | Type | References | Description |
| Sheet Name | String | The name of the sheet representing sales activity and team objectives, providing a top-level identifier for the report. | |
| Primary | String | The primary column, typically used as a key identifier or main reference point for each row in the sales activity and objectives table. | |
| Responsible | String | Indicates the individual or team responsible for the associated sales activity or objective, helping to assign accountability. | |
| Pace | String | Represents the pace at which sales activities are progressing, helping track velocity against goals. | |
| Percent to Goal | String | Shows the percentage completion towards the specified sales goals, aiding in performance tracking. | |
| Due Date | Datetime | The target completion date for the sales activity or objective, allowing for effective time management and planning. | |
| Actual | String | Records the actual performance or results achieved in the sales activity, enabling comparison with the target goals. | |
| Quota | String | Specifies the target or quota assigned for the sales activity, serving as a benchmark for performance evaluation. | |
| Comments | String | Provides additional notes or remarks related to the sales activity or objectives, offering context or insights for each entry. | |
| State | String | Denotes the current status or condition of the sales activity, such as 'In Progress,' 'Completed,' or 'Pending.' |
Access detailed task and event data within a Smartsheet report for efficient planning and monitoring.
| Name | Type | References | Description |
| RowId [KEY] | String | A unique identifier for each row in the sheet, corresponding to the RowId field in the Smartsheet API. | |
| Sheet Name | String | The name of the sheet this row belongs to, as retrieved from the Smartsheet API. | |
| Primary | String | The primary column for the sheet, used to identify the key attribute of each row. | |
| Assigned To | String | The individual or team responsible for the task or event, as designated in the sheet. | |
| Comments | String | Additional notes or comments provided for the task or event. | |
| Status | String | The current status of the task or event, such as 'In Progress,' 'Completed,' or 'Not Started.' | |
| Due | Datetime | The due date and time for the task or event, formatted as a datetime object. | |
| Due Date | Datetime | The specific due date for the task or event without the time component. | |
| Budget | String | The budget associated with the task or event, often used for financial tracking. | |
| Assigned | String | The person or entity to whom the task or event is currently assigned. | |
| Actual | String | The actual cost, time, or resource allocation for the task or event. | |
| Notes & Comments | String | Detailed notes and comments related to the task or event, providing additional context. | |
| Reviewed | Boolean | A boolean flag indicating whether the task or event has been reviewed (true or false). | |
| Progress | String | A textual or percentage-based indication of the task's progress, such as '50%' or 'Halfway Complete.' |
ストアドプロシージャはファンクションライクなインターフェースで、Smartsheet の単純なSELECT/INSERT/UPDATE/DELETE 処理にとどまらずCloud の機能を拡張します。
ストアドプロシージャは、パラメータのリストを受け取り、目的の機能を実行し、プロシージャが成功したか失敗したかを示すとともにSmartsheet から関連するレスポンスデータを返します。
| Name | Description |
| CopyRowsToAnotherSheet | Copy rows from one Smartsheet to another, streamlining data reorganization. |
| CopySheet | Duplicate an existing sheet and relocate it to a specified folder, home directory, or workspace. |
| CreateSheet | Create a new sheet in Smartsheet for data organization and tracking. |
| DeleteAttachment | Delete an attachment located in one of your Smartsheet sheets. |
| DeleteDashboardShare | Delete a dashboard share in your Smartsheet account. |
| DeleteReportShare | Delete a report share in your Smartsheet account. |
| DeleteSheet | Delete a specific sheet from Smartsheet to manage space and relevance. |
| DeleteSheetShare | Delete a sheet share in your Smartsheet account. |
| DeleteUser | Delete a user in your Smartsheet account. |
| DeleteWorkspaceShare | Delete a workspace share in your Smartsheet account. |
| ImportFile | Import CSV or XLSX files into Smartsheet, specifying the target folder or workspace. |
| MoveRowsToAnotherSheet | Move rows between Smartsheets for efficient data organization and management. |
| MoveSheet | Relocate a sheet to a new folder, home directory, or workspace for better accessibility. |
| ShareDashboard | Share a dashboard with a user or group in your Smartsheet account. |
| ShareReport | Share a report with a user or group in your Smartsheet account. |
| ShareSheet | Share a sheet with a user or group in your Smartsheet account. |
| ShareWorkspace | Share a workspace with a user or group in your Smartsheet account. |
| UpdateDashboardShare | Update a dashboard share in your Smartsheet account. |
| UpdateReportShare | Update a report share in your Smartsheet account. |
| UpdateSheetShare | Update a sheet share in your Smartsheet account. |
| UpdateWorkspaceShare | Update a workspace share in your Smartsheet account. |
Copy rows from one Smartsheet to another, streamlining data reorganization.
| Name | Type | Required | Description |
| SheetId | String | False | The unique identifier of the source sheet from which rows will be copied. |
| RowIds | String | False | A comma-separated list of row IDs to copy from the source sheet. Required unless 'RowIdsFilePath' is provided. |
| RowIdsFilePath | String | False | The full file path to a local text file containing a comma-separated list of row IDs to be copied. Use this if 'RowIds' is not directly specified. |
| DestinationSheetId | String | False | The unique identifier of the destination sheet where rows will be copied. |
| Include | String | False | Optional. Specifies additional row elements to copy beyond cell data. Can include 'attachments', 'discussions', 'children', or 'all' to copy all elements. |
| IgnoreRowsNotFound | String | False | Optional parameter. Specifies whether to ignore missing row IDs in the source sheet. The option 'true' skips errors for missing IDs, while 'false' (the default) causes the operation to fail if any row IDs are not found. |
| Name | Type | Description |
| Success | String | Indicates whether the operation to copy rows completed successfully (true or false). |
| AffectedRows | String | The total number of rows successfully copied to the destination sheet. |
Duplicate an existing sheet and relocate it to a specified folder, home directory, or workspace.
| Name | Type | Required | Description |
| SheetId | String | False | The unique identifier of the source sheet to be copied. This is a required parameter for initiating the copy operation. |
| DestinationType | String | False | Specifies the type of container where the sheet will be copied. Accepted values are 'folder' (for folders), 'home' (for personal space), or 'workspace' (for shared workspaces). |
| DestinationId | String | False | The unique identifier of the destination container. This is required if 'DestinationType' is 'folder' or 'workspace' but must be null when 'DestinationType' is 'home'. |
| NewName | String | False | The desired name for the newly created copy of the sheet. This attribute is applicable for copy operations only and is ignored for move operations. |
| Include | String | False | A comma-separated list of additional sheet elements to include in the copy operation. Options include 'attachments' (file attachments), 'cellLinks' (cross-sheet references), 'data' (includes cell data and formatting), 'discussions' (comments), 'filters', 'forms', 'ruleRecipients' (notification recipients must include 'rules'), 'rules' (workflow rules), 'shares' (shared user access). Note that the Cell history cannot be copied. |
| Exclude | String | False | Optional parameter. Use 'sheetHyperlinks' to exclude hyperlinks in the copied sheet. |
| Name | Type | Description |
| Success | String | Indicates whether the sheet copy operation completed successfully. Returns 'true' for success and 'false' for failure. |
Create a new sheet in Smartsheet for data organization and tracking.
Note:このプロシージャは、インデックス付きパラメータを使用します。 インデックス付きパラメータは、プロシージャの入力として単一のパラメータを複数のインスタンスに提供することを容易にします。
Param# という名前の入力パラメータがあるとします。このようなインデックス付きパラメータの複数のインスタンスを入力するには、次のように実行します。
EXEC ProcedureName Param#1 = "value1", Param#2 = "value2", Param#3 = "value3"
以下の表では、インデックス付きの入力パラメータは、名前の末尾に '#' 文字が付きます。
| Name | Type | Required | Description |
| SheetName | String | True | The name of the new sheet to be created. This should be a unique, user-friendly identifier for the sheet. |
| ColumnName# | String | False | The name of the column to be added to the sheet. Use descriptive names for clarity. |
| ColumnType# | String | False | The data type of the column values, such as Text, Number, or Date, which defines how the column data will be stored and validated. |
| PrimaryColumn# | String | False | Indicates whether the specified column is the primary column, which typically serves as the main identifier for rows in the sheet. |
| Name | Type | Description |
| Success | String | A boolean or status flag indicating if the sheet creation operation was successful. |
| Id | String | The unique identifier of the sheet created. |
Delete an attachment located in one of your Smartsheet sheets.
| Name | Type | Required | Description |
| SheetId | String | True | The unique identifier of the sheet containing the attachment to be deleted. |
| AttachmentId | String | True | The unique identifier of the attachment or attachment version to be deleted. |
| DeleteAllVersions | Boolean | False | Boolean value indicating whether to delete all versions of the attachment, which would delete the attachment itself completely as well. |
| Name | Type | Description |
| Success | Boolean | Boolean value indicating whether the deletion operation was successful. Returns 'true' if the attachment (or version) was deleted, and 'false' otherwise. |
Delete a specific sheet from Smartsheet to manage space and relevance.
| Name | Type | Required | Description |
| SheetId | String | False | The unique identifier of the sheet to be deleted. This is typically a numeric or GUID value that uniquely identifies a sheet in Smartsheet. |
| SheetName | String | False | The name of the sheet to be deleted. This should match the name of an existing sheet, providing a human-readable reference. |
| Name | Type | Description |
| Success | String | Indicates whether the deletion operation was successful. Returns 'true' for success or 'false' if the operation failed. |
Delete a user in your Smartsheet account.
| Name | Type | Required | Description |
| UserId | String | True | The unique identifier of the user to be deleted. |
| RemoveFromSharing | Boolean | False | Boolean value indicating whether to remove the user's access to all assets created by them in your account. |
| TransferOwnership | Boolean | False | Boolean value indicating whether to transfer ownership of all the deleted user's assets to another user. By default, the ownership is transferred to the group owner of each group the deleted user was part of. |
| TransferTo | String | False | The unique identifier of the user to which the assets of the deleted user will be transferred to. Applies only when 'TransferOwnership' is set to true. Use this parameter to override the default behavior of 'TransferOwnership'. |
| Name | Type | Description |
| Success | Boolean | A boolean value indicating whether the operation was successful. Returns 'true' if the user was deleted, and 'false' otherwise. |
Import CSV or XLSX files into Smartsheet, specifying the target folder or workspace.
| Name | Type | Required | Description |
| SheetName | String | True | Required. Specifies the name of the new sheet to be created in Smartsheet. This will appear as the title of the sheet. |
| HeaderRowIndex | String | False | Optional parameter. A zero-based integer that identifies the row to use as column headers in the imported file. Rows before this index are ignored during the import. If omitted, columns are assigned default names such as Column1, Column2, etc. |
| PrimaryColumnIndex | String | False | Optional parameter. A zero-based integer indicating which column to set as the primary column in the new sheet. The primary column is used for unique identifiers and critical data. Defaults to 0 if not specified. |
| FileName | String | True | Specifies the name and extension of the file to upload, including the optional full file path if the Content parameter is not used. For example: 'C:/Users/Public/Desktop/Departments.csv'. |
| FolderId | String | False | Specifies the folder where the new sheet will be created. If provided, the imported data is saved into a new sheet within this folder. |
| WorkspaceId | String | False | Specifies the workspace where the new sheet will be created. If provided, the imported data is saved into a new sheet within this workspace. |
| Overwrite | String | False | Indicates whether to overwrite an existing sheet with the same name. If true, FolderId or WorkspaceId is required and the existing sheet will be replaced with the new data.
デフォルト値はfalseです。 |
| Name | Type | Description |
| Id | String | The unique identifier of the newly created or updated sheet. |
| Name | String | The name of the newly created or updated sheet as it appears in Smartsheet. |
| AccessLevel | String | The access level of the current user on the new sheet, such as 'Viewer', 'Editor', or 'Admin'. |
| Permalink | String | The direct URL link to access the newly created or updated sheet in Smartsheet. |
| Success | String | Indicates whether the deletion operation was successful. Returns 'true' for success or 'false' if the operation failed. |
Move rows between Smartsheets for efficient data organization and management.
| Name | Type | Required | Description |
| SheetId | String | False | The unique identifier of the source sheet from which rows will be moved. |
| RowIds | String | False | A list of row IDs to move, provided as comma-separated values. This is required unless RowIdsFilePath is specified. |
| RowIdsFilePath | String | False | The absolute path to a local text file containing a comma-separated list of row IDs to be moved. This is required unless RowIds is specified. |
| DestinationSheetId | String | False | The unique identifier of the destination sheet where rows will be moved to. |
| Include | String | False | An optional, comma-separated list specifying additional elements to move along with the rows, such as attachments or discussions. |
| IgnoreRowsNotFound | String | False | Optional parameter. Set to 'True' to ignore errors for rows not found in the source sheet. The default is 'False', causing an error if non-existent rows are specified. |
| Name | Type | Description |
| Success | String | Indicates whether the rows were moved successfully (True or False). |
| AffectedRows | String | The total number of rows that were successfully moved. |
Relocate a sheet to a new folder, home directory, or workspace for better accessibility.
| Name | Type | Required | Description |
| SheetId | String | True | The unique identifier of the sheet to be relocated within Smartsheet. |
| DestinationType | String | True | Specifies the target container type for the sheet relocation. Valid values include 'folder', 'home', or 'workspace'. |
| DestinationId | String | False | The unique identifier of the target container for the sheet relocation. Mandatory if 'DestinationType' is 'folder' or 'workspace'. If 'DestinationType' is 'home', this value must be null. |
| Name | Type | Description |
| Success | String | Indicates if the sheet was successfully moved to the specified destination (True or False). |
このセクションで説明されているシステムテーブルをクエリして、スキーマ情報、データソース機能に関する情報、およびバッチ操作の統計にアクセスできます。
以下のテーブルは、Smartsheet のデータベースメタデータを返します。
以下のテーブルは、データソースへの接続方法およびクエリ方法についての情報を返します。
次のテーブルは、データ変更クエリ(バッチ処理を含む)のクエリ統計を返します。
利用可能なデータベースをリストします。
次のクエリは、接続文字列で決定されるすべてのデータベースを取得します。
SELECT * FROM sys_catalogs
| Name | Type | Description |
| CatalogName | String | データベース名。 |
利用可能なスキーマをリストします。
次のクエリは、すべての利用可能なスキーマを取得します。
SELECT * FROM sys_schemas
| Name | Type | Description |
| CatalogName | String | データベース名。 |
| SchemaName | String | スキーマ名。 |
利用可能なテーブルをリストします。
次のクエリは、利用可能なテーブルおよびビューを取得します。
SELECT * FROM sys_tables
| Name | Type | Description |
| CatalogName | String | テーブルまたはビューを含むデータベース。 |
| SchemaName | String | テーブルまたはビューを含むスキーマ。 |
| TableName | String | テーブル名またはビュー名。 |
| TableType | String | テーブルの種類(テーブルまたはビュー)。 |
| Description | String | テーブルまたはビューの説明。 |
| IsUpdateable | Boolean | テーブルが更新可能かどうか。 |
利用可能なテーブルおよびビューのカラムについて説明します。
次のクエリは、Sheet_Test_Sheet テーブルのカラムとデータ型を返します。
SELECT ColumnName, DataTypeName FROM sys_tablecolumns WHERE TableName='Sheet_Test_Sheet'
| Name | Type | Description |
| CatalogName | String | テーブルまたはビューを含むデータベースの名前。 |
| SchemaName | String | テーブルまたはビューを含むスキーマ。 |
| TableName | String | カラムを含むテーブルまたはビューの名前。 |
| ColumnName | String | カラム名。 |
| DataTypeName | String | データ型の名前。 |
| DataType | Int32 | データ型を示す整数値。この値は、実行時に環境に基づいて決定されます。 |
| Length | Int32 | カラムのストレージサイズ。 |
| DisplaySize | Int32 | 指定されたカラムの通常の最大幅(文字数)。 |
| NumericPrecision | Int32 | 数値データの最大桁数。文字データおよび日時データの場合は、カラムの長さ(文字数)。 |
| NumericScale | Int32 | カラムのスケール(小数点以下の桁数)。 |
| IsNullable | Boolean | カラムがNull を含められるかどうか。 |
| Description | String | カラムの簡単な説明。 |
| Ordinal | Int32 | カラムのシーケンスナンバー。 |
| IsAutoIncrement | String | カラムに固定増分値が割り当てられるかどうか。 |
| IsGeneratedColumn | String | 生成されたカラムであるかどうか。 |
| IsHidden | Boolean | カラムが非表示かどうか。 |
| IsArray | Boolean | カラムが配列かどうか。 |
| IsReadOnly | Boolean | カラムが読み取り専用かどうか。 |
| IsKey | Boolean | sys_tablecolumns から返されたフィールドがテーブルの主キーであるかどうか。 |
| ColumnType | String | スキーマ内のカラムの役割または分類。可能な値は、SYSTEM、LINKEDCOLUMN、NAVIGATIONKEY、REFERENCECOLUMN、およびNAVIGATIONPARENTCOLUMN が含まれます。 |
利用可能なストアドプロシージャをリストします。
次のクエリは、利用可能なストアドプロシージャを取得します。
SELECT * FROM sys_procedures
| Name | Type | Description |
| CatalogName | String | ストアドプロシージャを含むデータベース。 |
| SchemaName | String | ストアドプロシージャを含むスキーマ。 |
| ProcedureName | String | ストアドプロシージャの名前。 |
| Description | String | ストアドプロシージャの説明。 |
| ProcedureType | String | PROCEDURE やFUNCTION などのプロシージャのタイプ。 |
ストアドプロシージャパラメータについて説明します。
次のクエリは、RefreshOAuthAccessToken ストアドプロシージャのすべての入力パラメータについての情報を返します。
SELECT * FROM sys_procedureparameters WHERE ProcedureName = 'RefreshOAuthAccessToken' AND Direction = 1 OR Direction = 2
パラメータに加えて結果セットのカラムを含めるには、IncludeResultColumns 擬似カラムをTrue に設定します。
SELECT * FROM sys_procedureparameters WHERE ProcedureName = 'RefreshOAuthAccessToken' AND IncludeResultColumns='True'
| Name | Type | Description |
| CatalogName | String | ストアドプロシージャを含むデータベースの名前。 |
| SchemaName | String | ストアドプロシージャを含むスキーマの名前。 |
| ProcedureName | String | パラメータを含むストアドプロシージャの名前。 |
| ColumnName | String | ストアドプロシージャパラメータの名前。 |
| Direction | Int32 | パラメータのタイプに対応する整数値:input (1)。input/output (2)、またはoutput(4)。input/output タイプパラメータは、入力パラメータと出力パラメータの両方になれます。 |
| DataType | Int32 | データ型を示す整数値。この値は、実行時に環境に基づいて決定されます。 |
| DataTypeName | String | データ型の名前。 |
| NumericPrecision | Int32 | 数値データの場合は最大精度。文字データおよび日時データの場合は、カラムの長さ(文字数)。 |
| Length | Int32 | 文字データの場合は、許可される文字数。数値データの場合は、許可される桁数。 |
| NumericScale | Int32 | 数値データの小数点以下の桁数。 |
| IsNullable | Boolean | パラメータがNull を含められるかどうか。 |
| IsRequired | Boolean | プロシージャの実行にパラメータが必要かどうか。 |
| IsArray | Boolean | パラメータが配列かどうか。 |
| Description | String | パラメータの説明。 |
| Ordinal | Int32 | パラメータのインデックス。 |
| Values | String | このパラメータで設定できる値は、このカラムに表示されるものに限られます。指定できる値はカンマ区切りです。 |
| SupportsStreams | Boolean | パラメータがファイルを表すかどうか。ファイルは、ファイルパスとして渡すことも、ストリームとして渡すこともできます。 |
| IsPath | Boolean | パラメータがスキーマ作成操作のターゲットパスかどうか。 |
| Default | String | 何も値が指定されていない場合に、このパラメータで使用される値。 |
| SpecificName | String | 複数のストアドプロシージャが同じ名前を持つ場合、それぞれの同名のストアドプロシージャを一意に識別するラベル。特定の名前を持つプロシージャが1つだけの場合は、その名前がここに単純に反映されます。 |
| IsCDataProvided | Boolean | プロシージャがネイティブのSmartsheet プロシージャではなく、CData によって追加 / 実装されているかどうか。 |
| Name | Type | Description |
| IncludeResultColumns | Boolean | 出力にパラメータに加えて結果セットのカラムを含めるかどうか。デフォルトはFalse です。 |
主キーおよび外部キーについて説明します。
次のクエリは、Sheet_Test_Sheet テーブルの主キーを取得します。
SELECT * FROM sys_keycolumns WHERE IsKey='True' AND TableName='Sheet_Test_Sheet'
| Name | Type | Description |
| CatalogName | String | キーを含むデータベースの名前。 |
| SchemaName | String | キーを含むスキーマの名前。 |
| TableName | String | キーを含むテーブルの名前。 |
| ColumnName | String | キーカラムの名前 |
| IsKey | Boolean | カラムがTableName フィールドで参照されるテーブル内の主キーかどうか。 |
| IsForeignKey | Boolean | カラムがTableName フィールドで参照される外部キーかどうか。 |
| PrimaryKeyName | String | 主キーの名前。 |
| ForeignKeyName | String | 外部キーの名前。 |
| ReferencedCatalogName | String | 主キーを含むデータベース。 |
| ReferencedSchemaName | String | 主キーを含むスキーマ。 |
| ReferencedTableName | String | 主キーを含むテーブル。 |
| ReferencedColumnName | String | 主キーのカラム名。 |
外部キーについて説明します。
次のクエリは、他のテーブルを参照するすべての外部キーを取得します。
SELECT * FROM sys_foreignkeys WHERE ForeignKeyType = 'FOREIGNKEY_TYPE_IMPORT'
| 名前 | タイプ | 説明 |
| CatalogName | String | キーを含むデータベースの名前。 |
| SchemaName | String | キーを含むスキーマの名前。 |
| TableName | String | キーを含むテーブルの名前。 |
| ColumnName | String | キーカラムの名前 |
| PrimaryKeyName | String | 主キーの名前。 |
| ForeignKeyName | String | 外部キーの名前。 |
| ReferencedCatalogName | String | 主キーを含むデータベース。 |
| ReferencedSchemaName | String | 主キーを含むスキーマ。 |
| ReferencedTableName | String | 主キーを含むテーブル。 |
| ReferencedColumnName | String | 主キーのカラム名。 |
| ForeignKeyType | String | 外部キーがインポート(他のテーブルを指す)キーかエクスポート(他のテーブルから参照される)キーかを指定します。 |
主キーについて説明します。
次のクエリは、すべてのテーブルとビューから主キーを取得します。
SELECT * FROM sys_primarykeys
| Name | Type | Description |
| CatalogName | String | キーを含むデータベースの名前。 |
| SchemaName | String | キーを含むスキーマの名前。 |
| TableName | String | キーを含むテーブルの名前。 |
| ColumnName | String | キーカラムの名前。 |
| KeySeq | String | 主キーのシーケンス番号。 |
| KeyName | String | 主キーの名前。 |
利用可能なインデックスについて説明します。インデックスをフィルタリングすることで、より高速なクエリ応答時間でセレクティブクエリを記述できます。
次のクエリは、主キーでないすべてのインデックスを取得します。
SELECT * FROM sys_indexes WHERE IsPrimary='false'
| Name | Type | Description |
| CatalogName | String | インデックスを含むデータベースの名前。 |
| SchemaName | String | インデックスを含むスキーマの名前。 |
| TableName | String | インデックスを含むテーブルの名前。 |
| IndexName | String | インデックス名。 |
| ColumnName | String | インデックスに関連付けられたカラムの名前。 |
| IsUnique | Boolean | インデックスが固有の場合はTrue。そうでない場合はFalse。 |
| IsPrimary | Boolean | インデックスが主キーの場合はTrue。そうでない場合はFalse。 |
| Type | Int16 | インデックスタイプに対応する整数値:statistic (0)、clustered (1)、hashed (2)、またはother (3)。 |
| SortOrder | String | 並べ替え順序:A が昇順、D が降順。 |
| OrdinalPosition | Int16 | インデックスのカラムのシーケンスナンバー。 |
利用可能な接続プロパティと、接続文字列に設定されている接続プロパティに関する情報を返します。
次のクエリは、接続文字列に設定されている、あるいはデフォルト値で設定されているすべての接続プロパティを取得します。
SELECT * FROM sys_connection_props WHERE Value <> ''
| Name | Type | Description |
| Name | String | 接続プロパティ名。 |
| ShortDescription | String | 簡単な説明。 |
| Type | String | 接続プロパティのデータ型。 |
| Default | String | 明示的に設定されていない場合のデフォルト値。 |
| Values | String | 可能な値のカンマ区切りリスト。別な値が指定されていると、検証エラーがスローされます。 |
| Value | String | 設定した値またはあらかじめ設定されたデフォルト。 |
| Required | Boolean | プロパティが接続に必要かどうか。 |
| Category | String | 接続プロパティのカテゴリ。 |
| IsSessionProperty | String | プロパティが、現在の接続に関する情報を保存するために使用されるセッションプロパティかどうか。 |
| Sensitivity | String | プロパティの機密度。これは、プロパティがロギングおよび認証フォームで難読化されているかどうかを通知します。 |
| PropertyName | String | キャメルケースの短縮形の接続プロパティ名。 |
| Ordinal | Int32 | パラメータのインデックス。 |
| CatOrdinal | Int32 | パラメータカテゴリのインデックス。 |
| Hierarchy | String | このプロパティと一緒に設定する必要がある、関連のある依存プロパティを表示します。 |
| Visible | Boolean | プロパティが接続UI に表示されるかどうかを通知します。 |
| ETC | String | プロパティに関するその他のさまざまな情報。 |
Cloud がデータソースにオフロードできるSELECT クエリ処理について説明します。
SQL 構文の詳細については、SQL 準拠 を参照してください。
以下はSQL 機能のサンプルデータセットです。 SELECT 機能のいくつかの側面がサポートされている場合には、カンマ区切りのリストで返されます。サポートされていない場合、カラムにはNO が入ります。
| 名前 | 説明 | 有効な値 |
| AGGREGATE_FUNCTIONS | サポートされている集計関数。 | AVG, COUNT, MAX, MIN, SUM, DISTINCT |
| COUNT | COUNT 関数がサポートされているかどうか。 | YES, NO |
| IDENTIFIER_QUOTE_OPEN_CHAR | 識別子をエスケープするための開始文字。 | [ |
| IDENTIFIER_QUOTE_CLOSE_CHAR | 識別子をエスケープするための終了文字。 | ] |
| SUPPORTED_OPERATORS | サポートされているSQL 演算子。 | =, >, <, >=, <=, <>, !=, LIKE, NOT LIKE, IN, NOT IN, IS NULL, IS NOT NULL, AND, OR |
| GROUP_BY | GROUP BY がサポートされているかどうか。サポートされている場合、どのレベルでサポートされているか。 | NO, NO_RELATION, EQUALS_SELECT, SQL_GB_COLLATE |
| OJ_CAPABILITIES | サポートされている外部結合の種類。 | NO, LEFT, RIGHT, FULL, INNER, NOT_ORDERED, ALL_COMPARISON_OPS |
| OUTER_JOINS | 外部結合がサポートされているかどうか。 | YES, NO |
| SUBQUERIES | サブクエリがサポートされているかどうか。サポートされていれば、どのレベルでサポートされているか。 | NO, COMPARISON, EXISTS, IN, CORRELATED_SUBQUERIES, QUANTIFIED |
| STRING_FUNCTIONS | サポートされている文字列関数。 | LENGTH, CHAR, LOCATE, REPLACE, SUBSTRING, RTRIM, LTRIM, RIGHT, LEFT, UCASE, SPACE, SOUNDEX, LCASE, CONCAT, ASCII, REPEAT, OCTET, BIT, POSITION, INSERT, TRIM, UPPER, REGEXP, LOWER, DIFFERENCE, CHARACTER, SUBSTR, STR, REVERSE, PLAN, UUIDTOSTR, TRANSLATE, TRAILING, TO, STUFF, STRTOUUID, STRING, SPLIT, SORTKEY, SIMILAR, REPLICATE, PATINDEX, LPAD, LEN, LEADING, KEY, INSTR, INSERTSTR, HTML, GRAPHICAL, CONVERT, COLLATION, CHARINDEX, BYTE |
| NUMERIC_FUNCTIONS | サポートされている数値関数。 | ABS, ACOS, ASIN, ATAN, ATAN2, CEILING, COS, COT, EXP, FLOOR, LOG, MOD, SIGN, SIN, SQRT, TAN, PI, RAND, DEGREES, LOG10, POWER, RADIANS, ROUND, TRUNCATE |
| TIMEDATE_FUNCTIONS | サポートされている日付および時刻関数。 | NOW, CURDATE, DAYOFMONTH, DAYOFWEEK, DAYOFYEAR, MONTH, QUARTER, WEEK, YEAR, CURTIME, HOUR, MINUTE, SECOND, TIMESTAMPADD, TIMESTAMPDIFF, DAYNAME, MONTHNAME, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, EXTRACT |
| REPLICATION_SKIP_TABLES | レプリケーション中にスキップされたテーブルを示します。 | |
| REPLICATION_TIMECHECK_COLUMNS | レプリケーション中に更新判断のカラムとして使用するかどうかを、(指定された順に)チェックするカラムのリストを含む文字列の配列。 | |
| IDENTIFIER_PATTERN | 識別子としてどの文字列が有効かを示す文字列値。 | |
| SUPPORT_TRANSACTION | プロバイダーが、コミットやロールバックなどのトランザクションをサポートしているかどうかを示します。 | YES, NO |
| DIALECT | 使用するSQL ダイアレクトを示します。 | |
| KEY_PROPERTIES | Uniform データベースを特定するプロパティを示します。 | |
| SUPPORTS_MULTIPLE_SCHEMAS | プロバイダー用に複数のスキームが存在するかどうかを示します。 | YES, NO |
| SUPPORTS_MULTIPLE_CATALOGS | プロバイダー用に複数のカタログが存在するかどうかを示します。 | YES, NO |
| DATASYNCVERSION | このドライバーにアクセスするために必要な、CData Sync のバージョン。 | Standard, Starter, Professional, Enterprise |
| DATASYNCCATEGORY | このドライバーのCData Sync カテゴリ。 | Source, Destination, Cloud Destination |
| SUPPORTSENHANCEDSQL | API で提供されている以上の、追加SQL 機能がサポートされているかどうか。 | TRUE, FALSE |
| SUPPORTS_BATCH_OPERATIONS | バッチ操作がサポートされているかどうか。 | YES, NO |
| SQL_CAP | このドライバーでサポートされているすべてのSQL 機能。 | SELECT, INSERT, DELETE, UPDATE, TRANSACTIONS, ORDERBY, OAUTH, ASSIGNEDID, LIMIT, LIKE, BULKINSERT, COUNT, BULKDELETE, BULKUPDATE, GROUPBY, HAVING, AGGS, OFFSET, REPLICATE, COUNTDISTINCT, JOINS, DROP, CREATE, DISTINCT, INNERJOINS, SUBQUERIES, ALTER, MULTIPLESCHEMAS, GROUPBYNORELATION, OUTERJOINS, UNIONALL, UNION, UPSERT, GETDELETED, CROSSJOINS, GROUPBYCOLLATE, MULTIPLECATS, FULLOUTERJOIN, MERGE, JSONEXTRACT, BULKUPSERT, SUM, SUBQUERIESFULL, MIN, MAX, JOINSFULL, XMLEXTRACT, AVG, MULTISTATEMENTS, FOREIGNKEYS, CASE, LEFTJOINS, COMMAJOINS, WITH, LITERALS, RENAME, NESTEDTABLES, EXECUTE, BATCH, BASIC, INDEX |
| PREFERRED_CACHE_OPTIONS | 使用したいcacheOptions を指定する文字列値。 | |
| ENABLE_EF_ADVANCED_QUERY | ドライバーがEntity Framework の高度なクエリをサポートしているかどうかを示します。サポートしていなければ、クエリはクライアントサイドで処理されます。 | YES, NO |
| PSEUDO_COLUMNS | 利用可能な疑似カラムを示す文字列の配列。 | |
| MERGE_ALWAYS | 値がtrue であれば、CData Sync 内でMerge Model が強制的に実行されます。 | TRUE, FALSE |
| REPLICATION_MIN_DATE_QUERY | レプリケート開始日時を返すSELECT クエリ。 | |
| REPLICATION_MIN_FUNCTION | サーバーサイドでmin を実行するために使用する式名を、プロバイダーが指定できるようになります。 | |
| REPLICATION_START_DATE | レプリケート開始日を、プロバイダーが指定できるようになります。 | |
| REPLICATION_MAX_DATE_QUERY | レプリケート終了日時を返すSELECT クエリ。 | |
| REPLICATION_MAX_FUNCTION | サーバーサイドでmax を実行するために使用する式名を、プロバイダーが指定できるようになります。 | |
| IGNORE_INTERVALS_ON_INITIAL_REPLICATE | 初回のレプリケートで、レプリケートをチャンクに分割しないテーブルのリスト。 | |
| CHECKCACHE_USE_PARENTID | CheckCache 構文を親キーカラムに対して実行するかどうかを示します。 | TRUE, FALSE |
| CREATE_SCHEMA_PROCEDURES | スキーマファイルの生成に使用できる、ストアドプロシージャを示します。 |
次のクエリは、WHERE 句で使用できる演算子を取得します。
SELECT * FROM sys_sqlinfo WHERE Name = 'SUPPORTED_OPERATORS'
WHERE 句では、個々のテーブルの制限や要件が異なる場合がありますので注意してください。詳しくは、データモデル セクションを参照してください。
| Name | Type | Description |
| NAME | String | SQL 構文のコンポーネント、またはサーバー上で処理できる機能。 |
| VALUE | String | サポートされるSQL またはSQL 構文の詳細。 |
試行された変更に関する情報を返します。
次のクエリは、バッチ処理で変更された行のId を取得します。
SELECT * FROM sys_identity
| Name | Type | Description |
| Id | String | データ変更処理から返された、データベース生成Id。 |
| Batch | String | バッチの識別子。1 は単一処理。 |
| Operation | String | バッチ内の処理の結果:INSERTED、UPDATED、またはDELETED。 |
| Message | String | SUCCESS、またはバッチ内の更新が失敗した場合のエラーメッセージ。 |
利用可能なシステム情報を説明します。
次のクエリは、すべてのカラムを取得します。
SELECT * FROM sys_information
| Name | Type | Description |
| Product | String | 製品名。 |
| Version | String | 製品のバージョン番号。 |
| Datasource | String | 製品が接続するデータソースの名前。 |
| NodeId | String | 製品がインストールされているマシンの固有識別子。 |
| HelpURL | String | 製品のヘルプドキュメントのURL。 |
| License | String | 製品のライセンス情報。(この情報が利用できない場合、この項目は空白のままか「N/A」と表示されます。) |
| Location | String | 製品のライブラリが格納されているファイルパスの場所。 |
| Environment | String | 製品が現在稼働している環境またはランタイムのバージョン。 |
| DataSyncVersion | String | 本コネクタを使用するために必要なCData Sync のティア。 |
| DataSyncCategory | String | CData Sync 機能のカテゴリ(例:Source、Destination)。 |
Cloud は、データソースの型を、スキーマで使用可能な対応するデータ型にマッピングします。以下のテーブルはこれらのマッピング(TypeDetectionScheme がRowScan に設定された場合のデフォルトの動作)を説明します。
| Smartsheet | CData スキーマ |
| TEXT_NUMBER (Text) | string |
| TEXT_NUMBER (Whole Number) | int (<2,147,483,647) or long (>2,147,483,647) |
| TEXT_NUMBER (Decimal) | float |
| CHECKBOX | bool |
| DATE | date |
| DATETIME | datetime |
| ABSTRACT_DATETIME | datetime |
| CONTACT_LIST | string |
| MULTI_CONTACT_LIST | string |
| PICKLIST | string |
| MULTI_PICKLIST | string |
| Symbols for CHECKBOX columns | bool |
| Symbols for PICKLIST columns | string |
Smartsheet のデータ型の詳細については、Smartsheet API リファレンスのColumn Types を参照してください。
| プロパティ | 説明 |
| AuthScheme | Specifies the authentication method to use when connecting to Smartsheet. |
| PersonalAccessToken | Specifies the Personal Access Token for authenticating with Smartsheet. This token can be generated through the Smartsheet user interface. |
| プロパティ | 説明 |
| Region | Specifies the hosting region for your Smartsheet account. |
| UseLegacyAPI | Determines what API to use for discovering tables metadata (and some columns metadata as well). |
| プロパティ | 説明 |
| OAuthClientId | カスタムOAuth アプリケーションに割り当てられたクライアントID(コンシューマーキーとも呼ばれます)を指定します。このID は、認証時にOAuth 認可サーバーにアプリケーションを識別させるために必要です。 |
| OAuthClientSecret | カスタムOAuth アプリケーションに割り当てられたクライアントシークレットを指定します。この機密情報は、OAuth 認可サーバーに対してアプリケーションを認証するために使用されます。(カスタムOAuth アプリケーションのみ) |
| Scope | データへの適切なアクセスを確実にするために、認証ユーザーのアプリケーションへのアクセス範囲を指定します。 カスタムOAuth アプリケーションが必要な場合は、通常、アプリケーションの作成時に指定します。 |
| プロパティ | 説明 |
| SSLServerCert | TLS/SSL を使用して接続する際に、サーバーが受け入れ可能な証明書を指定します。 |
| プロパティ | 説明 |
| Verbosity | ログファイルのVerbosity レベルを指定し、記録される情報の詳細度を制御します。サポートされる値の範囲は1から5までです。 |
| プロパティ | 説明 |
| BrowsableSchemas | レポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。 |
| プロパティ | 説明 |
| Header | Specifies whether the first row of the data is treated as column headers or not. |
| HideFormattingCharacters | Specifies whether to hide formatting characters, such as currency symbols and percentage signs, in numeric values. When enabled, numeric columns are converted from varchar to double. |
| IgnoreRowsNotFound | Specifies whether the deletion operation should proceed if any specified Row IDs are not found. |
| MaxRows | 集計やGROUP BY を含まないクエリで返される最大行数を指定します。 |
| Pagesize | provider がSmartsheet にデータをリクエストするときに返す、ページあたりの最大レコード数を指定します。 |
| PseudoColumns | テーブルカラムとして公開する擬似カラムを、'TableName=ColumnName;TableName=ColumnName' の形式の文字列で指定します。 |
| ReportCompatibilityLevel | Specifies the level of compatibility for the returned data, determining the format and functionality provided in query results. |
| RowScanDepth | テーブルで利用可能なカラムを探すためにスキャンする行数の最大値。 |
| Timeout | provider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。 |
| TypeDetectionScheme | Specifies the method used to determine the data types of columns, such as by scanning rows, analyzing column formats, or treating all columns as strings. |
| UseFullFilePathsAsTableNames | Specifies whether table and view names corresponding to sheets and reports should include the full file path or only the file name. |
| UseIdAsTableName | Specifies whether sheet and report IDs, rather than their names, are used as table identifiers. |
| UseSimpleNames | テーブルとカラムに簡略名を使用するかどうかを指定します。 |
| ValueSource | Specifies whether the driver retrieves cell values from the Value fields, the DisplayValue field, or automatically selects based on availability. |
このセクションでは、本プロバイダーの接続文字列で設定可能なAuthentication プロパティの全リストを提供します。
| プロパティ | 説明 |
| AuthScheme | Specifies the authentication method to use when connecting to Smartsheet. |
| PersonalAccessToken | Specifies the Personal Access Token for authenticating with Smartsheet. This token can be generated through the Smartsheet user interface. |
Specifies the authentication method to use when connecting to Smartsheet.
string
"PersonalAccessToken"
This property specifies whether to use Personal Access Token (PAT) or OAuth for authenticating with Smartsheet. When using PersonalAccessToken, ensure you have a valid token available. For OAuth, configure the necessary OAuth settings, such as OAuthClientId, OAuthClientSecret, and CallbackURL, to enable the provider to perform OAuth-based authentication. Choose the authentication method based on your access requirements and Smartsheet's supported security protocols.
Specifies the Personal Access Token for authenticating with Smartsheet. This token can be generated through the Smartsheet user interface.
string
""
Ensure that the token is valid and matches the credentials required for the connection. If your token expires or becomes invalid, update this property with a new token.
This property is useful for secure and efficient authentication, particularly for automated workflows and integrations with the Smartsheet API.
このセクションでは、本プロバイダーの接続文字列で設定可能なConnection プロパティの全リストを提供します。
| プロパティ | 説明 |
| Region | Specifies the hosting region for your Smartsheet account. |
| UseLegacyAPI | Determines what API to use for discovering tables metadata (and some columns metadata as well). |
Specifies the hosting region for your Smartsheet account.
string
"GLOBAL"
This property specifies the region where your Smartsheet account is hosted to ensure that the provider connects to the appropriate Smartsheet data center. The available options are:
This property is useful for aligning your connection with compliance and performance requirements specific to your account's hosting region.
Determines what API to use for discovering tables metadata (and some columns metadata as well).
bool
true
Disabling this connection property will cause the driver to utilize more recent API-s instead of using the deprecated Home API for discovering metadata.
When the new API is used (property is disabled), reading some of the Info_ tables (Info_Sheets, Info_Templates, Info_Folders, etc.) is less performant in comparison to when the Home API is used. That's because the Cloud has to make an API call for every folder/subfolder in the workspaces of your Smartsheet account to read the corresponding resource/object for the table, due to the way that the new API is organized. That's significantly more API calls compared to when the Cloud utilizes the Home API for reading the data.
Additionally, the following changes apply to the data model when this property is disabled:
このセクションでは、本プロバイダーの接続文字列で設定可能なOAuth プロパティの全リストを提供します。
| プロパティ | 説明 |
| OAuthClientId | カスタムOAuth アプリケーションに割り当てられたクライアントID(コンシューマーキーとも呼ばれます)を指定します。このID は、認証時にOAuth 認可サーバーにアプリケーションを識別させるために必要です。 |
| OAuthClientSecret | カスタムOAuth アプリケーションに割り当てられたクライアントシークレットを指定します。この機密情報は、OAuth 認可サーバーに対してアプリケーションを認証するために使用されます。(カスタムOAuth アプリケーションのみ) |
| Scope | データへの適切なアクセスを確実にするために、認証ユーザーのアプリケーションへのアクセス範囲を指定します。 カスタムOAuth アプリケーションが必要な場合は、通常、アプリケーションの作成時に指定します。 |
カスタムOAuth アプリケーションに割り当てられたクライアントID(コンシューマーキーとも呼ばれます)を指定します。このID は、認証時にOAuth 認可サーバーにアプリケーションを識別させるために必要です。
string
""
このプロパティは2つのケースで必要となります:
(ドライバーが埋め込みOAuth 資格情報を提供する場合、この値はすでにCloud によって設定されており、手動で入力する必要がないことがあります。)
OAuthClientId は、認証付きの接続を構成する際に、OAuthClientSecret やOAuthSettingsLocation などの他のOAuth 関連プロパティと一緒に使用されるのが一般的です。
OAuthClientId は、ユーザーがOAuth 経由で認証を行う前に設定する必要がある、主要な接続パラメータの1つです。 この値は、通常、ID プロバイダーのアプリケーション登録設定で確認できます。 Client ID、Application ID、Consumer Key などとラベル付けされた項目を探してください。
クライアントID は、クライアントシークレットのような機密情報とは見なされませんが、アプリケーションの識別情報の一部であるため、慎重に取り扱う必要があります。公開リポジトリや共有設定ファイルでこの値を露出させないようにしてください。
接続設定時にこのプロパティを使用する方法の詳細については、接続の確立 を参照してください。
カスタムOAuth アプリケーションに割り当てられたクライアントシークレットを指定します。この機密情報は、OAuth 認可サーバーに対してアプリケーションを認証するために使用されます。(カスタムOAuth アプリケーションのみ)
string
""
このプロパティ(アプリケーションシークレットまたはコンシューマシークレットとも呼ばれます)は、安全なクライアント認証を必要とするすべてのフローでカスタムOAuth アプリケーションを使用する場合に必要です。たとえば、Web ベースのOAuth、サービスベースの接続、証明書ベースの認可フローなどが該当します。 組み込みOAuth アプリケーションを使用する場合は必要ありません。
クライアントシークレットは、OAuth フローのトークン交換ステップで使用されます。このステップでは、ドライバーが認可サーバーにアクセストークンを要求します。 この値が欠落しているか正しくない場合、認証はinvalid_client またはunauthorized_client エラーで失敗します。
OAuthClientSecret は、ユーザーがOAuth 経由で認証を行う前に設定する必要がある、主要な接続パラメータの1つです。この値は、OAuth アプリケーションを登録する際にID プロバイダーから取得できます。
Notes:
接続設定時にこのプロパティを使用する方法の詳細については、接続の確立 を参照してください。
データへの適切なアクセスを確実にするために、認証ユーザーのアプリケーションへのアクセス範囲を指定します。 カスタムOAuth アプリケーションが必要な場合は、通常、アプリケーションの作成時に指定します。
string
""
スコープは、認証ユーザーがどのようなアクセス権を持つかを定義するために設定されます。例えば、読み取り、読み取りと書き込み、機密情報への制限付きアクセスなどです。システム管理者は、スコープを使用して機能またはセキュリティクリアランスによるアクセスを選択的に有効化できます。
InitiateOAuth がGETANDREFRESH に設定されている場合、要求するスコープを変更したい場合はこのプロパティを使用する必要があります。
InitiateOAuth がREFRESH またはOFF のいずれかに設定されている場合、このプロパティまたはScope 入力を使用して、要求するスコープを変更できます。
このセクションでは、本プロバイダーの接続文字列で設定可能なSSL プロパティの全リストを提供します。
| プロパティ | 説明 |
| SSLServerCert | TLS/SSL を使用して接続する際に、サーバーが受け入れ可能な証明書を指定します。 |
TLS/SSL を使用して接続する際に、サーバーが受け入れ可能な証明書を指定します。
string
""
TLS/SSL 接続を使用している場合は、このプロパティを使用して、サーバーが受け入れるTLS/SSL 証明書を指定できます。このプロパティに値を指定すると、マシンによって信頼されていない他の証明書はすべて拒否されます。
このプロパティは、次のフォームを取ります:
| 説明 | 例 |
| フルPEM 証明書(例では省略されています) | -----BEGIN CERTIFICATE----- MIIChTCCAe4CAQAwDQYJKoZIhv......Qw== -----END CERTIFICATE----- |
| 証明書を保有するローカルファイルへのパス。 | C:\cert.cer |
| 公開鍵(例では省略されています) | -----BEGIN RSA PUBLIC KEY----- MIGfMA0GCSq......AQAB -----END RSA PUBLIC KEY----- |
| MD5 Thumbprint(hex 値はスペースまたはコロン区切り) | ecadbdda5a1529c58a1e9e09828d70e4 |
| SHA1 Thumbprint(hex 値はスペースまたはコロン区切り) | 34a929226ae0819f2ec14b4a3d904f801cbb150d |
Note:'*' を使用してすべての証明書を受け入れるように指定することも可能ですが、セキュリティ上の懸念があるため推奨されません。
このセクションでは、本プロバイダーの接続文字列で設定可能なLogging プロパティの全リストを提供します。
| プロパティ | 説明 |
| Verbosity | ログファイルのVerbosity レベルを指定し、記録される情報の詳細度を制御します。サポートされる値の範囲は1から5までです。 |
ログファイルのVerbosity レベルを指定し、記録される情報の詳細度を制御します。サポートされる値の範囲は1から5までです。
string
"1"
このプロパティは、Cloud がログファイルに含める詳細レベルを定義します。 Verbosity レベルを高くするとログに記録される情報の詳細が増えますが、ログファイルが大きくなり取り込まれるデータが増えるためパフォーマンスが低下する可能性があります。
デフォルトのVerbosity レベルは1で、通常の運用にはこれが推奨されます。 より高いVerbosity レベルは主にデバッグを目的としています。 各レベルの詳細については、ログ を参照してください。
LogModules プロパティと組み合わせることで、Verbosity は特定の情報カテゴリに対するログの詳細度を調整できます。
このセクションでは、本プロバイダーの接続文字列で設定可能なSchema プロパティの全リストを提供します。
| プロパティ | 説明 |
| BrowsableSchemas | レポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。 |
レポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。
string
""
利用可能なデータベーススキーマをすべてリストすると余分な時間がかかり、パフォーマンスが低下します。 接続文字列にスキーマのリストを指定することで、時間を節約しパフォーマンスを向上させることができます。
このセクションでは、本プロバイダーの接続文字列で設定可能なMiscellaneous プロパティの全リストを提供します。
| プロパティ | 説明 |
| Header | Specifies whether the first row of the data is treated as column headers or not. |
| HideFormattingCharacters | Specifies whether to hide formatting characters, such as currency symbols and percentage signs, in numeric values. When enabled, numeric columns are converted from varchar to double. |
| IgnoreRowsNotFound | Specifies whether the deletion operation should proceed if any specified Row IDs are not found. |
| MaxRows | 集計やGROUP BY を含まないクエリで返される最大行数を指定します。 |
| Pagesize | provider がSmartsheet にデータをリクエストするときに返す、ページあたりの最大レコード数を指定します。 |
| PseudoColumns | テーブルカラムとして公開する擬似カラムを、'TableName=ColumnName;TableName=ColumnName' の形式の文字列で指定します。 |
| ReportCompatibilityLevel | Specifies the level of compatibility for the returned data, determining the format and functionality provided in query results. |
| RowScanDepth | テーブルで利用可能なカラムを探すためにスキャンする行数の最大値。 |
| Timeout | provider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。 |
| TypeDetectionScheme | Specifies the method used to determine the data types of columns, such as by scanning rows, analyzing column formats, or treating all columns as strings. |
| UseFullFilePathsAsTableNames | Specifies whether table and view names corresponding to sheets and reports should include the full file path or only the file name. |
| UseIdAsTableName | Specifies whether sheet and report IDs, rather than their names, are used as table identifiers. |
| UseSimpleNames | テーブルとカラムに簡略名を使用するかどうかを指定します。 |
| ValueSource | Specifies whether the driver retrieves cell values from the Value fields, the DisplayValue field, or automatically selects based on availability. |
Specifies whether the first row of the data is treated as column headers or not.
bool
false
This property determines how the provider handles the first row of data when assigning column names. If set to true, the first row is used as column headers, allowing for more descriptive column names. If set to false, the provider assigns generic names, which may be less intuitive but avoids relying on the contents of the data.
When interpreting the first row as headers, certain conditions must be met. Column headers should not contain special characters, as these may cause parsing errors. Additionally, all column headers must be non-empty to ensure proper detection and assignment. While meaningful column names can simplify query writing and improve data readability, users should ensure that the first row in the dataset truly represents headers to avoid misinterpretation.
Specifies whether to hide formatting characters, such as currency symbols and percentage signs, in numeric values. When enabled, numeric columns are converted from varchar to double.
bool
false
This property removes formatting characters from numeric values and converts them into a numerical data type (double). It works only when TypeDetectionScheme is set to RowScan and the first RowScanDepth rows in a column are convertible to double. If these conditions are not met, the column retains its original format as varchar.
This property is useful for users who need clean, numeric data for calculations or analysis. By standardizing numeric values into a consistent data type, it ensures compatibility with analytical tools and simplifies data processing workflows.
Specifies whether the deletion operation should proceed if any specified Row IDs are not found.
bool
false
This property determines how the driver handles cases where specified Row IDs are not found during a deletion operation. If set to false, no rows are deleted, and a "not found" error is returned if any of the Row IDs are missing. If set to true, the operation proceeds, ignoring any missing Row IDs.
This property is useful for ensuring the integrity of delete operations, particularly when precise control over the affected rows is required. It can prevent unintended results caused by missing or incorrect Row IDs.
集計やGROUP BY を含まないクエリで返される最大行数を指定します。
int
-1
このプロパティのデフォルト値である-1 は、クエリに明示的にLIMIT 句が含まれていない限り、行の制限が適用されないことを意味します。 (クエリにLIMIT 句が含まれている場合、クエリで指定された値がMaxRows 設定よりも優先されます。)
MaxRows を0より大きい整数に設定することで、クエリがデフォルトで過度に大きな結果セットを返さないようにします。
このプロパティは、非常に大きなデータセットを返す可能性のあるクエリを実行する際に、パフォーマンスを最適化し、過剰なリソース消費を防ぐのに役立ちます。
provider がSmartsheet にデータをリクエストするときに返す、ページあたりの最大レコード数を指定します。
int
500
クエリを処理する際、Smartsheet でクエリされたデータすべてを一度にリクエストする代わりに、Cloud はクエリされたデータをページと呼ばれる部分ごとにリクエストすることができます。
この接続プロパティは、Cloud がページごとにリクエストする結果の最大数を決定します。
Note:大きなページサイズを設定すると全体的なクエリ実行時間が短縮される可能性がありますが、その場合、クエリ実行時にCloud がより多くのメモリを使用することになり、タイムアウトが発生するリスクがあります。
テーブルカラムとして公開する擬似カラムを、'TableName=ColumnName;TableName=ColumnName' の形式の文字列で指定します。
string
""
このプロパティを使用すると、Cloud がテーブルカラムとして公開する擬似カラムを定義できます。
個々の擬似カラムを指定するには、以下の形式を使用します。
Table1=Column1;Table1=Column2;Table2=Column3
すべてのテーブルのすべての擬似カラムを含めるには、次を使用してください:
*=*
Specifies the level of compatibility for the returned data, determining the format and functionality provided in query results.
string
"2"
This property specifies the compatibility level of returned data, allowing you to choose between legacy formats or newer, feature-rich data formats such as multi-contact or multi-picklist data. Choose a compatibility level based on your application's needs:
To retrieve data for report tables, the compatibility level must be set to at least 2. Adjust this property based on your application’s requirements to balance compatibility with advanced functionality.
This property is useful for managing how Smartsheet data is processed and consumed. Use it to align your data retrieval with application-specific needs, such as maintaining compatibility with older systems or leveraging advanced data structures for more complex use cases.
テーブルで利用可能なカラムを探すためにスキャンする行数の最大値。
int
100
テーブルのカラムはテーブル行をスキャンすることで決定される必要があります。この値はスキャンされる行数の最大値を設定します。
大きい値を設定すると、パフォーマンスが低下する場合があります。小さい値を設定すると、特にnull データがある場合には、データ型を正しく判定できない場合があります。
provider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。
int
60
タイムアウトは、クエリや操作全体ではなくサーバーとの個々の通信に適用されます。 例えば、各ページング呼び出しがタイムアウト制限内に完了する場合、クエリは60秒を超えて実行を続けることができます。
タイムアウトはデフォルトで60秒に設定されています。タイムアウトを無効にするには、このプロパティを0に設定します。
タイムアウトを無効にすると、操作が成功するか、サーバー側のタイムアウト、ネットワークの中断、またはサーバーのリソース制限などの他の条件で失敗するまで無期限に実行されます。
Note: このプロパティは慎重に使用してください。長時間実行される操作がパフォーマンスを低下させたり、応答しなくなる可能性があるためです。
Specifies the method used to determine the data types of columns, such as by scanning rows, analyzing column formats, or treating all columns as strings.
string
"RowScan"
This property defines how the driver determines column data types during query execution:
This property is useful for adapting the driver to different data structures or optimizing performance based on your dataset's characteristics.
If precision is critical, such as when working with mixed data types, use RowScan to ensure accurate type detection. For simpler datasets or when type consistency is not required, None can streamline processing. Use ColumnFormat when the dataset includes predefined formats for columns.
Specifies whether table and view names corresponding to sheets and reports should include the full file path or only the file name.
bool
false
This property controls the naming convention for tables and views exposed by the driver. If set to true, table and view names include the full file path, providing greater context for each dataset. For example, a table representing a sheet might be named SalesSheets_Agents_MonthlyReports_Sheet_JuneSheet. If set to false, only the file name is used in the table and view names. For example, Sheet_JuneSheet.
This property is useful when working with datasets that may contain files with similar names in different directories. Including the full file path helps to distinguish between files and provides additional clarity. However, for simpler datasets or use cases where shorter table names are preferred, setting this property to false can improve readability and simplify queries.
Specifies whether sheet and report IDs, rather than their names, are used as table identifiers.
bool
false
When this property is set to true, the driver uses sheet or report IDs as table identifiers instead of their names.
For example, instead of referencing a table as Sheet_SheetName, you would use Sheet_SheetId, such as in the query:
SELECT * FROM Sheet_3759298161102724.
This property is useful in scenarios where sheet and report names are ambiguous, frequently changed, or not unique. Using IDs ensures consistent and reliable table references, even if file names are updated.
Note: The properties UseFullFilePathsAsTableNames and UseIdAsTableName cannot both be enabled at the same time. If both are set to true, an error occurs.
テーブルとカラムに簡略名を使用するかどうかを指定します。
bool
false
Smartsheet テーブルでは、標準的なデータベースでは通常許可されない特殊文字を名前に含めることができます。このプロパティを使用すると、Cloud を従来のデータベースツールでより簡単に使用できるようになります。
UseSimpleNames をTrue に設定すると、返されるカラム名をシンプルにします。 表示されるカラム名において、アルファベット文字およびアンダースコアのみを有効とするネーミングスキームを強制します。
Notes:
Specifies whether the driver retrieves cell values from the Value fields, the DisplayValue field, or automatically selects based on availability.
string
"Auto"
This property specifies how cell values are retrieved from the data, based on the selected source field:
This property is useful for customizing how cell data is interpreted, particularly when working with data that includes both raw values and formatted display representations.
LZMA from 7Zip LZMA SDK
LZMA SDK is placed in the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or distribute the original LZMA SDK code, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.
LZMA2 from XZ SDK
Version 1.9 and older are in the public domain.
Xamarin.Forms
Xamarin SDK
The MIT License (MIT)
Copyright (c) .NET Foundation Contributors
All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
NSIS 3.10
Copyright (C) 1999-2025 Contributors THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
1. DEFINITIONS
"Contribution" means:
a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and b) in the case of each subsequent Contributor:
i) changes to the Program, and
ii) additions to the Program;
where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program.
"Contributor" means any person or entity that distributes the Program.
"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program.
"Program" means the Contributions distributed in accordance with this Agreement.
"Recipient" means anyone who receives the Program under this Agreement, including all Contributors.
2. GRANT OF RIGHTS
a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.
b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder.
c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.
d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement.
3. REQUIREMENTS
A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:
a) it complies with the terms and conditions of this Agreement; and
b) its license agreement:
i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose;
ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits;
iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and
iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.
When the Program is made available in source code form:
a) it must be made available under this Agreement; and
b) a copy of this Agreement must be included with each copy of the Program.
Contributors may not remove or alter any copyright notices contained within the Program.
Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution.
4. COMMERCIAL DISTRIBUTION
Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.
For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.
5. NO WARRANTY
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations.
6. DISCLAIMER OF LIABILITY
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
7. GENERAL
If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed.
All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive.
Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved.
This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.