Cloud

Build 24.0.9175
  • Smartsheet
    • はじめに
      • 接続の確立
      • SSL の設定
      • ファイアウォールとプロキシ
    • データモデル
      • ハイパーリンクカラム
      • テーブル
        • Info_Attachments
        • Info_Comments
        • Info_Discussions
        • Sheet_Content_Calendar
        • Sheet_Customer_Order_Tracking_History
        • Sheet_Event_Plan_Budget
        • Sheet_Expense_Report
        • Sheet_Gantt_Project_with_Hard_Deadline
        • Sheet_Job_Candidate_Tracker
        • Sheet_Sales_Activity_Tracking_by_Rep_Month
        • Sheet_Simple_Sales_Pipeline
        • Sheet_Team_Objectives_Tracker
        • Sheet_Team_Task_List_by_Priority
        • Sheet_WebFormTest
      • ビュー
        • Info_CellHistory
        • Info_Cells
        • Info_Columns
        • Info_Contacts
        • Info_Favorites
        • Info_Folders
        • Info_Groups
        • Info_Home
        • Info_Reports
        • Info_Rows
        • Info_ServerInformation
        • Info_Shares
        • Info_Sheets
        • Info_Templates
        • Info_Users
        • Info_Workspaces
        • Report_Sales_Activity_And_Team_Objectives
        • Report_Tasks_and_Events
      • ストアドプロシージャ
        • CopyRowsToAnotherSheet
        • CopySheet
        • CreateSheet
        • DeleteAttachment
        • DeleteSheet
        • ImportFile
        • MoveRowsToAnotherSheet
        • MoveSheet
      • システムテーブル
        • sys_catalogs
        • sys_schemas
        • sys_tables
        • sys_tablecolumns
        • sys_procedures
        • sys_procedureparameters
        • sys_keycolumns
        • sys_foreignkeys
        • sys_primarykeys
        • sys_indexes
        • sys_connection_props
        • sys_sqlinfo
        • sys_identity
        • sys_information
      • データ型マッピング
    • 接続文字列オプション
      • Authentication
        • AuthScheme
        • PersonalAccessToken
      • Connection
        • Region
      • OAuth
        • OAuthClientId
        • OAuthClientSecret
      • SSL
        • SSLServerCert
      • Logging
        • Verbosity
      • Schema
        • BrowsableSchemas
      • Miscellaneous
        • Header
        • HideFormattingCharacters
        • IgnoreRowsNotFound
        • MaxRows
        • Pagesize
        • PseudoColumns
        • ReportCompatibilityLevel
        • RowScanDepth
        • Timeout
        • TypeDetectionScheme
        • UseFullFilePathsAsTableNames
        • UseIdAsTableName
        • UseSimpleNames
        • ValueSource

Smartsheet - CData Cloud

概要

CData Cloud は、クラウドホスト型のソリューションで、複数の標準サービスやプロトコルにまたがるSmartsheet へのアクセスを実現します。MySQL またはSQL Server データベースに接続できるアプリケーションであれば、CData Cloud を介してSmartsheet に接続できます。

CData Cloud により、他のOData エンドポイントや標準SQL Server / MySQL データベースと同じように、Smartsheet への接続を標準化し、構成することができます。

主要機能

  • SQL をフルサポート:Smartsheet は、標準のリレーショナルデータベースとして表示され、Filter、Group、Join などの操作を実行できます。これらの操作は基盤となるAPI でサポートされているかどうかに関わらず、標準SQL を使用します。
  • CRUD サポート:読み取りと書き込みの両方の操作がサポートされており、Cloud またはデータソースのダウンストリームで設定できるセキュリティ設定によってのみ制限されます。
  • セキュアアクセス:管理者は、ユーザーを作成し、特定のデータベースへのアクセス、読み取り専用操作、または完全な読み書きの権限を定義することができます。
  • 包括的なデータモデルとダイナミックディスカバリー:CData Cloud は、動的データや検索可能なメタデータへのフルアクセスなど、基盤となるデータソースで公開されるすべてのデータへの包括的なアクセスを提供します。

CData Cloud

はじめに

このページでは、CData Cloud でのSmartsheet への接続の確立 のガイド、利用可能なリソースに関する情報、および使用可能な接続プロパティのリファレンスについて説明します。

Smartsheet への接続

接続の確立 は、CData Cloud にデータベースを作成するためのSmartsheet への認証方法と必要な接続プロパティの設定方法について示します。

CData Cloud サービスからデータにアクセス

利用可能な標準サービスを経由してSmartsheet からデータにアクセスする方法と、CData Cloud の管理については、CData Cloud ドキュメント で詳しく説明します。

CData Cloud

接続の確立

Database タブで対応するアイコンを選択して、Smartsheet に接続します。必須プロパティはSettings にリストされています。Advanced タブには、通常は必要ない接続プロパティが表示されます。

Smartsheet への接続

Smartsheet は、以下の認証メソッドによる接続をサポートしています。

  • 個人用アクセストークンの使用

個人用アクセストークン

個人用トークンを使用して、自分のデータをテストし、アクセスします。個人用トークンを取得する方法は次のとおりです。

  1. Smartsheet にログインします。
  2. [アカウント]をクリックして[個人用の設定]を選択します。
  3. [API アクセス]をクリックし、フォームを使用して新しいアクセストークンを生成するか、既存のアクセストークンを管理します。
AuthScheme をPersonalAccessToken に設定します。その後、PersonalAccessToken を生成したトークンに設定します。

Synch 接続

接続の前に、以下の変数を設定します。

  • OAuthClientId:カスタムOAuth アプリケーションの登録時に割り当てられたクライアントId。
  • OAuthClientSecret:カスタムOAuth アプリケーションの登録時に割り当てられたクライアントシークレット。

Smartsheet への接続 をクリックして、デフォルトブラウザでOAuth エンドポイントを開きます。ログインして、アプリケーションにアクセス許可を与えます。

ドライバーは、以下のようにOAuth プロセスを完了します。

  • コールバックURL からアクセストークンを取得します。
  • 古いトークンの期限が切れたときは、新しいアクセストークンを取得します。
  • OAuth 値を保存し、接続間で永続化します。

CData Cloud

SSL の設定

SSL 設定のカスタマイズ

デフォルトでは、Cloud はサーバーとのTLS のネゴシエーションを試みます。サーバー証明書は、デフォルトのシステム信頼済み証明書ストアで検証されます。SSLServerCert 接続プロパティを使用して、証明書の検証方法をオーバーライドできます。

別の証明書を指定するには、SSLServerCert 接続プロパティを参照してください。

CData Cloud

ファイアウォールとプロキシ

Firewall またはProxy 経由の接続

HTTP プロキシ

HTTP プロキシへの認証には、以下のように設定します。

  • ProxyServer:HTTP トラフィックをルートするプロキシサーバーのホストネームもしくはIP アドレス。
  • ProxyPort:プロキシサーバーが起動しているTCP ポート。
  • ProxyAuthScheme:プロキシサーバーに対して認証する際にCloud が使用する認証方法。
  • ProxyUser:プロキシサーバーに登録されているユーザーアカウントのユーザー名。
  • ProxyPassword:ProxyUser に紐付けられたパスワード。

