CData Cloud offers access to Smartsheet across several standard services and protocols, in a cloud-hosted solution. Any application that can connect to a MySQL or SQL Server database can connect to Smartsheet through CData Cloud.
CData Cloud allows you to standardize and configure connections to Smartsheet as though it were any other OData endpoint, or standard SQL Server/MySQL database.
This page provides a guide to Establishing a Connection to Smartsheet in CData Cloud, as well as information on the available resources, and a reference to the available connection properties.
Establishing a Connection shows how to authenticate to Smartsheet and configure any necessary connection properties to create a database in CData Cloud
Accessing data from Smartsheet through the available standard services and CData Cloud administration is documented in further details in the CData Cloud Documentation.
Connect to Smartsheet by selecting the corresponding icon in the Database tab. Required properties are listed under Settings. The Advanced tab lists connection properties that are not typically required.
Smartsheet supports connections via the following authentication methods:
Use the personal token to test and to access your own data. To obtain the personal token, follow the steps below:
Click Connect to Smartsheet to open the OAuth endpoint in your default browser. Log in and grant permissions to the application.
The driver then completes the OAuth process as follows:
By default, the Cloud attempts to negotiate SSL/TLS by checking the server's certificate against the system's trusted certificate store.
To specify another certificate, see the SSLServerCert property for the available formats to do so.
To connect through the Windows system proxy, you do not need to set any additional connection properties. To connect to other proxies, set ProxyAutoDetect to false.
In addition, to authenticate to an HTTP proxy, set ProxyAuthScheme, ProxyUser, and ProxyPassword, in addition to ProxyServer and ProxyPort.
Set the following properties:
The CData Cloud models the Smartsheet API as relational tables, views, and stored procedures. Views are tables that cannot be modified.
Some API objects, like Workspaces, Folders, etc., are indexed with 'Info_'. These are defined in schema files, which are simple, text-based configuration files.
You can work with all the Sheets and Reports in your account using the Cloud. In addition to providing information about the static tables, the data model illustrates a sample of what your Sheets and Reports might look like. The actual data model will be obtained dynamically based on your user credentials.
When you connect, the Cloud gets the list of tables and the metadata for the tables by calling the appropriate Web services. Any changes you make to your Smartsheet account, such as adding a new table, adding new columns, or changing the data type of a column, will immediately be reflected when you connect using the Cloud.
Stored Procedures are function-like interfaces to Smartsheet. They can be used to search, update, and modify information in Smartsheet.
API limitations and requirements are documented in this section; you can use the SupportEnhancedSQL feature, set by default, to circumvent most of these limitations.
You can add hyperlink columns to table schema files generated by the CreateSchema stored procedure.
After generating a schema file from the desired table, add a new column (attr) as follows:
These two values must match exactly.
For example, suppose you have this column in your schema file:
<attr name="MyColumnName" xs:type="string" ... other:columnid="5555555555555555"/>
Your new hyperlink column attached to this column should look like this:
<attr name="nameLink" xs:type="string" ... other:columnid="YourUniqueIDHere" other:hyperlink="MyColumnName"/>
The Cloud models the data in Smartsheet as a list of tables in a relational database that can be queried using standard SQL statements.
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. |
Query Smartsheet Attachments. Attachments can exist on a Comment (i.e., within a Discussion), on a Row, or on a Sheet.
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'
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=')
Name | Type | ReadOnly | References | Description |
Id [KEY] | String | False |
The unique Identifier of the attachment. | |
Name | String | False |
The name of the attachment. | |
Url | String | False |
The temporary URL of the attachment (files only). | |
UrlExpiresInMillis | Long | False |
The temporary URL time to live for the attachment (files only). | |
AttachmentType | String | False |
The attachment type (one of FILE, GOOGLE_DRIVE, LINK, BOX_COM, DROPBOX, EVERNOTE, or EGNYTE). | |
AttachmentSubType | String | False |
The attachment subtype, valId only for either GOOGLE_DRIVE attachments or EGNYTE attachments. Possible values for GOOGLE_DRIVE attachments: DOCUMENT, SPREADSHEET, PRESENTATION, PDF, DRAWING. Possible values for EGNYTE attachments: FOLDER. | |
CreatedAt | Timestamp | False |
A timestamp of when the attachment was originally added | |
UserId | String | False |
The Id of the user who created the attachment. | |
UserEmail | String | False |
The email address of the user. | |
UserName | String | False |
The full name of the user. Read-only. | |
MimeType | String | False |
Attachment MIME type. For example PNG. | |
ParentType | String | False |
The type of object the attachment belongs to. Possible values: SHEET, ROW, or COMMENT. | |
ParentId | String | False |
The Id of the parent. | |
SizeInKb | Long | False |
The size of the file, if the attachmentType is FILE. | |
SheetId | String | False |
The Id of the sheet. | |
RowId | String | False |
The Id of the row. | |
DiscussionId | String | False |
The Id of the discussion. | |
CommentId | String | False |
The Id of the comment. | |
FilePath | String | False |
The path of the file to insert. | |
ContentEncoded | String | False |
BASE64 encoded content of the file to insert. |
Query Smartsheet Comments in a Discussion.
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'
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')
Name | Type | ReadOnly | References | Description |
Id [KEY] | String | False |
The unique identifier of the comment. | |
Text | String | False |
The comment body. | |
UserName | String | False |
The user name. | |
UserEmail | String | False |
The email address of the user. | |
CreatedAt | Datetime | False |
The time of creation. | |
ModifiedAt | Datetime | False |
The time of the last modification. | |
AttachmentsAggregate | String | False |
Array of attachment objects. | |
DiscussionId | String | False |
The Id of the discussion. | |
SheetId | String | False |
The Id of the sheet. |
Query Smartsheet Discussions. A Discussion is a collection of one or more Comments. A Discussion can exist on a Row or a Sheet.
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'
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')
Name | Type | ReadOnly | References | Description |
Id [KEY] | String | False |
The Id of the discussion. | |
Title | String | False |
The title of the comment. | |
AccessLevel | String | False |
The permissions the user has to access the discussion. | |
ParentId | String | False |
The Id of the directly associated row or sheet. | |
ParentType | String | False |
The type of the directly associated row or sheet. Possible values: SHEET or ROW. | |
LastCommentedAt | Datetime | False |
The time of the most recent comment. | |
LastCommentBy | String | False |
The full name of the user who last commented. | |
CreatorName | String | False |
The full name of the user who created the discussion. | |
ReadOnly | Boolean | False |
Whether the user can modify the discussion. | |
SheetId | String | False |
The sheet Id. | |
RowId | String | False |
The row Id. |
Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.
Name | Type | Description |
FirstDiscussionComment | String |
This column is used only to INSERT the first comment on a discussion, as it is required. |
Create, update, delete, and query the Sheet_Content_Calendar table in Smartsheet.
Name | Type | ReadOnly | References | Description |
RowId [KEY] | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Prio | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Image | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Title & Link | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Details | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Assigned To | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Draft Due | Datetime | False |
This column is dynamic and maps to the corresponding field in the API. | |
Draft Status | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Approved By | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Objective | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Target | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Media Type | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Art Required | Boolean | False |
This column is dynamic and maps to the corresponding field in the API. | |
Placement | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Publication Date | Datetime | False |
This column is dynamic and maps to the corresponding field in the API. | |
Keywords | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Live | Boolean | False |
This column is dynamic and maps to the corresponding field in the API. |
Create, update, delete, and query the Sheet_Customer_Order_Tracking_History table in Smartsheet.
Name | Type | ReadOnly | References | Description |
RowId [KEY] | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
PO | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
PO Date | Datetime | False |
This column is dynamic and maps to the corresponding field in the API. | |
Ship Date | Datetime | False |
This column is dynamic and maps to the corresponding field in the API. | |
Shipped Via | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Invoice Amount | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Invoice Number | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Inv Date | Datetime | False |
This column is dynamic and maps to the corresponding field in the API. | |
Terms | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Paid | Boolean | False |
This column is dynamic and maps to the corresponding field in the API. | |
Date Paid | Datetime | False |
This column is dynamic and maps to the corresponding field in the API. | |
Payment | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Check # | String | False |
This column is dynamic and maps to the corresponding field in the API. |
Create, update, delete, and query the Sheet_Event_Plan_Budget table in Smartsheet.
Name | Type | ReadOnly | References | Description |
RowId [KEY] | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Task Name | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Assigned | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Status | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Progress | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Due Date | Datetime | False |
This column is dynamic and maps to the corresponding field in the API. | |
$ Each | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Qty | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Budget | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Actual | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Comments | String | False |
This column is dynamic and maps to the corresponding field in the API. |
Create, update, delete, and query the Sheet_Expense_Report table in Smartsheet.
Name | Type | ReadOnly | References | Description |
RowId [KEY] | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Date | Datetime | False |
This column is dynamic and maps to the corresponding field in the API. | |
Description | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Expense Category | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Amount | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Manager Approved | Boolean | False |
This column is dynamic and maps to the corresponding field in the API. | |
Comment | String | False |
This column is dynamic and maps to the corresponding field in the API. |
Create, update, delete, and query the Sheet_Gantt_Project_with_Hard_Deadline table in Smartsheet.
Name | Type | ReadOnly | References | Description |
RowId [KEY] | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
At Risk | Boolean | False |
This column is dynamic and maps to the corresponding field in the API. | |
Task Name | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Start Date | Datetime | False |
This column is dynamic and maps to the corresponding field in the API. | |
End Date | Datetime | False |
This column is dynamic and maps to the corresponding field in the API. | |
Assigned To | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Status | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Duration | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
% Complete | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Predecessors | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Comments | String | False |
This column is dynamic and maps to the corresponding field in the API. |
Create, update, delete, and query the Sheet_Job_Candidate_Tracker table in Smartsheet.
Name | Type | ReadOnly | References | Description |
RowId [KEY] | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Candidate Name | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Next Steps | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Comments | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Status | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
RYG | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Start Date | Datetime | False |
This column is dynamic and maps to the corresponding field in the API. | |
Hiring Mgr | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Referral Source | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Hire Type | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Compensation | String | False |
This column is dynamic and maps to the corresponding field in the API. |
Create, update, delete, and query the Sheet_Sales_Activity_Tracking_by_Rep_Month table in Smartsheet.
Name | Type | ReadOnly | References | Description |
RowId [KEY] | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Monthly Metric | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Quota | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Actual | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Percent to Goal | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Variance | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Pace | String | False |
This column is dynamic and maps to the corresponding field in the API. |
Create, update, delete, and query the Sheet_Simple_Sales_Pipeline table in Smartsheet.
Name | Type | ReadOnly | References | Description |
RowId [KEY] | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Status | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Company Logo | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Opportunity | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Contact Name | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Sales Stage | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Forecast Amount | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Probability | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Weighted Forecast | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Expected Close Date | Datetime | False |
This column is dynamic and maps to the corresponding field in the API. | |
Sales Rep | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Next Step | String | False |
This column is dynamic and maps to the corresponding field in the API. |
Create, update, delete, and query the Sheet_Team_Objectives_Tracker table in Smartsheet.
Name | Type | ReadOnly | References | Description |
RowId [KEY] | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Task Name | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Responsible | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
State | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Due Date | Datetime | False |
This column is dynamic and maps to the corresponding field in the API. | |
Comments | String | False |
This column is dynamic and maps to the corresponding field in the API. |
Create, update, delete, and query the Sheet_Team_Task_List_by_Priority table in Smartsheet.
Name | Type | ReadOnly | References | Description |
RowId [KEY] | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
RYG | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Task | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Assigned To | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Reviewed | Boolean | False |
This column is dynamic and maps to the corresponding field in the API. | |
Status | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Due | Datetime | False |
This column is dynamic and maps to the corresponding field in the API. | |
Notes & Comments | String | False |
This column is dynamic and maps to the corresponding field in the API. |
Create, update, delete, and query the Sheet_WebFormTest table in Smartsheet.
Name | Type | ReadOnly | References | Description |
RowId [KEY] | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Form Field 1 | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Form Field 2 | String | False |
This column is dynamic and maps to the corresponding field in the API. | |
Form Date Field | Datetime | False |
This column is dynamic and maps to the corresponding field in the API. |
Views are similar to tables in the way that data is represented; however, views are read-only.
Queries can be executed against a view as if it were a normal table.
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. |
Query the available CellHistory of a Cell in Smartsheet.
To get data from this view a SheetId, RowId, and ColumnId are always required.
Retrieve Cell History.
SELECT * FROM Info_CellHistory WHERE SheetId = '2940085806098308' AND RowId = '6773684447799172' AND ColumnId = '7999197812156292'
Name | Type | References | Description |
Value | String | The value of the cell. | |
ModifiedAt | Datetime | The value of the cell. | |
EditorName | String | The name of the user who last modified the cell. | |
EditorEmail | String | The email address of the user who last modified the cell. | |
SheetId | String | The Id of the sheet. | |
RowId | String | The Id of the row. | |
ColumnId | String | The Id of the column. |
Query Smartsheet Cells. A collection of Cells comprises each Row in a Sheet.
This view returns details for Cells of a specified Row. The SheetId and RowId parameters are always required.
Retrieve Cells.
SELECT * FROM Info_Cells WHERE SheetId = '2940085806098308' AND RowId = '6773684447799172'
Name | Type | References | Description |
Id [KEY] | String | The Id of the column that the cell is located in. | |
Value | String | The value of the cell. A string, a number, or a boolean value. | |
DisplayValue | String | Visual representation of cell contents as presented to the user in the UI. | |
ColumnType | String | The type definition on the Column object. | |
Formula | String | The formula for a cell, if set. | |
Format | String | The format descriptor. | |
ConditionalFormat | String | The format descriptor describing the conditional formatting of the cell. | |
Strict | Boolean | Set to false to enable lenient parsing. Defaults to true. This attribute can be specified in a request, but will never be present in a response. | |
SheetId | String | The sheet Id. | |
RowId | String | The row Id. |
Query Smartsheet Columns in a Sheet or Report.
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'
Name | Type | References | Description |
Id [KEY] | String | The column Id. | |
Index | Integer | The column index. | |
Title | String | The column title. | |
Primary | Boolean | Whether the column is the Primary Column. | |
Type | String | The column type. One of the following values: Text_Number, Date, Datetime, Contact_List, Checkbox, Picklist, Duration, Predecessor, Abstract_datetime. | |
OptionsAggregate | String | Array of the options available for the column | |
Hidden | Boolean | Whether the column is hidden. | |
Symbol | String | The column symbol. Possible values for the checkbox column type: star, flag. Possible values for the picklist column type: harvey_balls, priority, ryg, priority_hml, decision_symbols, decision_shapes, vcr, rygb, rygg, weather, progress, arrows_3_way, arrows_4_way, arrows_5_way, directions_3_way, directions_4_way, ski, signal, star_rating, hearts, money, effort, pain. | |
ColumnType | String | The system column type. Possible values: auto_number, modified_date, modified_by, created_date, created_by. | |
TagsAggregate | String | Set of tags to indicate special columns. Each element in the array will be set to one of the following values: calendar_start_date, calendar_end_date, gantt_start_date, gantt_end_date, gantt_percent_complete, gantt_display_label, gantt_predecessor, gantt_duration, gantt_assigned_resource | |
Width | Integer | The display width of the column in pixels. | |
Format | String | The format descriptor. | |
FilterType | String | The filter applied to the column. Possible values: list, custom. | |
Locked | Boolean | Whether the column is locked. A value of true indicates that the column has been locked by the sheet owner or the admin. | |
LockedForUser | Boolean | Whether the column is locked for the requesting user. | |
SheetId | String | The sheet Id. |
Query Smartsheet Contacts. A Contact is the personal contact of a User in Smartsheet.
This view returns details for Contacts.
Retrieve Contacts.
SELECT * FROM Info_Contacts
Retrieve details of a specified Contact.
SELECT * FROM Info_Contacts WHERE Id = '1322606759569284'
Name | Type | References | Description |
Id [KEY] | String | The unique identifier of the contact. | |
Name | String | The full name of the contact. | |
String | The email address of the contac. |
Query Smartsheet Favorites.
This view returns a list of Favorite objects.
Retrieve all Favorite objects.
SELECT * FROM Info_Favorites
Name | Type | References | Description |
ObjectId | String | The unique identifier of the item marked as a favorite. If the favorite type is template, only a private sheet-type template Id is allowed. | |
Type | String | The type of the favorite. Possible values: workspace, folder, sheet, report, template. |
Query Smartsheet Folders in the Sheets Folder for the User, in another Folder, or in a Workspace.
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'
Name | Type | References | Description |
Id [KEY] | String | The unique identifier of the folder. | |
Name | String | The folder name. | |
Permalink | String | URL that represents a direct link to the Folder in Smartsheet. | |
Favorite | Boolean | Whether the user has marked the Folder as a Favorite in their Home tab. | |
WorkspaceId | String | Id of workspace where this folder is located |
Query Smartsheet Groups.
Retrieve all Groups.
SELECT * FROM Info_Groups
Retrieve details for a Group.
SELECT * FROM Info_Groups WHERE Id = '2035256120371076'
Name | Type | References | Description |
Id [KEY] | String | The unique identifier of the group. | |
Name | String | The name of the group. | |
Description | String | The description of the group. | |
Owner | String | The email address of the group. | |
OwnerId | String | The user Id of the owner of the group. | |
CreatedAt | Datetime | Time of creation. | |
ModifiedAt | Datetime | Time of the last modification. |
Query objects on the Home tab in Smartsheet. The Home tab shows all objects a User has access to.
Retrieve all objects located on the Home tab:
SELECT * FROM Info_Home
Name | Type | References | Description |
SheetsAggregate | String | Array of sheet objects. | |
FoldersAggregat | String | Array of folder objects. | |
ReportsAggregat | String | Array of report objects. | |
TemplatesAggregat | String | Array of template objects. | |
WorkspacesAggregat | String | Array of workspace objects. |
Query Smartsheet Reports.
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'
Name | Type | References | Description |
Id [KEY] | String | The unique identifier of the report. | |
Name | String | The name of the report. | |
FolderId | String | The Id of the folder. | |
WorkspaceId | String | Id of workspace where this report is located |
Query Rows in a Sheet or Report. Each Row is composed of a collection of Cells, and may optionally contain Discussions and Attachments.
This view returns a list of Sheet Rows. The SheetId parameter is always required.
Retrieve all Rows of a Sheet.
SELECT * FROM Info_Rows WHERE SheetId = '2940085806098308'
Retrieve details of a specified Row.
SELECT * FROM Info_Rows WHERE SheetId = '2940085806098308' AND Id = '8206230771525508'
Name | Type | References | Description |
Id [KEY] | String | The unique identifier of the row. | |
RowNumber | Integer | The row number within the sheet. Starts at 1. | |
Version | Integer | The version number. This is incremented every time a sheet is modified. | |
FilteredOut | Boolean | True if this row is filtered out by a column filter (and thus is not displayed in the Smartsheet app). False if the row is not filtered out. | |
InCriticalPath | Boolean | True if the sheet is a project sheet with dependencies enabled and this row is in the critical path. | |
Locked | Boolean | Whether the row has been locked by the sheet owner or the admin. | |
LockedForUser | Boolean | Whether the row is locked for the requesting user. | |
Expanded | Boolean | Whether the row is expanded or collapsed. | |
AccessLevel | String | The permissions the user has to access the sheet that contains the row. | |
Format | String | The format descriptor. | |
ConditionalFormat | String | The format descriptor for a conditional filter. | |
CreatedAt | Datetime | Time of creation. | |
ModifiedAt | Datetime | Time of the last modification. | |
Permalink | String | URL that represents a direct link to the row in Smartsheet. | |
ParentId | String | The Id of the parent row. | |
SiblingId | String | The Id of the previous sibling row at the same hierarchical level of this row. | |
ToTop | Boolean | Flag used to specify the location for a new or moved row. | |
ToBottom | Boolean | Flag used to specify the location for a new or moved row. | |
Above | Boolean | Flag used to specify the location for a new or moved row. | |
SheetId | String | The Id of the parent sheet. |
Query Smartsheet Server Information including application constants.
Retrieve Server Information:
SELECT * FROM Info_ServerInformation
Name | Type | References | Description |
SupportedLocales | String | Array of strings representing all Smartsheet-supported locales. | |
FormatsDefaults | String | A format descriptor where each element describes the formats the Smartsheet Web application displays for format values that have not been set. | |
FontFamily | String | Font families with additional font information. | |
FontSize | String | Font sizes in points. | |
Bold | String | Specifies bold font. Possible values: none, on. | |
Italic | String | Specifies italic font. Possible values: none, on. | |
Underline | String | Specifies underlined font. Possible values: none, on. | |
Strikethrough | String | Specifies strikethrough font. Possible values: none, on. | |
HorizontalAlign | String | Specifies horizontally aligned text. Possible values: none, on. | |
VerticalAlign | String | Specifies vertically aligned text. Possible values: top, middle, bottom. Note: default is the default value, which is equivalent to top. | |
Color | String | Color hex values. Note: None is the default value for all colors. Applications will need to handle this value and use app-defined colors (typically this is Black for text color and White for background color). | |
Currency | String | Currency codes and symbols. | |
ThousandsSeparator | String | Specifies whether the thousands separator for a number is displayed. Possible values: none, on. | |
NumberFormat | String | The number format. Possible values: none, NUMBER, CURRENCY, PERCENT. | |
TextWrap | String | Whether the text is wrapped. Possible values: none, on. |
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.
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'
Name | Type | References | Description |
Id [KEY] | String | The unique identifier of the sheet. | |
Name | String | The name of the sheet. | |
Owner | String | Email address of the sheet owner. | |
OwnerId | String | User Id of the Sheet owner. | |
Permalink | String | URL that represents a direct link to the sheet in Smartsheet. | |
SourceId | String | The Id of the Sheet or Template from which the enclosing sheet was created. | |
SourceType | String | The type of the source object. Possible values: sheet or template. | |
CreatedAt | Datetime | Time that the sheet was created. | |
ModifiedAt | Datetime | Time that the sheet was modified. | |
Version | Long | A number that is incremented every time a sheet is modified. | |
TotalRowCount | Long | The total number of rows in the sheet. | |
AccessLevel | String | User permissions on the sheet. | |
ReadOnly | Boolean | Whether the Sheet belongs to an expired trial. | |
GanttEnabled | Boolean | Whether Gantt is enabled. | |
DependenciesEnabled | Boolean | Whether dependencies are enabled. | |
ResourceManagementEnabled | Boolean | Whether resource management is enabled. | |
Favorite | Boolean | Whether the user has marked this sheet as a favorite in their Home tab. | |
ShowParentRowsForFilters | Boolean | Whether the show parent rows option is enabled for the filters. | |
FromId | String | The Id of the Template from which to create the Sheet. | |
WorkspaceId | String | The Id of the workspace. | |
FolderId | String | The Id of the folder. |
Query Smartsheet Templates.
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'
Name | Type | References | Description |
Id [KEY] | String | The unique identifier of the template. | |
Name | String | The name of the template. | |
Description | String | The description for the template. | |
TemplateType | String | The template type.
The allowed values are public, user. | |
AccessLevel | String | The user permissions on the template. | |
Permalink | String | The permalink for the template. | |
Image | String | The image link for the template. | |
Locale | String | The locale for the template. | |
FolderId | String | The Id of the folder the template is part of. | |
WorkspaceId | String | The Id of the workspace the template is part of. |
Query the Users in the organization.
Retrieve all Users.
SELECT * FROM Info_Users
Retrieve all Users of a specific Group.
SELECT * FROM Info_Users WHERE GroupId = '2928085806875091'
Name | Type | References | Description |
Id [KEY] | String | The unique identifier of the user. | |
AccountId | String | The Id of the associated account. | |
AccountName | String | The name of the associated account. | |
String | The email address of the user. | ||
Name | String | The full name of the user. | |
FirstName | String | The first name of the user. | |
LastName | String | The last name of the user. | |
Admin | Boolean | Whether the user is a system admin. A system admin can manage users and accounts. | |
Locale | String | The locale for the user. | |
TimeZone | String | The timezone for the user. | |
LicensedSheetCreator | Boolean | Whether the user is a licensed user. A licensed user can create and own sheets. | |
GroupAdmin | Boolean | Whether the user is a group admin. A group admin can create and edit groups. | |
ResourceViewer | Boolean | Whether the user is a resource viewer. A resource viewer can access resource views. | |
Status | String | The status of the user. Possible values: ACTIVE, PENDING, DECLINED. | |
GroupId | String | The Id of the group. | |
Company | String | The company of the user. This column is only populated when an Id filter is specified. | |
Department | String | The department of the user. This column is only populated when an Id filter is specified. | |
MobilePhone | String | The mobile phone number of the user. This column is only populated when an Id filter is specified. | |
LastLogin | String | The last login time of the user. This is only populated if the user has logged in, and when an Id filter is specified. | |
Role | String | The role of the user. This column is only populated when an Id filter is specified. | |
Title | String | The title of the user. This column is only populated when an Id filter is specified. | |
WorkPhone | String | The work phone number of the user. This column is only populated when an Id filter is specified. |
Query Smartsheet Workspaces.
Retrieve all Workspaces.
SELECT * FROM Info_Workspaces
Retrieve all details for a specific Workspace.
SELECT * FROM Info_Workspaces WHERE Id = '2928085806875091'
Name | Type | References | Description |
Id [KEY] | String | The unique identifier of the workspace. | |
Name | String | The name of the workspace. | |
Favorite | Boolean | Whether the user has marked the workspace as a Favorite. | |
AccessLevel | String | The access permissions the user has to the Workspace. | |
Permalink | String | URL that represents a direct link to the workspace in Smartsheet. |
The Smartsheet table Report_Sales_Activity_And_Team_Objectives.
Name | Type | References | Description |
Sheet Name | String | The Sheet Name column for the table Report_Sales_Activity_And_Team_Objectives. | |
Primary | String | The Primary column for the table Report_Sales_Activity_And_Team_Objectives. | |
Responsible | String | The Responsible column for the table Report_Sales_Activity_And_Team_Objectives. | |
Pace | String | The Pace column for the table Report_Sales_Activity_And_Team_Objectives. | |
Percent to Goal | String | The Percent to Goal column for the table Report_Sales_Activity_And_Team_Objectives. | |
Due Date | Datetime | The Due Date column for the table Report_Sales_Activity_And_Team_Objectives. | |
Actual | String | The Actual column for the table Report_Sales_Activity_And_Team_Objectives. | |
Quota | String | The Quota column for the table Report_Sales_Activity_And_Team_Objectives. | |
Comments | String | The Comments column for the table Report_Sales_Activity_And_Team_Objectives. | |
State | String | The State column for the table Report_Sales_Activity_And_Team_Objectives. |
Query the Report_Tasks_and_Events view in Smartsheet.
Name | Type | References | Description |
RowId [KEY] | String | This column is dynamic and maps to the corresponding field in the API. | |
Sheet Name | String | This column is dynamic and maps to the corresponding field in the API. | |
Primary | String | This column is dynamic and maps to the corresponding field in the API. | |
Assigned To | String | This column is dynamic and maps to the corresponding field in the API. | |
Comments | String | This column is dynamic and maps to the corresponding field in the API. | |
Status | String | This column is dynamic and maps to the corresponding field in the API. | |
Due | Datetime | This column is dynamic and maps to the corresponding field in the API. | |
Due Date | Datetime | This column is dynamic and maps to the corresponding field in the API. | |
Budget | String | This column is dynamic and maps to the corresponding field in the API. | |
Assigned | String | This column is dynamic and maps to the corresponding field in the API. | |
Actual | String | This column is dynamic and maps to the corresponding field in the API. | |
Notes & Comments | String | This column is dynamic and maps to the corresponding field in the API. | |
Reviewed | Boolean | This column is dynamic and maps to the corresponding field in the API. | |
Progress | String | This column is dynamic and maps to the corresponding field in the API. |
Stored procedures are function-like interfaces that extend the functionality of the Cloud beyond simple SELECT/INSERT/UPDATE/DELETE operations with Smartsheet.
Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from Smartsheet, along with an indication of whether the procedure succeeded or failed.
Name | Description |
CopyRowsToAnotherSheet | Copy rows form to another sheet. |
CopySheet | Copy sheets form to another folder/home/workplace. |
CreateSheet | Create a sheet. |
DeleteAttachment | Deletes the attachment specified. |
DeleteSheet | Delete a specified sheet. |
ImportFile | Import a CSV or XLSX file to the top-level 'sheets' folder. You can also import it to a specific folder or workspace by specifying their id. You should specify only one of them. |
MoveRowsToAnotherSheet | Move rows form to another sheet. |
MoveSheet | Moves the specified sheet to a new location.. |
Copy rows form to another sheet.
Name | Type | Required | Description |
SheetId | String | False | Id of the sheet to be copied from. |
RowIds | String | False | Array of rows to copy. Comma separated values. Required if RowIdsFilePath is not specified. |
RowIdsFilePath | String | False | The full path to the local text file which stores the comma separated list of Row Id-s to be copied. Required if RowIds is not specified. |
DestinationSheetId | String | False | Id of the destination sheet. |
Include | String | False | Optional. A comma-separated list of row elements to copy in addition to the cell data: attachments, discussions, children or all to include everything (attachments, discussions, children or all). |
IgnoreRowsNotFound | String | False | Optional. true or false: default is false. If set to true, specifying row Ids that do not exist within the source sheet does not cause an error response. If omitted or set to false, specifying row Ids that do not exist within the source sheet causes an error response (and no rows are copied). |
Name | Type | Description |
Success | String | Whether or not the rows was copied successfully. |
AffectedRows | String | The number of copied rows. |
Copy sheets form to another folder/home/workplace.
Name | Type | Required | Description |
SheetId | String | False | Id of the sheet to be copied from. |
DestinationType | String | False | Type of the destination container (when copying or moving a folder or a sheet). One of the following values: folder, home, workspace. |
DestinationId | String | False | Id of the destination container (when copying or moving a folder or a sheet). Required if destinationType is 'folder' or 'workspace' If destinationType is 'home', this value must be null. |
NewName | String | False | Name of the newly created object (when creating a copy of a dashboard, folder, sheet, or workspace). This attribute is not supported for 'move' operations (that is, a moved dashboard, folder, sheet, or workspace retains its original name). |
Include | String | False | Optional. A comma-separated list of row elements to copy in addition to the sheet data: attachments, cellLinks - includes cross-sheet references, data - includes formatting, discussions - includes comments, filters, forms, ruleRecipients - includes notification recipients(must also include rules when using this attribute), rules - includes notifications and workflow rules, shares. NOTE: Cell history is not copied, regardless of which include parameter values are specified. Allowed values: attachments, cellLinks, data, discussions, filters, forms, ruleRecipients, rules, shares. |
Exclude | String | False | Optional. When specified with a value of sheetHyperlinks, excludes this category from the response. |
Name | Type | Description |
Success | String | Whether or not the Sheet was copied successfully. |
Create a sheet.
Note: This procedure makes use of indexed parameters. Indexed parameters facilitate providing multiple instances a single parameter as inputs for the procedure.
Suppose there is an input parameter named Param#. To input multiple instances of an indexed parameter like this, execute:
EXEC ProcedureName Param#1 = "value1", Param#2 = "value2", Param#3 = "value3"
In the table below, indexed parameters are denoted with a '#' character at the end of their names.
Name | Type | Required | Description |
SheetName | String | False | Name of the Sheet. |
ColumnName# | String | False | Name of the column. |
ColumnType# | String | False | Type of the column values. |
PrimaryColumn# | String | False | Specifies if of a column is primary or not. |
Name | Type | Description |
Success | String | Whether or not the sheet was created. |
Deletes the attachment specified.
Name | Type | Required | Description |
SheetId | String | False | The id of the sheet of the attachment. |
AttachmentId | String | False | The id of the attachment. If the attachment has multiple versions, this deletes only the version specified by the attachmentId (each version has a different attachmentId). |
Name | Type | Description |
Success | String | Whether or not the attachment was deleted. |
Delete a specified sheet.
Name | Type | Required | Description |
SheetId | String | False | Id of the sheet. |
SheetName | String | False | Name of the sheet. |
Name | Type | Description |
Success | String | Whether or not the sheet was deleted. |
Import a CSV or XLSX file to the top-level 'sheets' folder. You can also import it to a specific folder or workspace by specifying their id. You should specify only one of them.
Name | Type | Required | Description |
SheetName | String | True | Required. The desired name of the sheet. |
HeaderRowIndex | String | False | Optional. A zero-based integer indicating the row number to use for column names. Rows before this are omitted. If not specified, the default values are Column1, Column2, etc. |
PrimaryColumnIndex | String | False | Optional. A zero-based integer indicating the column to designate as primary. If not specified, the default value is 0. |
FileName | String | True | The file name including extension (and optionally the full path if Content is not set) of the file to upload. Example: C:/Users/Public/Desktop/Departments.csv' |
FolderId | String | False | Imports CSV or XLSX data into a new sheet in the specified folder. |
WorkspaceId | String | False | Imports CSV or XLSX data into a new sheet in the specified workspace. |
Overwrite | String | False | Overwrite an existing sheet.
The default value is false. |
Name | Type | Description |
Id | String | Sheet Id |
Name | String | Sheet name |
AccessLevel | String | User's permissions on the sheet |
Permalink | String | URL that represents a direct link to the sheet in Smartsheet |
Move rows form to another sheet.
Name | Type | Required | Description |
SheetId | String | False | Id of the sheet to be moved from. |
RowIds | String | False | Array of rows to move. Comma separated values. Required if RowIdsFilePath is not specified. |
RowIdsFilePath | String | False | The full path to the local text file which stores the comma separated list of Row Id-s to be moved. Required if RowIds is not specified. |
DestinationSheetId | String | False | Id of the destination sheet. |
Include | String | False | Optional. A comma-separated list of row elements to move in addition to the cell data: attachments, discussions (attachments, discussions). |
IgnoreRowsNotFound | String | False | Optional. True or False: default is False. If set to true, specifying row Ids that do not exist within the source sheet does not cause an error response. If omitted or set to false, specifying row Ids that do not exist within the source sheet causes an error response (and no rows are moved). |
Name | Type | Description |
Success | String | Whether or not the rows was moved successfully. |
AffectedRows | String | The number of moved rows. |
Moves the specified sheet to a new location..
Name | Type | Required | Description |
SheetId | String | False | Id of the sheet to be moved. |
DestinationType | String | False | Type of the destination container when moving a sheet. One of the following values: folder, home, workspace. |
DestinationId | String | False | Id of the destination container when moving a sheet. Required if destinationType is 'folder' or 'workspace' If destinationType is 'home', this value must be null. |
Name | Type | Description |
Success | String | Whether or not the Sheet was moved successfully. |
You can query the system tables described in this section to access schema information, information on data source functionality, and batch operation statistics.
The following tables return database metadata for Smartsheet:
The following tables return information about how to connect to and query the data source:
The following table returns query statistics for data modification queries, including batch operations::
Lists the available databases.
The following query retrieves all databases determined by the connection string:
SELECT * FROM sys_catalogs
Name | Type | Description |
CatalogName | String | The database name. |
Lists the available schemas.
The following query retrieves all available schemas:
SELECT * FROM sys_schemas
Name | Type | Description |
CatalogName | String | The database name. |
SchemaName | String | The schema name. |
Lists the available tables.
The following query retrieves the available tables and views:
SELECT * FROM sys_tables
Name | Type | Description |
CatalogName | String | The database containing the table or view. |
SchemaName | String | The schema containing the table or view. |
TableName | String | The name of the table or view. |
TableType | String | The table type (table or view). |
Description | String | A description of the table or view. |
IsUpdateable | Boolean | Whether the table can be updated. |
Describes the columns of the available tables and views.
The following query returns the columns and data types for the Sheet_Test_Sheet table:
SELECT ColumnName, DataTypeName FROM sys_tablecolumns WHERE TableName='Sheet_Test_Sheet'
Name | Type | Description |
CatalogName | String | The name of the database containing the table or view. |
SchemaName | String | The schema containing the table or view. |
TableName | String | The name of the table or view containing the column. |
ColumnName | String | The column name. |
DataTypeName | String | The data type name. |
DataType | Int32 | An integer indicating the data type. This value is determined at run time based on the environment. |
Length | Int32 | The storage size of the column. |
DisplaySize | Int32 | The designated column's normal maximum width in characters. |
NumericPrecision | Int32 | The maximum number of digits in numeric data. The column length in characters for character and date-time data. |
NumericScale | Int32 | The column scale or number of digits to the right of the decimal point. |
IsNullable | Boolean | Whether the column can contain null. |
Description | String | A brief description of the column. |
Ordinal | Int32 | The sequence number of the column. |
IsAutoIncrement | String | Whether the column value is assigned in fixed increments. |
IsGeneratedColumn | String | Whether the column is generated. |
IsHidden | Boolean | Whether the column is hidden. |
IsArray | Boolean | Whether the column is an array. |
IsReadOnly | Boolean | Whether the column is read-only. |
IsKey | Boolean | Indicates whether a field returned from sys_tablecolumns is the primary key of the table. |
Lists the available stored procedures.
The following query retrieves the available stored procedures:
SELECT * FROM sys_procedures
Name | Type | Description |
CatalogName | String | The database containing the stored procedure. |
SchemaName | String | The schema containing the stored procedure. |
ProcedureName | String | The name of the stored procedure. |
Description | String | A description of the stored procedure. |
ProcedureType | String | The type of the procedure, such as PROCEDURE or FUNCTION. |
Describes stored procedure parameters.
The following query returns information about all of the input parameters for the RefreshOAuthAccessToken stored procedure:
SELECT * FROM sys_procedureparameters WHERE ProcedureName='RefreshOAuthAccessToken' AND Direction=1 OR Direction=2
Name | Type | Description |
CatalogName | String | The name of the database containing the stored procedure. |
SchemaName | String | The name of the schema containing the stored procedure. |
ProcedureName | String | The name of the stored procedure containing the parameter. |
ColumnName | String | The name of the stored procedure parameter. |
Direction | Int32 | An integer corresponding to the type of the parameter: input (1), input/output (2), or output(4). input/output type parameters can be both input and output parameters. |
DataTypeName | String | The name of the data type. |
DataType | Int32 | An integer indicating the data type. This value is determined at run time based on the environment. |
Length | Int32 | The number of characters allowed for character data. The number of digits allowed for numeric data. |
NumericPrecision | Int32 | The maximum precision for numeric data. The column length in characters for character and date-time data. |
NumericScale | Int32 | The number of digits to the right of the decimal point in numeric data. |
IsNullable | Boolean | Whether the parameter can contain null. |
IsRequired | Boolean | Whether the parameter is required for execution of the procedure. |
IsArray | Boolean | Whether the parameter is an array. |
Description | String | The description of the parameter. |
Ordinal | Int32 | The index of the parameter. |
Describes the primary and foreign keys.
The following query retrieves the primary key for the Sheet_Test_Sheet table:
SELECT * FROM sys_keycolumns WHERE IsKey='True' AND TableName='Sheet_Test_Sheet'
Name | Type | Description |
CatalogName | String | The name of the database containing the key. |
SchemaName | String | The name of the schema containing the key. |
TableName | String | The name of the table containing the key. |
ColumnName | String | The name of the key column. |
IsKey | Boolean | Whether the column is a primary key in the table referenced in the TableName field. |
IsForeignKey | Boolean | Whether the column is a foreign key referenced in the TableName field. |
PrimaryKeyName | String | The name of the primary key. |
ForeignKeyName | String | The name of the foreign key. |
ReferencedCatalogName | String | The database containing the primary key. |
ReferencedSchemaName | String | The schema containing the primary key. |
ReferencedTableName | String | The table containing the primary key. |
ReferencedColumnName | String | The column name of the primary key. |
Describes the foreign keys.
The following query retrieves all foreign keys which refer to other tables:
SELECT * FROM sys_foreignkeys WHERE ForeignKeyType = 'FOREIGNKEY_TYPE_IMPORT'
Name | Type | Description |
CatalogName | String | The name of the database containing the key. |
SchemaName | String | The name of the schema containing the key. |
TableName | String | The name of the table containing the key. |
ColumnName | String | The name of the key column. |
PrimaryKeyName | String | The name of the primary key. |
ForeignKeyName | String | The name of the foreign key. |
ReferencedCatalogName | String | The database containing the primary key. |
ReferencedSchemaName | String | The schema containing the primary key. |
ReferencedTableName | String | The table containing the primary key. |
ReferencedColumnName | String | The column name of the primary key. |
ForeignKeyType | String | Designates whether the foreign key is an import (points to other tables) or export (referenced from other tables) key. |
Describes the primary keys.
The following query retrieves the primary keys from all tables and views:
SELECT * FROM sys_primarykeys
Name | Type | Description |
CatalogName | String | The name of the database containing the key. |
SchemaName | String | The name of the schema containing the key. |
TableName | String | The name of the table containing the key. |
ColumnName | String | The name of the key column. |
KeySeq | String | The sequence number of the primary key. |
KeyName | String | The name of the primary key. |
Describes the available indexes. By filtering on indexes, you can write more selective queries with faster query response times.
The following query retrieves all indexes that are not primary keys:
SELECT * FROM sys_indexes WHERE IsPrimary='false'
Name | Type | Description |
CatalogName | String | The name of the database containing the index. |
SchemaName | String | The name of the schema containing the index. |
TableName | String | The name of the table containing the index. |
IndexName | String | The index name. |
ColumnName | String | The name of the column associated with the index. |
IsUnique | Boolean | True if the index is unique. False otherwise. |
IsPrimary | Boolean | True if the index is a primary key. False otherwise. |
Type | Int16 | An integer value corresponding to the index type: statistic (0), clustered (1), hashed (2), or other (3). |
SortOrder | String | The sort order: A for ascending or D for descending. |
OrdinalPosition | Int16 | The sequence number of the column in the index. |
Returns information on the available connection properties and those set in the connection string.
When querying this table, the config connection string should be used:
jdbc:cdata:smartsheet:config:
This connection string enables you to query this table without a valid connection.
The following query retrieves all connection properties that have been set in the connection string or set through a default value:
SELECT * FROM sys_connection_props WHERE Value <> ''
Name | Type | Description |
Name | String | The name of the connection property. |
ShortDescription | String | A brief description. |
Type | String | The data type of the connection property. |
Default | String | The default value if one is not explicitly set. |
Values | String | A comma-separated list of possible values. A validation error is thrown if another value is specified. |
Value | String | The value you set or a preconfigured default. |
Required | Boolean | Whether the property is required to connect. |
Category | String | The category of the connection property. |
IsSessionProperty | String | Whether the property is a session property, used to save information about the current connection. |
Sensitivity | String | The sensitivity level of the property. This informs whether the property is obfuscated in logging and authentication forms. |
PropertyName | String | A camel-cased truncated form of the connection property name. |
Ordinal | Int32 | The index of the parameter. |
CatOrdinal | Int32 | The index of the parameter category. |
Hierarchy | String | Shows dependent properties associated that need to be set alongside this one. |
Visible | Boolean | Informs whether the property is visible in the connection UI. |
ETC | String | Various miscellaneous information about the property. |
Describes the SELECT query processing that the Cloud can offload to the data source.
See SQL Compliance for SQL syntax details.
Below is an example data set of SQL capabilities. Some aspects of SELECT functionality are returned in a comma-separated list if supported; otherwise, the column contains NO.
Name | Description | Possible Values |
AGGREGATE_FUNCTIONS | Supported aggregation functions. | AVG, COUNT, MAX, MIN, SUM, DISTINCT |
COUNT | Whether COUNT function is supported. | YES, NO |
IDENTIFIER_QUOTE_OPEN_CHAR | The opening character used to escape an identifier. | [ |
IDENTIFIER_QUOTE_CLOSE_CHAR | The closing character used to escape an identifier. | ] |
SUPPORTED_OPERATORS | A list of supported SQL operators. | =, >, <, >=, <=, <>, !=, LIKE, NOT LIKE, IN, NOT IN, IS NULL, IS NOT NULL, AND, OR |
GROUP_BY | Whether GROUP BY is supported, and, if so, the degree of support. | NO, NO_RELATION, EQUALS_SELECT, SQL_GB_COLLATE |
OJ_CAPABILITIES | The supported varieties of outer joins supported. | NO, LEFT, RIGHT, FULL, INNER, NOT_ORDERED, ALL_COMPARISON_OPS |
OUTER_JOINS | Whether outer joins are supported. | YES, NO |
SUBQUERIES | Whether subqueries are supported, and, if so, the degree of support. | NO, COMPARISON, EXISTS, IN, CORRELATED_SUBQUERIES, QUANTIFIED |
STRING_FUNCTIONS | Supported 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 | Supported 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 | Supported date/time 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 | Indicates tables skipped during replication. | |
REPLICATION_TIMECHECK_COLUMNS | A string array containing a list of columns which will be used to check for (in the given order) to use as a modified column during replication. | |
IDENTIFIER_PATTERN | String value indicating what string is valid for an identifier. | |
SUPPORT_TRANSACTION | Indicates if the provider supports transactions such as commit and rollback. | YES, NO |
DIALECT | Indicates the SQL dialect to use. | |
KEY_PROPERTIES | Indicates the properties which identify the uniform database. | |
SUPPORTS_MULTIPLE_SCHEMAS | Indicates if multiple schemas may exist for the provider. | YES, NO |
SUPPORTS_MULTIPLE_CATALOGS | Indicates if multiple catalogs may exist for the provider. | YES, NO |
DATASYNCVERSION | The CData Data Sync version needed to access this driver. | Standard, Starter, Professional, Enterprise |
DATASYNCCATEGORY | The CData Data Sync category of this driver. | Source, Destination, Cloud Destination |
SUPPORTSENHANCEDSQL | Whether enhanced SQL functionality beyond what is offered by the API is supported. | TRUE, FALSE |
SUPPORTS_BATCH_OPERATIONS | Whether batch operations are supported. | YES, NO |
SQL_CAP | All supported SQL capabilities for this driver. | 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 | A string value specifies the preferred cacheOptions. | |
ENABLE_EF_ADVANCED_QUERY | Indicates if the driver directly supports advanced queries coming from Entity Framework. If not, queries will be handled client side. | YES, NO |
PSEUDO_COLUMNS | A string array indicating the available pseudo columns. | |
MERGE_ALWAYS | If the value is true, The Merge Mode is forcibly executed in Data Sync. | TRUE, FALSE |
REPLICATION_MIN_DATE_QUERY | A select query to return the replicate start datetime. | |
REPLICATION_MIN_FUNCTION | Allows a provider to specify the formula name to use for executing a server side min. | |
REPLICATION_START_DATE | Allows a provider to specify a replicate startdate. | |
REPLICATION_MAX_DATE_QUERY | A select query to return the replicate end datetime. | |
REPLICATION_MAX_FUNCTION | Allows a provider to specify the formula name to use for executing a server side max. | |
IGNORE_INTERVALS_ON_INITIAL_REPLICATE | A list of tables which will skip dividing the replicate into chunks on the initial replicate. | |
CHECKCACHE_USE_PARENTID | Indicates whether the CheckCache statement should be done against the parent key column. | TRUE, FALSE |
CREATE_SCHEMA_PROCEDURES | Indicates stored procedures that can be used for generating schema files. |
The following query retrieves the operators that can be used in the WHERE clause:
SELECT * FROM sys_sqlinfo WHERE Name = 'SUPPORTED_OPERATORS'
Note that individual tables may have different limitations or requirements on the WHERE clause; refer to the Data Model section for more information.
Name | Type | Description |
NAME | String | A component of SQL syntax, or a capability that can be processed on the server. |
VALUE | String | Detail on the supported SQL or SQL syntax. |
Returns information about attempted modifications.
The following query retrieves the Ids of the modified rows in a batch operation:
SELECT * FROM sys_identity
Name | Type | Description |
Id | String | The database-generated Id returned from a data modification operation. |
Batch | String | An identifier for the batch. 1 for a single operation. |
Operation | String | The result of the operation in the batch: INSERTED, UPDATED, or DELETED. |
Message | String | SUCCESS or an error message if the update in the batch failed. |
The Cloud maps types from the data source to the corresponding data type available in the schema. The table below documents these mappings.
Smartsheet | CData Schema |
Auto-Number | int |
Checkbox | bool |
Contact list | string |
Created (Date) | datetime |
Created By | string |
Date | date |
Dropdown List | string |
Modified (Date) | datetime |
Modified By | string |
Symbols (Flag/Star) | bool |
Symbols (Dropdowns) | string |
Text/Number (Text) | string |
Text/Number (Whole Number) | int (<2,147,483,647) or long (>2,147,483,647) |
Text/Number (Decimal) | float |
The connection string properties are the various options that can be used to establish a connection. This section provides a complete list of the options you can configure in the connection string for this provider. Click the links for further details.
For more information on establishing a connection, see Establishing a Connection.
Property | Description |
AuthScheme | Whether to use Personal Access Token Authentication or OAuth Authentication when connecting to Smartsheet. |
PersonalAccessToken | The Personal Access Token that can be generated from the Smartsheet UI. |
Property | Description |
Region | The hosting region for your Smartsheet account. |
Property | Description |
OAuthClientId | The client Id assigned when you register your application with an OAuth authorization server. |
OAuthClientSecret | The client secret assigned when you register your application with an OAuth authorization server. |
Property | Description |
SSLServerCert | The certificate to be accepted from the server when connecting using TLS/SSL. |
Property | Description |
Verbosity | The verbosity level that determines the amount of detail included in the log file. |
Property | Description |
BrowsableSchemas | This property restricts the schemas reported to a subset of the available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC. |
Property | Description |
Header | Indicates whether or not the provider should detect column names from the first row. |
HideFormattingCharacters | Set to True if you want to hide currency symbols and percentage signs in numeric values. This will also convert these columns from varchar to double. Only works if TypeDetectionScheme is set to RowScan and at least the first RowScanDepth values for that column are convertable to double. |
IgnoreRowsNotFound | If set to false and any of the specified Row IDs are not found, no rows will be deleted, and a 'not found' error will be returned. |
MaxRows | Limits the number of rows returned when no aggregation or GROUP BY is used in the query. This takes precedence over LIMIT clauses. |
Pagesize | The maximum number of results to return per page from Smartsheet. |
PseudoColumns | This property indicates whether or not to include pseudo columns as columns to the table. |
ReportCompatibilityLevel | Controls whether new functionality, such as multi-contact data is returned as: Backwards-compatible, text format (level 0, default) Multi-contact data (level 1) Multi-contact data (report-compatible, level 2) Multi-picklist data (level 3) . |
RowScanDepth | The maximum number of rows to scan to look for the columns available in a table. |
Timeout | The value in seconds until the timeout error is thrown, canceling the operation. |
TypeDetectionScheme | Determines how to determine the data types of columns. |
UseFullFilePathsAsTableNames | Whether or not to include the full file path in the name of an exposed table or view, corresponding to a sheet or report. |
UseSimpleNames | Boolean determining if simple names should be used for tables and columns. |
ValueSource | Indicates whether the cell will use the Value fields as its value or the DisplayValue field. |
This section provides a complete list of the Authentication properties you can configure in the connection string for this provider.
Property | Description |
AuthScheme | Whether to use Personal Access Token Authentication or OAuth Authentication when connecting to Smartsheet. |
PersonalAccessToken | The Personal Access Token that can be generated from the Smartsheet UI. |
Whether to use Personal Access Token Authentication or OAuth Authentication when connecting to Smartsheet.
string
"PersonalAccessToken"
Whether to use Personal Access Token Authentication or OAuth Authentication when connecting to Smartsheet
The Personal Access Token that can be generated from the Smartsheet UI.
string
""
The Personal Access Token that can be generated from the Smartsheet UI.
This section provides a complete list of the Connection properties you can configure in the connection string for this provider.
Property | Description |
Region | The hosting region for your Smartsheet account. |
The hosting region for your Smartsheet account.
string
"Global"
The hosting region for your Smartsheet account. Available values are: GLOBAL,EU,GOV.
This section provides a complete list of the OAuth properties you can configure in the connection string for this provider.
Property | Description |
OAuthClientId | The client Id assigned when you register your application with an OAuth authorization server. |
OAuthClientSecret | The client secret assigned when you register your application with an OAuth authorization server. |
The client Id assigned when you register your application with an OAuth authorization server.
string
""
As part of registering an OAuth application, you will receive the OAuthClientId value, sometimes also called a consumer key, and a client secret, the OAuthClientSecret.
The client secret assigned when you register your application with an OAuth authorization server.
string
""
As part of registering an OAuth application, you will receive the OAuthClientId, also called a consumer key. You will also receive a client secret, also called a consumer secret. Set the client secret in the OAuthClientSecret property.
This section provides a complete list of the SSL properties you can configure in the connection string for this provider.
Property | Description |
SSLServerCert | The certificate to be accepted from the server when connecting using TLS/SSL. |
The certificate to be accepted from the server when connecting using TLS/SSL.
string
""
If using a TLS/SSL connection, this property can be used to specify the TLS/SSL certificate to be accepted from the server. Any other certificate that is not trusted by the machine is rejected.
This property can take the following forms:
Description | Example |
A full PEM Certificate (example shortened for brevity) | -----BEGIN CERTIFICATE----- MIIChTCCAe4CAQAwDQYJKoZIhv......Qw== -----END CERTIFICATE----- |
A path to a local file containing the certificate | C:\cert.cer |
The public key (example shortened for brevity) | -----BEGIN RSA PUBLIC KEY----- MIGfMA0GCSq......AQAB -----END RSA PUBLIC KEY----- |
The MD5 Thumbprint (hex values can also be either space or colon separated) | ecadbdda5a1529c58a1e9e09828d70e4 |
The SHA1 Thumbprint (hex values can also be either space or colon separated) | 34a929226ae0819f2ec14b4a3d904f801cbb150d |
If not specified, any certificate trusted by the machine is accepted.
Use '*' to signify to accept all certificates. Note that this is not recommended due to security concerns.
This section provides a complete list of the Logging properties you can configure in the connection string for this provider.
Property | Description |
Verbosity | The verbosity level that determines the amount of detail included in the log file. |
The verbosity level that determines the amount of detail included in the log file.
string
"1"
The verbosity level determines the amount of detail that the Cloud reports to the Logfile. Verbosity levels from 1 to 5 are supported. These are detailed in the Logging page.
This section provides a complete list of the Schema properties you can configure in the connection string for this provider.
Property | Description |
BrowsableSchemas | This property restricts the schemas reported to a subset of the available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC. |
This property restricts the schemas reported to a subset of the available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC.
string
""
Listing the schemas from databases can be expensive. Providing a list of schemas in the connection string improves the performance.
This section provides a complete list of the Miscellaneous properties you can configure in the connection string for this provider.
Property | Description |
Header | Indicates whether or not the provider should detect column names from the first row. |
HideFormattingCharacters | Set to True if you want to hide currency symbols and percentage signs in numeric values. This will also convert these columns from varchar to double. Only works if TypeDetectionScheme is set to RowScan and at least the first RowScanDepth values for that column are convertable to double. |
IgnoreRowsNotFound | If set to false and any of the specified Row IDs are not found, no rows will be deleted, and a 'not found' error will be returned. |
MaxRows | Limits the number of rows returned when no aggregation or GROUP BY is used in the query. This takes precedence over LIMIT clauses. |
Pagesize | The maximum number of results to return per page from Smartsheet. |
PseudoColumns | This property indicates whether or not to include pseudo columns as columns to the table. |
ReportCompatibilityLevel | Controls whether new functionality, such as multi-contact data is returned as: Backwards-compatible, text format (level 0, default) Multi-contact data (level 1) Multi-contact data (report-compatible, level 2) Multi-picklist data (level 3) . |
RowScanDepth | The maximum number of rows to scan to look for the columns available in a table. |
Timeout | The value in seconds until the timeout error is thrown, canceling the operation. |
TypeDetectionScheme | Determines how to determine the data types of columns. |
UseFullFilePathsAsTableNames | Whether or not to include the full file path in the name of an exposed table or view, corresponding to a sheet or report. |
UseSimpleNames | Boolean determining if simple names should be used for tables and columns. |
ValueSource | Indicates whether the cell will use the Value fields as its value or the DisplayValue field. |
Indicates whether or not the provider should detect column names from the first row.
bool
false
If true, the first row will be used as a column header. Otherwise, the pseudo column names A, B, C, etc. will be used.
The Cloud will follow the additional specifications below to detect column headers:
Set to True if you want to hide currency symbols and percentage signs in numeric values. This will also convert these columns from varchar to double. Only works if TypeDetectionScheme is set to RowScan and at least the first RowScanDepth values for that column are convertable to double.
bool
false
Set to True if you want to hide currency symbols and percentage signs in numeric values. This will also convert these columns from varchar to double. Only works if TypeDetectionScheme is set to RowScan and at least the first RowScanDepth values for that column are convertable to double.
If set to false and any of the specified Row IDs are not found, no rows will be deleted, and a 'not found' error will be returned.
bool
false
If set to false and any of the specified Row IDs are not found, no rows will be deleted, and a 'not found' error will be returned.
Limits the number of rows returned when no aggregation or GROUP BY is used in the query. This takes precedence over LIMIT clauses.
int
-1
Limits the number of rows returned when no aggregation or GROUP BY is used in the query. This takes precedence over LIMIT clauses.
The maximum number of results to return per page from Smartsheet.
int
500
The Pagesize property affects the maximum number of results to return per page from Smartsheet. Setting a higher value may result in better performance at the cost of additional memory allocated per page consumed.
This property indicates whether or not to include pseudo columns as columns to the table.
string
""
This setting is particularly helpful in Entity Framework, which does not allow you to set a value for a pseudo column unless it is a table column. The value of this connection setting is of the format "Table1=Column1, Table1=Column2, Table2=Column3". You can use the "*" character to include all tables and all columns; for example, "*=*".
Controls whether new functionality, such as multi-contact data is returned as: Backwards-compatible, text format (level 0, default) Multi-contact data (level 1) Multi-contact data (report-compatible, level 2) Multi-picklist data (level 3) .
string
"2"
The minimum level required to get data for 'report' tables is 2.
The maximum number of rows to scan to look for the columns available in a table.
int
100
The columns in a table must be determined by scanning table rows. This value determines the maximum number of rows that will be scanned.
Setting a high value may decrease performance. Setting a low value may prevent the data type from being determined properly, especially when there is null data.
The value in seconds until the timeout error is thrown, canceling the operation.
int
60
If Timeout = 0, operations do not time out. The operations run until they complete successfully or until they encounter an error condition.
If Timeout expires and the operation is not yet complete, the Cloud throws an exception.
Determines how to determine the data types of columns.
string
"RowScan"
None | Setting TypeDetectionScheme to None will return all columns as the string type. Note: Even when set to None, the column names will still be scanned when Header is set to True. |
RowScan | Setting TypeDetectionScheme to RowScan will scan rows to heuristically determine the data type. The RowScanDepth determines the number of rows to be scanned. |
ColumnFormat | Setting TypeDetectionScheme to ColumnFormat will report the data type based on the format of the column. |
Whether or not to include the full file path in the name of an exposed table or view, corresponding to a sheet or report.
bool
false
If set to true, the names of the exposed sheets as tables and reports as views, will include the full file path. Ex. SalesSheets_Agents_MonthlyReports_Sheet_JuneSheet.
If set to false, the tables and views corresponding to the sheets and reports, will be exposed using only the file's name. Ex. Sheet_JuneSheet.
Boolean determining if simple names should be used for tables and columns.
bool
false
Smartsheet tables and columns can use special characters in names that are normally not allowed in standard databases. UseSimpleNames makes the Cloud easier to use with traditional database tools.
Setting UseSimpleNames to true will simplify the names of tables and columns returned. It will enforce a naming scheme such that only alphanumeric characters and the underscore are valid for the displayed table and column names. Any nonalphanumeric characters will be converted to an underscore.
Indicates whether the cell will use the Value fields as its value or the DisplayValue field.
string
"Auto"