Info_Discussions
Analyze discussion threads, including comments, tied to specific rows or sheets for better communication tracking.
Table Specific Information
Select
This view returns a list of Discussions. The SheetId parameter is always required.
Retrieve all Discussions related to a Sheet.
SELECT * FROM Info_Discussions WHERE SheetId = '2940085806098308'
Retrieve Discussions related to a specific Row of a Sheet.
SELECT * FROM Info_Discussions WHERE SheetId = '2940085806098308' AND RowId = '6773684447799172'
Retrieve details of a specified Comment.
SELECT * FROM Info_Discussions WHERE SheetId = '2940085806098308' AND Id = '8206230771525508'
Insert
You can insert a discussion to a sheet by providing SheetId and FirstDiscussionComment. To add a discussion to a row, provide RowId, SheetId, and FirstDiscussionComment.
INSERT INTO Info_Discussions (SheetId, FirstDiscussionComment) VALUES ('568679927703428', 'This is a comment 1')
INSERT INTO Info_Discussions (RowId, SheetId, FirstDiscussionComment) VALUES ('1889077216995204', '568679927703428', 'This is a comment 2')
Columns
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | False |
A unique identifier for the discussion within the Smartsheet. | |
| Title | String | False |
The subject or headline of the discussion, providing a brief summary of its content. | |
| AccessLevel | String | False |
Indicates the user's permission level for accessing the discussion (for example, view, edit). | |
| ParentId | String | False |
The unique identifier of the row or sheet directly associated with the discussion. | |
| ParentType | String | False |
Specifies whether the discussion is linked to a row or a sheet. Possible values include: SHEET or ROW. | |
| LastCommentedAt | Datetime | False |
The timestamp indicating when the most recent comment was added to the discussion. | |
| LastCommentBy | String | False |
The full name of the user who made the latest comment in the discussion. | |
| CreatorName | String | False |
The full name of the user who initiated the discussion. | |
| ReadOnly | Boolean | False |
Indicates if the discussion is in a read-only state, preventing any modifications. | |
| SheetId | String | False |
The unique identifier of the sheet where the discussion is located. | |
| RowId | String | False |
The unique identifier of the row associated with the discussion. |
Pseudo-Columns
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 |
A special input-only field for adding the initial comment to a new discussion. |