その他のプロキシ

次のプロパティを設定します。

  • プロキシベースのファイヤーウォールを使用するには、FirewallType、FirewallServer、およびFirewallPort を設定します。
  • 接続をトンネルするには、FirewallType をTUNNEL に設定します。
  • 認証するには、FirewallUser とFirewallPassword を設定します。
  • SOCKS プロキシへの認証には、さらにFirewallType をSOCKS5 に設定します。

CData Cloud

データモデル

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_Shares Retrieve sharing configurations for Smartsheet reports, sheets, and workspaces to manage access controls.
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 資格情報の取得などのより高度なタスクも実行します。

API の制限

このセクションでは、API の制限および要件について説明します。

CData 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:

  • Set other:columnid to a unique value (any string that isn't already taken by another column).
  • Add an other:hyperlink attribute to the column. Set this attribute to the value in the name attribute of the column you want your new hyperlink column to display hyperlinks for.

    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"/>

CData Cloud

テーブル

Cloud はSmartsheet のデータを、標準のSQL ステートメントを使用してクエリできるリレーショナルデータベースのテーブルのリストとしてモデル化します。

CData Cloud - Smartsheet テーブル

Name Description
Info_Attachments Query Smartsheet Attachments. Attachments can exist on a Comment (i.e., within a Discussion), on a Row, or on a Sheet.
Info_Columns Query Smartsheet Columns in a Sheet or Report.
Info_Comments Query Smartsheet Comments in a Discussion.
Info_Discussions Query Smartsheet Discussions. A Discussion is a collection of one or more Comments. A Discussion can exist on a Row or a Sheet.

CData Cloud

Info_Attachments

Retrieve detailed information about Smartsheet attachments, which can be associated with comments, rows, or sheets, providing a comprehensive view of file dependencies.

Table Specific Information

Select

When getting data from this table the queries might be slow if you have a lot of sheets. To counter this, specifying SheetId is recommended. Also other parameters like DiscussionId, RowId, CommentId can be specified to get Attachments to the related object.

Retrieve all Attachments from all Sheets.

SELECT * FROM Info_Attachments

Retrieve all Attachments related to a Sheet.

SELECT * FROM Info_Attachments WHERE SheetId = '2940085806098308'

Retrieve all Attachments related to a discussion.

SELECT * FROM Info_Attachments WHERE SHEETId = '2940085806098308' AND DiscussionId = '8206230771525508'

Retrieve all Attachments related to a Row.

SELECT * FROM Info_Attachments WHERE SheetId = '2940085806098308' AND RowId = '6773684447799172'

Retrieve all Attachments related to a Comment.

SELECT * FROM Info_Attachments WHERE SheetId = '2940085806098308' AND CommentId = '1322606759569284'

Retrieve details of a specific Attachment.

SELECT * FROM Info_Attachments WHERE Id = '3053958945105796' AND SheetId = '2940085806098308'

Insert

You can attach a file to a specific row in a specific sheet. Fields required for Insert are SheetId, RowId, Name of the file and either FilePath or ContentEncoded.

INSERT INTO Info_Attachments (SheetId, RowId, Name, FilePath) VALUES ('8179839304787844', '4728727909230468', 'TestSheet.xlsx', 'G:\\\\TestSheet.xlsx')

INSERT INTO Info_Attachments (SheetId, RowId, Name, ContentEncoded) VALUES ('8179839304787844', '4728727909230468', 'TestSheet.xlsx', 'dGVzdGluZyBlbmNvZGVkIHRleHQ=')

Columns

Name Type ReadOnly References Description
Id [KEY] String False

A unique identifier assigned to each attachment for tracking and retrieval purposes.

Name String False

The user-assigned or system-generated name of the attachment, helping identify its content or purpose.

Url String False

A temporary URL that allows access to the attachment file for download or viewing.

UrlExpiresInMillis Long False

The lifespan, in milliseconds, of the temporary URL before it expires and becomes inaccessible.

AttachmentType String False

The category of the attachment, such as FILE or external integrations like GOOGLE_DRIVE, BOX_COM, or DROPBOX.

AttachmentSubType String False

Specifies the subtype for GOOGLE_DRIVE (for example, DOCUMENT, SPREADSHEET) or EGNYTE attachments (for example, FOLDER), providing further detail on the content format.

CreatedAt Timestamp False

The timestamp indicating when the attachment was first added to the system.

UserId String False

The unique identifier of the user who uploaded or created the attachment.

UserEmail String False

The email address of the user who added the attachment, used for contact or audit purposes.

UserName String False

The full name of the user who uploaded the attachment, displayed for reference. This is read-only.

MimeType String False

The file type of the attachment, expressed as a multipurpose internet mail extension (MIME) type (for example, image/png or application/pdf).

ParentType String False

Indicates the type of Smartsheet object the attachment is associated with, such as SHEET, ROW, or COMMENT.

ParentId String False

The unique identifier of the parent object (for example, sheet or row) that the attachment belongs to.

SizeInKb Long False

The size of the attachment file in kilobytes, applicable only for attachments of type FILE.

SheetId String False

The unique identifier of the sheet to which the attachment is linked.

RowId String False

The unique identifier of the row within a sheet where the attachment is associated.

DiscussionId String False

The unique identifier of the discussion thread to which the attachment is linked.

CommentId String False

The unique identifier of the comment in which the attachment is embedded.

FilePath String False

The file path on the local system used to insert the attachment into Smartsheet.

ContentEncoded String False

The BASE64-encoded representation of the file's content, used when uploading files.

CData Cloud

Info_Comments

Access comments within discussions in Smartsheet, providing insights into collaboration history.

Table Specific Information

Select

This view returns details for Columns of a specified Discussion. The SheetId parameter is always required.

Retrieve all comments from a sheet.

SELECT * FROM Info_Comments WHERE SheetId = '2940085806098308'

Retrieve details of a specified Comment.

SELECT * FROM Info_Comments WHERE SheetId = '2940085806098308' AND Id = '1322606759569284'

Insert

You can insert a comment to a discussion by providing SheetId, DiscussionId and Text.

INSERT INTO Info_Comments (SheetId, DiscussionId, Text) VALUES ('568679927703428', '4661021235275652', 'This is a comment 3')

Columns

Name Type ReadOnly References Description
Id [KEY] String False

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 False

The name of the user who authored the comment, useful for identifying contributors.

UserEmail String False

The email address of the user who authored the comment, allowing for communication or verification.

CreatedAt Datetime False

The timestamp indicating when the comment was originally created.

ModifiedAt Datetime False

The timestamp indicating the most recent update or edit made to the comment.

AttachmentsAggregate String False

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.

CData Cloud

Info_Discussions

Analyze discussion threads, including comments, tied to specific rows or sheets for better communication tracking.

Table Specific Information

Select

This view returns a list of Discussions. The SheetId parameter is always required.

Retrieve all Discussions related to a Sheet.

SELECT * FROM Info_Discussions WHERE SheetId = '2940085806098308'

Retrieve Discussions related to a specific Row of a Sheet.

SELECT * FROM Info_Discussions WHERE SheetId = '2940085806098308' AND RowId = '6773684447799172'

Retrieve details of a specified Comment.

SELECT * FROM Info_Discussions WHERE SheetId = '2940085806098308' AND Id = '8206230771525508'

Insert

You can insert a discussion to a sheet by providing SheetId and FirstDiscussionComment. To add a discussion to a row, provide RowId, SheetId, and FirstDiscussionComment.

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')

Columns

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.

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
FirstDiscussionComment String

A special input-only field for adding the initial comment to a new discussion.

CData Cloud

Sheet_Content_Calendar

Manage and analyze the Sheet_Content_Calendar, designed for scheduling and content tracking.

Columns

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.

CData Cloud

Sheet_Customer_Order_Tracking_History

Track and analyze historical customer order data using the Sheet_Customer_Order_Tracking_History.

Columns

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.

CData Cloud

Sheet_Event_Plan_Budget

Plan, budget, and track event-related data with the Sheet_Event_Plan_Budget table.

Columns

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.

CData Cloud

Sheet_Expense_Report

Manage and analyze expense reports effectively using the Sheet_Expense_Report table.

Columns

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.

CData Cloud

Sheet_Gantt_Project_with_Hard_Deadline

Track and manage projects with fixed deadlines using a Gantt-style layout in this Smartsheet table.

Columns

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.

CData Cloud

Sheet_Job_Candidate_Tracker

Track and manage job candidate progress and information with the Sheet_Job_Candidate_Tracker table.

Columns

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.

CData Cloud

Sheet_Sales_Activity_Tracking_by_Rep_Month

Monitor sales activity by representative and month with the Sheet_Sales_Activity_Tracking_by_Rep_Month table.

Columns

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.

CData Cloud

Sheet_Simple_Sales_Pipeline

Simplify sales tracking using the Sheet_Simple_Sales_Pipeline table for streamlined data management.

Columns

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.

CData Cloud

Sheet_Team_Objectives_Tracker

Monitor and track team objectives efficiently using the Sheet_Team_Objectives_Tracker.

Columns

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.

CData Cloud

Sheet_Team_Task_List_by_Priority

Prioritize and manage team tasks with the Sheet_Team_Task_List_by_Priority table.

Columns

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.

CData Cloud

Sheet_WebFormTest

Test and analyze web form data integration using the Sheet_WebFormTest table.

Columns

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.

CData Cloud

ビュー

ビューは、データを示すという点でテーブルに似ていますが、ビューは読み取り専用です。

クエリは、ビューに対して通常のテーブルと同様に実行することができます。

CData Cloud - Smartsheet ビュー

Name Description
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_Favorites Query Smartsheet Favorites.
Info_Folders Query Smartsheet Folders in the Sheets Folder for the User, in another Folder, or in a Workspace.
Info_Groups Query Smartsheet Groups.
Info_Home Query objects on the Home tab in Smartsheet. The Home tab shows all objects a User has access to.
Info_Reports Query Smartsheet 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_Shares Query the Sharing operations of Reports, Sheets, and Workspaces.
Info_Sheets Query Smartsheets 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_Templates Query Smartsheet Templates.
Info_Users Query the Users in the organization.
Info_Workspaces Query Smartsheet Workspaces.

CData Cloud

Info_CellHistory

Access the historical changes of specific cells in Smartsheet, enabling detailed audit and tracking capabilities.

Table Specific Information

Select

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'

Columns

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.

CData Cloud

Info_Cells

Explore individual cell data in Smartsheet rows, offering granular insights into sheet contents.

Table Specific Information

Select

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'

Columns

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.

CData Cloud

Info_Columns

Retrieve metadata and properties of columns in Smartsheet sheets or reports, essential for understanding sheet structures.

Table Specific Information

Select

This view returns details for Columns of a specified Sheet. The SheetId parameter is always required.

Retrieve Columns.

SELECT * FROM Info_Columns WHERE SheetId = '2940085806098308'

Retrieve details of the specified Columns.

SELECT * FROM Info_Columns WHERE SheetId = '2940085806098308' AND Id = '7999197812156292'

Columns

Name Type References Description
Id [KEY] String The unique identifier for the column, used to reference it programmatically.
Index Integer The numeric position of the column in the sheet, starting at 0 for the first column.
Title String The displayed name of the column, as shown in the Smartsheet interface.
Primary Boolean Indicates whether this column is the primary column, which typically contains key identifiers or names for rows.
Type String The functional data type of the column, such as Text_Number, Date, or Picklist, determining how data is stored and validated.
OptionsAggregate String A list of selectable options for the column, applicable for columns like dropdowns or picklists.
Hidden Boolean Indicates whether the column is hidden in the Smartsheet interface.
Symbol String Represents visual markers or indicators used in the column, with values varying by column type (for example, checkboxes, picklists).
ColumnType String Specifies the system-defined column type, such as auto-generated fields like 'created_by' or 'modified_date.'
TagsAggregate String Defines system tags for the column, used to indicate roles in features like Gantt charts or calendars (for example, 'gantt_duration').
Width Integer The pixel width used to display the column in the sheet's user interface.
Format String The applied formatting settings for the column, such as text alignment or date format.
FilterType String 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 Indicates whether the column is locked, preventing edits by all users except the owner or admin.
LockedForUser Boolean Specifies whether the column is locked for the current user based on their permissions.
SheetId String The unique identifier of the sheet to which this column belongs.

CData Cloud

Info_Contacts

Query Smartsheet user contact details, facilitating management of personal and shared connections.

Table Specific Information

Select

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'

Columns

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.
Email String The primary email address associated with the contact, used for communication purposes.

CData Cloud

Info_Favorites

Retrieve a user's favorite items in Smartsheet, helping prioritize frequently accessed content.

Table Specific Information

Select

This view returns a list of Favorite objects.

Retrieve all Favorite objects.

SELECT * FROM Info_Favorites

Columns

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.

CData Cloud

Info_Folders

Explore folder structures in Smartsheet, including user-level folders and workspace organization.

Table Specific Information

Select

Retrieve all Folders.

SELECT * FROM Info_Folders

Retrieve details for a Folder.

SELECT * FROM Info_Folders WHERE Id = '2035256120371076'

Retrieve Folders of a specified Workspace.

SELECT * FROM Info_Folders WHERE WorkspaceId = '2940085806098308'

Columns

Name Type References Description
Id [KEY] String A system-generated unique identifier for the folder, used to reference it programmatically.
Name String The user-defined name of the folder, typically representing its content or purpose.
Permalink String A direct, shareable URL linking to the folder within Smartsheet, useful for quick access.
Favorite Boolean Indicates whether the user has marked the folder as a favorite for easier navigation in their Home tab.
WorkspaceId String The unique identifier of the workspace that contains this folder, useful for context within a workspace hierarchy.

CData Cloud

Info_Groups

Retrieve group information for enhanced user management and role-based permissions in Smartsheet.

Table Specific Information

Select

Retrieve all Groups.

SELECT * FROM Info_Groups

Retrieve details for a Group.

SELECT * FROM Info_Groups WHERE Id = '2035256120371076'

Columns

Name Type References Description
Id [KEY] String A unique identifier for the group, used as the primary key.
Name String The descriptive name of the group, typically used for display and identification.
Description String A brief summary or details about the purpose or function of the group.
Owner String The email address of the user who owns or administers the group.
OwnerId String The unique identifier for the user who owns or manages the group.
CreatedAt Datetime The timestamp indicating when the group was initially created.
ModifiedAt Datetime The timestamp indicating the most recent update or change made to the group.

CData Cloud

Info_Home

Access items available on the Smartsheet Home tab, offering a centralized view of user-permissible objects.

Table Specific Information

Select

Retrieve all objects located on the Home tab:

SELECT * FROM Info_Home

Columns

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.

CData Cloud

Info_Reports

Query Smartsheet reports, providing insights into custom aggregated data across sheets.

Table Specific Information

Select

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'

Columns

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.

CData Cloud

Info_Rows

Retrieve detailed row data, including cells, discussions, and attachments, for enhanced row-level analysis.

Table Specific Information

Select

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'

Columns

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.

CData Cloud

Info_ServerInformation

Access Smartsheet server information and application constants, useful for API integrations.

Table Specific Information

Select

Retrieve Server Information:

SELECT * FROM Info_ServerInformation

Columns

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).

