Smartsheet Data Model
Smartsheet: the sheets with their columns, rows and cells, the workspaces and folders, reports, dashboards, users and groups of a Smartsheet account, for reading and writing.
https://developers.smartsheet.com/api/smartsheet/introduction
Set up this platform in Invantive Cloud: https://cloud.invantive.eu/smartsheet
Text comparisons on this platform are case sensitive.
Platform
- Used from: Invantive Cloud and the Invantive products on your own computer or server.
- Kind: an application reached over its API.
- Data can be written as well as read.
- Invantive Cloud plans: Office for Entrepreneurs, Office for Accountants, Premium Finance, OEM.
Glossary
- Account: The Smartsheet subscription of an organisation, with its users, groups and licences, hosted in one region.
- Workspace: A shared area of a team that holds folders, sheets, reports and dashboards, shared as a whole.
- Folder: A container within a workspace, possibly nested, for grouping sheets, reports, dashboards and further folders.
- Sheet: A grid of rows and columns, like a spreadsheet, in which a team keeps a list, a plan or a tracker.
- Column: A field of a sheet with a title, a type and a position; exactly one column per sheet is the primary column.
- Column Type: What a column holds: text or number, date, contact, checkbox, single or multiple choice, duration or predecessors.
- Row: A line of a sheet, which can be indented below another row to build a hierarchy of parent and child rows.
- Cell: The value of one column in one row of a sheet, either typed in or calculated by a formula.
- Formula: A calculation in a cell, a column or a summary field, which can refer to other cells of the sheet or of other sheets.
- Dependencies: A setting of a sheet that links rows as tasks by predecessors, so that dates are recalculated when one task moves.
- Sheet Summary: A set of fields about a sheet as a whole, such as an owner, a status or a total, kept beside its grid.
- Report: A view that gathers rows from several sheets by criteria, without copying them.
- Dashboard: A page of widgets that shows figures, charts, reports and links from sheets, for an overview at a glance.
- Access Level: The rights a user has on a sheet, report, dashboard or workspace, from viewer up to owner.
- Share: The grant of an access level on a sheet or workspace to a user or a group.
- User: A person in the account, possibly a system administrator or a licensed user who may create sheets.
- Group: A named set of users of the account, used to share sheets and workspaces with all of them at once.
- Contact: A person in the personal contact list of a user, which can be picked in contact columns and when sharing.
- Automation Rule: A workflow of a sheet that sends an alert, a request for an update or a request for approval when a condition is met.
- Discussion: A conversation of comments on a sheet or on one of its rows.
- Attachment: A file or link attached to a sheet, a row or a comment, uploaded or held in an external storage service.
- Template: A sheet or report saved as a starting point, from which new sheets or reports are created.
- Webhook: An address that Smartsheet calls when a watched sheet changes, so another system hears of it at once.
Figures
| Figure | Count |
|---|---|
| Tables | 30 |
| Columns | 270 |
| Tables with insert | 7 |
| Tables with update | 5 |
| Tables with delete | 6 |
| Tables documented | 27 |
Data Model Poster
On a table of the poster: plus and minus zoom, the arrow keys move, 0 fits.
The poster as text: tables per topic and their relations
Sheet
Favorites, Templates, Webhooks, Dashboards, Reports, SheetAttachments, SheetAutomationRules, SheetCells, SheetColumns, SheetComments, SheetCrossSheetReferences, SheetDiscussions, SheetRows, SheetShares, SheetSummaryFields, Sheets, GroupMembers, Groups, Users, FolderItems, Folders, Workspaces
Access (without relations)
Column (without relations)
Contact (without relations)
Current (without relations)
NATIVEPLATFORMSCALARREQUESTS (without relations)
Server (without relations)
System (without relations)
Relations
- Favorites → Templates (described in words): A template when type is template.
- Favorites → Dashboards (described in words): A dashboard when type is sight.
- Favorites → Reports (described in words): A report when type is report.
- Favorites → Sheets (described in words): A sheet when type is sheet.
- Favorites → Folders (described in words): A folder when type is folder.
- Favorites → Workspaces (described in words): A workspace when type is workspace.
- Webhooks → Sheets (described in words): A sheet when scope is sheet, and the user can see it.
- SheetAttachments → SheetRows (described in words): A row only when parent_type is ROW; otherwise the sheet or a comment.
- SheetAttachments → Sheets (key)
- SheetAutomationRules → Sheets (key)
- SheetCells → SheetColumns (key)
- SheetCells → SheetRows (key)
- SheetColumns → Sheets (key)
- SheetComments → SheetDiscussions (key)
- SheetCrossSheetReferences → SheetColumns (described in words, 2 keys): The last column of the range in the source sheet; null for whole rows.
- SheetCrossSheetReferences → SheetRows (described in words, 2 keys): The last row of the range in the source sheet; null for whole columns.
- SheetCrossSheetReferences → Sheets (key)
- SheetCrossSheetReferences → Sheets (described in words): Holds for a source sheet the user can see.
- SheetDiscussions → SheetRows (described in words): A row only when parent_type is ROW; otherwise the sheet itself.
- SheetDiscussions → Sheets (key)
- SheetRows → SheetRows (key, 2 keys)
- SheetRows → Sheets (key)
- SheetShares → Sheets (key)
- SheetShares → Groups (described in words): Holds for a group of the organisation.
- SheetShares → Users (described in words): Holds for a user of the organisation; a sheet may be shared with someone outside it.
- SheetSummaryFields → Sheets (key)
- GroupMembers → Groups (key)
- GroupMembers → Users (described in words): Holds for a member who is a user of the organisation.
- Groups → Users (described in words): Holds for an owner who is a user of the organisation.
- FolderItems → Dashboards (described in words): A dashboard when resource_type is sight.
- FolderItems → Reports (described in words): A report when resource_type is report.
- FolderItems → Sheets (described in words): A sheet when resource_type is sheet.
- FolderItems → Folders (key)
- FolderItems → Folders (described in words): A folder when resource_type is folder.
- FolderItems → Workspaces (key)
- Folders → Folders (key)
- Folders → Workspaces (key)
Sample Queries
select sht.name
, count(*) row_count
from Smartsheet.Sheets.Sheets sht
join Smartsheet.Sheets.SheetRows row
on row.sheet_id = sht.sheet_id
group
by sht.name
select sht.name
, sht.access_level
, sht.modified_at
from Smartsheet.Sheets.Sheets sht
order
by sht.modified_at desc
select sht.name sheet_name
, cel.row_id
, cel.column_title
, cel.display_value
from Smartsheet.Sheets.Sheets sht
join Smartsheet.Sheets.SheetCells cel
on cel.sheet_id = sht.sheet_id
order
by sht.name
, cel.row_id
select wsp.name workspace_name
, fim.resource_type
, fim.name
from Smartsheet.Workspaces.Workspaces wsp
join Smartsheet.Workspaces.FolderItems fim
on fim.workspace_id = wsp.workspace_id
Attributes
The attributes of this platform are on the page Attributes.
Tables
Smartsheet.CodeValues
- AccessLevels: Domain AccessLevels
- ColumnTypes: Domain ColumnTypes
- SystemColumnTypes: Domain SystemColumnTypes
Smartsheet.Native
- NATIVEPLATFORMSCALARREQUESTS: Native Platform Scalar Requests
Smartsheet.Platform
- Favorites: Favourites
- SearchResultsByQuery: Search Results by Query
- ServerInfo: Server Info
- Templates: Templates
- Webhooks: Webhooks
Smartsheet.Reports
- Dashboards: Dashboards
- Reports: Reports
Smartsheet.Sheets
- SheetAttachments: Sheet Attachments
- SheetAutomationRules: Sheet Automation Rules
- SheetCells: Sheet Cells
- SheetColumns: Sheet Columns
- SheetComments: Sheet Comments
- SheetCrossSheetReferences: Sheet Cross-sheet References
- SheetDiscussions: Sheet Discussions
- SheetRows: Sheet Rows
- SheetShares: Sheet Shares
- SheetSummaryFields: Sheet Summary Fields
- Sheets: Sheets
Smartsheet.Users
- Contacts: Contacts
- CurrentUser: Current User
- GroupMembers: Group Members
- Groups: Groups
- Users: Users
Smartsheet.Workspaces
- FolderItems: Folder Items
- Folders: Folders
- Workspaces: Workspaces