CData Cloud

Info_Shares

Retrieve sharing configurations for Smartsheet reports, sheets, and workspaces to manage access controls.

Table Specific Information

Select

This view returns a list of Shares. Either the SheetId or WorkspaceId parameter is always required.

Retrieve all Shares related to a Sheet.

SELECT * FROM Info_Shares WHERE SheetId = '2940085806098308'

Retrieve all Shares related to a Workspace.

SELECT * FROM Info_Shares WHERE WorkspaceId = '1630085806098114'

Retrieve details of a Share related to a specified Sheet.

SELECT * FROM Info_Shares WHERE SheetId = '2940085806098308' AND Id = '1928085806875098'

Retrieve details of a Share related to a specified Workspace.

SELECT * FROM Info_Shares WHERE WorkspaceId = '1630085806098114' AND Id = '2928085806875091'

Columns

Name Type References Description
Id [KEY] String A unique identifier assigned to this share, used to differentiate it from other shares.
Type String Specifies whether the share is for an individual user (USER) or a group (GROUP).
UserId String The unique identifier of the user associated with this share when the share type is USER.
GroupId String The unique identifier of the group associated with this share when the share type is GROUP.
Email String The email address of the user receiving the share, used for sending notifications and identifying the user.
Name String The full name of the user or the name of the group associated with the share. For users, this is shown if they are also a contact.
AccessLevel String Defines the level of access granted to the user or group, such as Viewer, Editor, or Admin, on the shared object.
Subject String The subject line of the optional email notification sent to inform the recipient about the share.
Message String The body text of the optional email notification sent to provide details or context about the share.
CcMe Boolean Indicates whether the sharer should receive a copy of the notification email sent to the recipient. True if enabled.
WorkspaceId String The unique identifier of the workspace that is shared.
SheetId String The unique identifier of the sheet that is shared within the workspace.

CData Cloud

Info_Sheets

Explore detailed metadata and structure of Smartsheet sheets, including their components like columns, rows, and attachments.

Table Specific Information

Select

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'

Columns

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.
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.

CData Cloud

Info_Templates

Retrieve Smartsheet template information to streamline the creation of standardized sheets.

Table Specific Information

Select

By default this view returns all Templates created by the user. If the TemplateType 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 TemplateType = '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'

Columns

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.
TemplateType String Specifies the type or category of the template, such as 'project plan' or 'budget sheet'.

使用できる値は次のとおりです。public, user

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.
Image String The URL pointing to an image representing the template, often used in visual displays or previews.
Locale String Indicates the language and region settings for the template, such as 'en-US' or 'fr-FR'.
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.

CData Cloud

Info_Users

Query user data within an organization for administrative and reporting purposes.

Table Specific Information

Select

Retrieve all Users.

SELECT * FROM Info_Users

Retrieve all Users of a specific Group.

SELECT * FROM Info_Users WHERE GroupId = '2928085806875091'

Columns

Name Type References Description
Id [KEY] String A unique identifier assigned to each user, used to differentiate them within the system.
AccountId String The unique identifier of the account to which the user belongs, establishing account association.
AccountName String The name of the account associated with the user, providing a human-readable reference.
Email String The email address registered for the user, used for communication and login purposes.
Name String The user's full name as it appears in the system, combining first and last name.
FirstName String The user's first name, typically used in personal greetings and identification.
LastName String The user's last name, often used for formal identification.
Admin Boolean Indicates whether the user is a system administrator with privileges to manage accounts and other users.
Locale String The language and regional settings associated with the user, impacting date formats and other locale-specific elements.
TimeZone String The user's timezone, used to localize date and time information across the platform.
LicensedSheetCreator Boolean Indicates if the user holds a license to create and own sheets within the system.
GroupAdmin Boolean Specifies whether the user can create and manage groups, granting them group admin privileges.
ResourceViewer Boolean Indicates if the user has access to view resource management features such as workload views.
Status String The current status of the user within the system. Possible values include: ACTIVE, PENDING, or DECLINED.
GroupId String The unique identifier of the group to which the user belongs, if applicable.
Company String The name of the company the user is associated with. Populated only when filtering by user Id.
Department String The department within the company that the user is part of. Populated only when filtering by user Id.
MobilePhone String The user's mobile phone number. This field is populated only when filtering by user Id.
LastLogin String The timestamp of the user's last login. Only populated if the user has logged in and an Id filter is applied.
Role String The role or position of the user within their organization. Populated only when filtering by user Id.
Title String The professional title of the user within their organization. Populated only when filtering by user Id.
WorkPhone String The user's work phone number. This field is populated only when filtering by user Id.

CData Cloud

Info_Workspaces

Access workspace-level details, including sheets and folders, for better organizational insights.

Table Specific Information

Select

Retrieve all Workspaces.

SELECT * FROM Info_Workspaces

Retrieve all details for a specific Workspace.

SELECT * FROM Info_Workspaces WHERE Id = '2928085806875091'

Columns

Name Type References Description
Id [KEY] String A globally unique identifier (GUID) for the workspace, used to distinguish it from other workspaces.
Name String The user-defined name of the workspace, used for organization and identification.
Favorite Boolean Indicates whether the workspace has been marked as a favorite by the user for quick access.
AccessLevel String Specifies the permissions level assigned to the user for this workspace, such as Viewer, Editor, or Admin.
Permalink String A permanent URL that provides a direct link to access the workspace within Smartsheet.

CData Cloud

Report_Sales_Activity_And_Team_Objectives

Analyze sales activities and team objectives using a dedicated Smartsheet report for performance tracking.

Columns

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.'

CData Cloud

Report_Tasks_and_Events

Access detailed task and event data within a Smartsheet report for efficient planning and monitoring.

Columns

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.'

CData Cloud

ストアドプロシージャ

ストアドプロシージャはファンクションライクなインターフェースで、Smartsheet の単純なSELECT/INSERT/UPDATE/DELETE 処理にとどまらずCloud の機能を拡張します。

ストアドプロシージャは、パラメータのリストを受け取り、目的の機能を実行し、プロシージャが成功したか失敗したかを示すとともにSmartsheet から関連するレスポンスデータを返します。

CData 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 Remove a specified attachment from Smartsheet to maintain data integrity.
DeleteSheet Delete a specific sheet from Smartsheet to manage space and relevance.
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.

CData Cloud

CopyRowsToAnotherSheet

Copy rows from one Smartsheet to another, streamlining data reorganization.

Input

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.

Result Set Columns

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.

CData Cloud

CopySheet

Duplicate an existing sheet and relocate it to a specified folder, home directory, or workspace.

Input

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.

Result Set Columns

Name Type Description
Success String Indicates whether the sheet copy operation completed successfully. Returns 'true' for success and 'false' for failure.

CData Cloud

CreateSheet

Create a new sheet in Smartsheet for data organization and tracking.

Note:このプロシージャは、インデックス付きパラメータを使用します。 インデックス付きパラメータは、プロシージャの入力として単一のパラメータを複数のインスタンスに提供することを容易にします。

Param# という名前の入力パラメータがあるとします。このようなインデックス付きパラメータの複数のインスタンスを入力するには、次のように実行します。

EXEC ProcedureName Param#1 = "value1", Param#2 = "value2", Param#3 = "value3"

以下の表では、インデックス付きの入力パラメータは、名前の末尾に '#' 文字が付きます。

Input

Name Type Required Description
SheetName String False 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.

Result Set Columns

Name Type Description
Success String A boolean or status flag indicating if the sheet creation operation was successful.

CData Cloud

DeleteAttachment

Remove a specified attachment from Smartsheet to maintain data integrity.

Input

Name Type Required Description
SheetId String False The unique identifier of the sheet containing the attachment to be deleted. This is required to locate the attachment within the specific sheet in Smartsheet.
AttachmentId String False The unique identifier of the attachment to be deleted. If the attachment has multiple versions, this ID specifies the exact version to remove. Each version is assigned a distinct attachment ID.

Result Set Columns

Name Type Description
Success String A boolean value indicating whether the deletion operation was successful. Returns 'true' if the attachment was deleted, and 'false' otherwise.

CData Cloud

DeleteSheet

Delete a specific sheet from Smartsheet to manage space and relevance.

Input

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.

Result Set Columns

Name Type Description
Success String Indicates whether the deletion operation was successful. Returns 'true' for success or 'false' if the operation failed.

CData Cloud

ImportFile

Import CSV or XLSX files into Smartsheet, specifying the target folder or workspace.

Input

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, the existing sheet will be replaced with the new data.

デフォルト値はfalseです。

Result Set Columns

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.

CData Cloud

MoveRowsToAnotherSheet

Move rows between Smartsheets for efficient data organization and management.

Input

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.

Result Set Columns

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.

CData Cloud

MoveSheet

Relocate a sheet to a new folder, home directory, or workspace for better accessibility.

Input

Name Type Required Description
SheetId String False The unique identifier of the sheet to be relocated within Smartsheet.
DestinationType String False 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.

Result Set Columns

Name Type Description
Success String Indicates if the sheet was successfully moved to the specified destination (True or False).

CData Cloud

システムテーブル

このセクションで説明されているシステムテーブルをクエリして、スキーマ情報、データソース機能に関する情報、およびバッチ操作の統計にアクセスできます。

スキーマテーブル

以下のテーブルは、Smartsheet のデータベースメタデータを返します。

  • sys_catalogs:利用可能なデータベースをリスト。
  • sys_schemas:利用可能なスキーマをリスト。
  • sys_tables:利用可能なテーブルおよびビューをリスト。
  • sys_tablecolumns:利用可能なテーブルおよびビューのカラムについて説明。
  • sys_procedures:利用可能なストアドプロシージャについて説明。
  • sys_procedureparameters:ストアドプロシージャパラメータについて説明。
  • sys_keycolumns:主キーおよび外部キーについて説明。
  • sys_indexes:利用可能なインデックスについて説明。

データソーステーブル

以下のテーブルは、データソースへの接続方法およびクエリ方法についての情報を返します。

  • sys_connection_props:利用可能な接続プロパティについての情報を返す。
  • sys_sqlinfo:Cloud がデータソースにオフロードできるSELECT クエリについて説明。

クエリ情報テーブル

次のテーブルは、データ変更クエリ(バッチ処理を含む)のクエリ統計を返します。

  • sys_identity:バッチ処理または単一の更新に関する情報を返す。

CData Cloud

sys_catalogs

利用可能なデータベースをリストします。

次のクエリは、接続文字列で決定されるすべてのデータベースを取得します。

SELECT * FROM sys_catalogs

Columns

Name Type Description
CatalogName String データベース名。

CData Cloud

sys_schemas

利用可能なスキーマをリストします。

次のクエリは、すべての利用可能なスキーマを取得します。

          SELECT * FROM sys_schemas
          

Columns

Name Type Description
CatalogName String データベース名。
SchemaName String スキーマ名。

CData Cloud

sys_tables

利用可能なテーブルをリストします。

次のクエリは、利用可能なテーブルおよびビューを取得します。

          SELECT * FROM sys_tables
          

Columns

Name Type Description
CatalogName String テーブルまたはビューを含むデータベース。
SchemaName String テーブルまたはビューを含むスキーマ。
TableName String テーブル名またはビュー名。
TableType String テーブルの種類(テーブルまたはビュー)。
Description String テーブルまたはビューの説明。
IsUpdateable Boolean テーブルが更新可能かどうか。

CData Cloud

sys_tablecolumns

利用可能なテーブルおよびビューのカラムについて説明します。

次のクエリは、Sheet_Test_Sheet テーブルのカラムとデータ型を返します。

SELECT ColumnName, DataTypeName FROM sys_tablecolumns WHERE TableName='Sheet_Test_Sheet' 

Columns

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 から返されたフィールドがテーブルの主キーであるかどうか。

CData Cloud

sys_procedures

利用可能なストアドプロシージャをリストします。

次のクエリは、利用可能なストアドプロシージャを取得します。

          SELECT * FROM sys_procedures
          

Columns

Name Type Description
CatalogName String ストアドプロシージャを含むデータベース。
SchemaName String ストアドプロシージャを含むスキーマ。
ProcedureName String ストアドプロシージャの名前。
Description String ストアドプロシージャの説明。
ProcedureType String PROCEDURE やFUNCTION などのプロシージャのタイプ。

CData Cloud

sys_procedureparameters

ストアドプロシージャパラメータについて説明します。

次のクエリは、RefreshOAuthAccessToken ストアドプロシージャのすべての入力パラメータについての情報を返します。

SELECT * FROM sys_procedureparameters WHERE ProcedureName='RefreshOAuthAccessToken' AND Direction=1 OR Direction=2

Columns

Name Type Description
CatalogName String ストアドプロシージャを含むデータベースの名前。
SchemaName String ストアドプロシージャを含むスキーマの名前。
ProcedureName String パラメータを含むストアドプロシージャの名前。
ColumnName String ストアドプロシージャパラメータの名前。
Direction Int32 パラメータのタイプに対応する整数値:input (1)。input/output (2)、またはoutput(4)。input/output タイプパラメータは、入力パラメータと出力パラメータの両方になれます。
DataTypeName String データ型の名前。
DataType Int32 データ型を示す整数値。この値は、実行時に環境に基づいて決定されます。
Length Int32 文字データの場合は、許可される文字数。数値データの場合は、許可される桁数。
NumericPrecision Int32 数値データの場合は最大精度。文字データおよび日時データの場合は、カラムの長さ(文字数)。
NumericScale Int32 数値データの小数点以下の桁数。
IsNullable Boolean パラメータがNull を含められるかどうか。
IsRequired Boolean プロシージャの実行にパラメータが必要かどうか。
IsArray Boolean パラメータが配列かどうか。
Description String パラメータの説明。
Ordinal Int32 パラメータのインデックス。

CData Cloud

sys_keycolumns

主キーおよび外部キーについて説明します。

次のクエリは、Sheet_Test_Sheet テーブルの主キーを取得します。

         SELECT * FROM sys_keycolumns WHERE IsKey='True' AND TableName='Sheet_Test_Sheet' 
          

Columns

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 主キーのカラム名。

CData Cloud

sys_foreignkeys

外部キーについて説明します。

次のクエリは、他のテーブルを参照するすべての外部キーを取得します。

         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 外部キーがインポート(他のテーブルを指す)キーかエクスポート(他のテーブルから参照される)キーかを指定します。

CData Cloud

sys_primarykeys

主キーについて説明します。

次のクエリは、すべてのテーブルとビューから主キーを取得します。

         SELECT * FROM sys_primarykeys
          

Columns

Name Type Description
CatalogName String キーを含むデータベースの名前。
SchemaName String キーを含むスキーマの名前。
TableName String キーを含むテーブルの名前。
ColumnName String キーカラムの名前。
KeySeq String 主キーのシーケンス番号。
KeyName String 主キーの名前。

CData Cloud

sys_indexes

利用可能なインデックスについて説明します。インデックスをフィルタリングすることで、より高速なクエリ応答時間でセレクティブクエリを記述できます。

次のクエリは、主キーでないすべてのインデックスを取得します。

          SELECT * FROM sys_indexes WHERE IsPrimary='false'
          

Columns

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 インデックスのカラムのシーケンスナンバー。

CData Cloud

sys_connection_props

利用可能な接続プロパティと、接続文字列に設定されている接続プロパティに関する情報を返します。

次のクエリは、接続文字列に設定されている、あるいはデフォルト値で設定されているすべての接続プロパティを取得します。

SELECT * FROM sys_connection_props WHERE Value <> ''

Columns

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 プロパティに関するその他のさまざまな情報。

CData Cloud

sys_sqlinfo

Cloud がデータソースにオフロードできるSELECT クエリ処理について説明します。

SQL 構文の詳細については、SQL 準拠 を参照してください。

データソースのSELECT 機能

以下はSQL 機能のサンプルデータセットです。 SELECT 機能のいくつかの側面がサポートされている場合には、カンマ区切りのリストで返されます。サポートされていない場合、カラムにはNO が入ります。

名前説明有効な値
AGGREGATE_FUNCTIONSサポートされている集計関数。AVG, COUNT, MAX, MIN, SUM, DISTINCT
COUNTCOUNT 関数がサポートされているかどうか。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_BYGROUP 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_PROPERTIESUniform データベースを特定するプロパティを示します。
SUPPORTS_MULTIPLE_SCHEMASプロバイダー用に複数のスキームが存在するかどうかを示します。YES, NO
SUPPORTS_MULTIPLE_CATALOGSプロバイダー用に複数のカタログが存在するかどうかを示します。YES, NO
DATASYNCVERSIONこのドライバーにアクセスするために必要な、CData Sync のバージョン。Standard, Starter, Professional, Enterprise
DATASYNCCATEGORYこのドライバーのCData Sync カテゴリ。Source, Destination, Cloud Destination
SUPPORTSENHANCEDSQLAPI で提供されている以上の、追加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_PARENTIDCheckCache 構文を親キーカラムに対して実行するかどうかを示します。TRUE, FALSE
CREATE_SCHEMA_PROCEDURESスキーマファイルの生成に使用できる、ストアドプロシージャを示します。

次のクエリは、WHERE 句で使用できる演算子を取得します。

SELECT * FROM sys_sqlinfo WHERE Name = 'SUPPORTED_OPERATORS'
WHERE 句では、個々のテーブルの制限や要件が異なる場合がありますので注意してください。詳しくは、データモデル セクションを参照してください。

Columns

Name Type Description
NAME String SQL 構文のコンポーネント、またはサーバー上で処理できる機能。
VALUE String サポートされるSQL またはSQL 構文の詳細。

CData Cloud

sys_identity

試行された変更に関する情報を返します。

次のクエリは、バッチ処理で変更された行のId を取得します。

         SELECT * FROM sys_identity
          

Columns

Name Type Description
Id String データ変更処理から返された、データベース生成Id。
Batch String バッチの識別子。1 は単一処理。
Operation String バッチ内の処理の結果:INSERTED、UPDATED、またはDELETED。
Message String SUCCESS、またはバッチ内の更新が失敗した場合のエラーメッセージ。

CData Cloud

sys_information

利用可能なシステム情報を説明します。

次のクエリは、すべてのカラムを取得します。

SELECT * FROM sys_information

Columns

NameTypeDescription
ProductString製品名。
VersionString製品のバージョン番号。
DatasourceString製品が接続するデータソースの名前。
NodeIdString製品がインストールされているマシンの固有識別子。
HelpURLString製品のヘルプドキュメントのURL。
LicenseString製品のライセンス情報。(この情報が利用できない場合、この項目は空白のままか「N/A」と表示されます。)
LocationString製品のライブラリが格納されているファイルパスの場所。
EnvironmentString製品が現在稼働している環境またはランタイムのバージョン。
DataSyncVersionString本コネクタを使用するために必要なCData Sync のティア。
DataSyncCategoryStringCData Sync 機能のカテゴリ(例:Source、Destination)。

CData Cloud

データ型マッピング

データ型マッピング

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 を参照してください。

CData Cloud

接続文字列オプション

接続文字列プロパティは、接続を確立するために使用できるさまざまなオプションです。このセクションでは、本プロバイダーの接続文字列で設定できるオプションの一覧を示します。詳細については各リンクをクリックしてください。

Authentication


プロパティ説明
AuthSchemeSpecifies the authentication method to use when connecting to Smartsheet.
PersonalAccessTokenSpecifies the Personal Access Token for authenticating with Smartsheet. This token can be generated through the Smartsheet user interface.

Connection


プロパティ説明
RegionSpecifies the hosting region for your Smartsheet account.

OAuth


プロパティ説明
OAuthClientIdカスタムOAuth アプリケーションの作成時に割り当てられたクライアントId を指定します。(コンシューマーキーとも呼ばれます。)このID は、カスタムアプリケーションをOAuth 認可サーバーに登録します。
OAuthClientSecretカスタムOAuth アプリケーションの作成時に割り当てられたクライアントシークレットを指定します。( コンシューマーシークレット とも呼ばれます。)このシークレットは、カスタムアプリケーションをOAuth 認可サーバーに登録します。

SSL


プロパティ説明
SSLServerCertTLS/SSL を使用して接続する際に、サーバーが受け入れ可能な証明書を指定します。

Logging


プロパティ説明
VerbosityログファイルのVerbosity レベルを指定し、記録される情報の詳細度を制御します。サポートされる値の範囲は1から5までです。

Schema


プロパティ説明
BrowsableSchemasレポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。

Miscellaneous


プロパティ説明
HeaderSpecifies whether the first row of the data is treated as column headers or not.
HideFormattingCharactersSpecifies 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.
IgnoreRowsNotFoundSpecifies whether the deletion operation should proceed if any specified Row IDs are not found.
MaxRows集計やGROUP BY を使用しないクエリで返される最大行数を指定します。
PagesizeSmartsheet から返される、1ページあたりの結果の最大数を指定します。この設定は、ほとんどのユースケースに最適化されている、データソースによって設定されたデフォルトのページサイズをオーバーライドします。
PseudoColumnsテーブルカラムとして公開する擬似カラムを指定します。'TableName=ColumnName;TableName=ColumnName' という形式を使用します。デフォルトは空の文字列で、このプロパティを無効にします。
ReportCompatibilityLevelSpecifies the level of compatibility for the returned data, determining the format and functionality provided in query results.
RowScanDepthテーブルで利用可能なカラムを探すためにスキャンする行数の最大値。
Timeoutprovider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。デフォルトは60秒です。タイムアウトを無効にするには0を設定します。
TypeDetectionSchemeSpecifies the method used to determine the data types of columns, such as by scanning rows, analyzing column formats, or treating all columns as strings.
UseFullFilePathsAsTableNamesSpecifies whether table and view names corresponding to sheets and reports should include the full file path or only the file name.
UseIdAsTableNameSpecifies whether sheet and report IDs, rather than their names, are used as table identifiers.
UseSimpleNamesテーブルとカラムに簡略名を使用するかどうかを決定するboolean。
ValueSourceSpecifies whether the driver retrieves cell values from the Value fields, the DisplayValue field, or automatically selects based on availability.
CData Cloud

Authentication

このセクションでは、本プロバイダーの接続文字列で設定可能なAuthentication プロパティの全リストを提供します。


プロパティ説明
AuthSchemeSpecifies the authentication method to use when connecting to Smartsheet.
PersonalAccessTokenSpecifies the Personal Access Token for authenticating with Smartsheet. This token can be generated through the Smartsheet user interface.
CData Cloud

AuthScheme

Specifies the authentication method to use when connecting to Smartsheet.

Possible Values

PersonalAccessToken, OAuth

データ型

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.

CData Cloud

PersonalAccessToken

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.

CData Cloud

Connection

このセクションでは、本プロバイダーの接続文字列で設定可能なConnection プロパティの全リストを提供します。


プロパティ説明
RegionSpecifies the hosting region for your Smartsheet account.
CData Cloud

Region

Specifies the hosting region for your Smartsheet account.

Possible Values

GLOBAL, EU, GOV

データ型

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:

  • GLOBAL: Connects to the default global Smartsheet region.
  • EU: Connects to Smartsheet accounts hosted in the European Union.
  • GOV: Connects to Smartsheet accounts hosted in the U.S. Government cloud.

This property is useful for aligning your connection with compliance and performance requirements specific to your account's hosting region.

CData Cloud

OAuth

このセクションでは、本プロバイダーの接続文字列で設定可能なOAuth プロパティの全リストを提供します。


プロパティ説明
OAuthClientIdカスタムOAuth アプリケーションの作成時に割り当てられたクライアントId を指定します。(コンシューマーキーとも呼ばれます。)このID は、カスタムアプリケーションをOAuth 認可サーバーに登録します。
OAuthClientSecretカスタムOAuth アプリケーションの作成時に割り当てられたクライアントシークレットを指定します。( コンシューマーシークレット とも呼ばれます。)このシークレットは、カスタムアプリケーションをOAuth 認可サーバーに登録します。
CData Cloud

OAuthClientId

カスタムOAuth アプリケーションの作成時に割り当てられたクライアントId を指定します。(コンシューマーキーとも呼ばれます。)このID は、カスタムアプリケーションをOAuth 認可サーバーに登録します。

データ型

string

デフォルト値

""

解説

OAuthClientId は、ユーザーがOAuth 経由で認証を行う前に設定する必要があるいくつかの接続パラメータの1つです。詳細は接続の確立を参照してください。

CData Cloud

OAuthClientSecret

カスタムOAuth アプリケーションの作成時に割り当てられたクライアントシークレットを指定します。( コンシューマーシークレット とも呼ばれます。)このシークレットは、カスタムアプリケーションをOAuth 認可サーバーに登録します。

データ型

string

デフォルト値

""

解説

OAuthClientSecret は、ユーザーがOAuth 経由で認証を行う前に設定する必要があるいくつかの接続パラメータの1つです。詳細は接続の確立を参照してください。

CData Cloud

SSL

このセクションでは、本プロバイダーの接続文字列で設定可能なSSL プロパティの全リストを提供します。


プロパティ説明
SSLServerCertTLS/SSL を使用して接続する際に、サーバーが受け入れ可能な証明書を指定します。
CData Cloud

SSLServerCert

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

これを指定しない場合は、マシンが信用するすべての証明書が受け入れられます。

すべての証明書の受け入れを示すには、'*'を使用します。セキュリティ上の理由から、これはお勧めできません。

CData Cloud

Logging

このセクションでは、本プロバイダーの接続文字列で設定可能なLogging プロパティの全リストを提供します。


プロパティ説明
VerbosityログファイルのVerbosity レベルを指定し、記録される情報の詳細度を制御します。サポートされる値の範囲は1から5までです。
CData Cloud

Verbosity

ログファイルのVerbosity レベルを指定し、記録される情報の詳細度を制御します。サポートされる値の範囲は1から5までです。

データ型

string

デフォルト値

"1"

解説

このプロパティは、Cloud がログファイルに含める詳細レベルを定義します。 Verbosity レベルを高くするとログに記録される情報の詳細が増えますが、ログファイルが大きくなり取り込まれるデータが増えるためパフォーマンスが低下する可能性があります。

デフォルトのVerbosity レベルは1で、通常の運用にはこれが推奨されます。 より高いVerbosity レベルは主にデバッグを目的としています。 各レベルの詳細については、ログ を参照してください。

LogModules プロパティと組み合わせることで、Verbosity は特定の情報カテゴリに対するログの詳細度を調整できます。

CData Cloud

Schema

このセクションでは、本プロバイダーの接続文字列で設定可能なSchema プロパティの全リストを提供します。


プロパティ説明
BrowsableSchemasレポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。
CData Cloud

BrowsableSchemas

レポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。

データ型

string

デフォルト値

""

解説

利用可能なデータベーススキーマをすべてリストすると余分な時間がかかり、パフォーマンスが低下します。 接続文字列にスキーマのリストを指定することで、時間を節約しパフォーマンスを向上させることができます。

CData Cloud

Miscellaneous

このセクションでは、本プロバイダーの接続文字列で設定可能なMiscellaneous プロパティの全リストを提供します。


プロパティ説明
HeaderSpecifies whether the first row of the data is treated as column headers or not.
HideFormattingCharactersSpecifies 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.
IgnoreRowsNotFoundSpecifies whether the deletion operation should proceed if any specified Row IDs are not found.
MaxRows集計やGROUP BY を使用しないクエリで返される最大行数を指定します。
PagesizeSmartsheet から返される、1ページあたりの結果の最大数を指定します。この設定は、ほとんどのユースケースに最適化されている、データソースによって設定されたデフォルトのページサイズをオーバーライドします。
PseudoColumnsテーブルカラムとして公開する擬似カラムを指定します。'TableName=ColumnName;TableName=ColumnName' という形式を使用します。デフォルトは空の文字列で、このプロパティを無効にします。
ReportCompatibilityLevelSpecifies the level of compatibility for the returned data, determining the format and functionality provided in query results.
RowScanDepthテーブルで利用可能なカラムを探すためにスキャンする行数の最大値。
Timeoutprovider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。デフォルトは60秒です。タイムアウトを無効にするには0を設定します。
TypeDetectionSchemeSpecifies the method used to determine the data types of columns, such as by scanning rows, analyzing column formats, or treating all columns as strings.
UseFullFilePathsAsTableNamesSpecifies whether table and view names corresponding to sheets and reports should include the full file path or only the file name.
UseIdAsTableNameSpecifies whether sheet and report IDs, rather than their names, are used as table identifiers.
UseSimpleNamesテーブルとカラムに簡略名を使用するかどうかを決定するboolean。
ValueSourceSpecifies whether the driver retrieves cell values from the Value fields, the DisplayValue field, or automatically selects based on availability.
CData Cloud

Header

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.

CData Cloud

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.

データ型

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.

CData Cloud

IgnoreRowsNotFound

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.

CData Cloud

MaxRows

集計やGROUP BY を使用しないクエリで返される最大行数を指定します。

データ型

int

デフォルト値

-1

解説

このプロパティは、集計やGROUP BY 句を含まないクエリに対してCloud が返す行数の上限を設定します。 この制限により、クエリがデフォルトで過度に大きな結果セットを返さないようにします。

クエリにLIMIT 句が含まれている場合、クエリで指定された値がMaxRows 設定よりも優先されます。 MaxRows が"-1" に設定されている場合、LIMIT 句が明示的にクエリに含まれていない限り、行の制限は行われません。

このプロパティは、非常に大きなデータセットを返す可能性のあるクエリを実行する際に、パフォーマンスを最適化し過剰なリソース消費を防ぐのに役立ちます。

CData Cloud

Pagesize

Smartsheet から返される、1ページあたりの結果の最大数を指定します。この設定は、ほとんどのユースケースに最適化されている、データソースによって設定されたデフォルトのページサイズをオーバーライドします。

データ型

int

デフォルト値

500

解説

クエリする特定のオブジェクトやサービスエンドポイントの結果を最適化するために、デフォルトのページサイズを調整したい場合があります。 ページサイズを大きくするとパフォーマンスが向上するかもしれませんが、ページあたりのメモリ消費量が増える可能性もあることに注意してください。

CData Cloud

PseudoColumns

テーブルカラムとして公開する擬似カラムを指定します。'TableName=ColumnName;TableName=ColumnName' という形式を使用します。デフォルトは空の文字列で、このプロパティを無効にします。

データ型

string

デフォルト値

""

解説

このプロパティを使用すると、Cloud がテーブルカラムとして公開する擬似カラムを定義できます。

個々の擬似カラムを指定するには、以下の形式を使用します。"Table1=Column1;Table1=Column2;Table2=Column3"

すべてのテーブルのすべての擬似カラムを含めるには、次のようにします:"*=*"

CData Cloud

ReportCompatibilityLevel

Specifies the level of compatibility for the returned data, determining the format and functionality provided in query results.

Possible Values

0, 1, 2, 3

データ型

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:

  • 0 (Backwards-compatible): Returns data in a legacy text format for maximum compatibility with older systems.
  • 1 (Multi-contact data): Returns multi-contact data in a format optimized for standard processing but not specifically for report tables.
  • 2 (Report-compatible multi-contact data): Returns multi-contact data in a format specifically designed for report tables.
  • 3 (Multi-picklist data): Returns data in a format that supports multi-picklist fields for advanced use cases.

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.

CData Cloud

RowScanDepth

テーブルで利用可能なカラムを探すためにスキャンする行数の最大値。

データ型

int

デフォルト値

100

解説

テーブルのカラムはテーブル行をスキャンすることで決定される必要があります。この値はスキャンされる行数の最大値を設定します。

大きい値を設定すると、パフォーマンスが低下する場合があります。小さい値を設定すると、特にnull データがある場合には、データ型を正しく判定できない場合があります。

CData Cloud

Timeout

provider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。デフォルトは60秒です。タイムアウトを無効にするには0を設定します。

データ型

int

デフォルト値

60

解説

このプロパティは、Cloud が操作をキャンセルする前に操作の完了を待機する最大時間を秒単位で制御します。 操作の完了前にタイムアウト時間が経過すると、Cloud は操作をキャンセルして例外をスローします。

タイムアウトは、クエリや操作全体ではなくサーバーとの個々の通信に適用されます。 例えば、各ページング呼び出しがタイムアウト制限内に完了する場合、クエリは60秒を超えて実行を続けることができます。

このプロパティを0に設定するとタイムアウトが無効になり、操作が成功するか、サーバー側のタイムアウト、ネットワークの中断、またはサーバーのリソース制限などの他の条件で失敗するまで無期限に実行されます。 このプロパティは慎重に使用してください。長時間実行される操作がパフォーマンスを低下させたり、応答しなくなる可能性があるためです。

CData Cloud

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.

Possible Values

None, RowScan, ColumnFormat

データ型

string

デフォルト値

"RowScan"

解説

This property defines how the driver determines column data types during query execution:

  • None: All columns are treated as strings. Column names are still scanned if the Header property is set to True.
  • RowScan: The driver scans rows to infer data types based on the data content. The number of rows scanned is determined by the RowScanDepth property.
  • ColumnFormat: Data types are determined based on the column's format in the dataset.

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.

CData Cloud

UseFullFilePathsAsTableNames

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.

CData Cloud

UseIdAsTableName

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.

CData Cloud

UseSimpleNames

テーブルとカラムに簡略名を使用するかどうかを決定するboolean。

データ型

bool

デフォルト値

false

解説

Smartsheet テーブルおよびカラムでは、 通常のデータベースでは使うことが認められていない特殊記号・文字を名前に使うことができます。UseSimpleNames を使用すると、Cloud を従来のデータベースツールでより簡単に使用できるようになります。

UseSimpleNames をtrue に設定し、返されるテーブル名およびカラム名をシンプルにします。表示されるテーブル名 およびカラム名においてアルファベット文字およびアンダースコアのみを有効とするネーミングスキームを強制します。 英数字以外の文字はすべて、アンダースコアに変換されます。

CData Cloud

ValueSource

Specifies whether the driver retrieves cell values from the Value fields, the DisplayValue field, or automatically selects based on availability.

Possible Values

Auto, Value, DisplayValue

データ型

string

デフォルト値

"Auto"

解説

This property specifies how cell values are retrieved from the data, based on the selected source field:

  • When set to Auto, the driver automatically selects the field that is not empty.
  • When set to Value, the driver retrieves data specifically from the Value field.
  • When set to DisplayValue, the driver retrieves data from the DisplayValue 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.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 24.0.9175