Smartsheet 데이터 모델
Smartsheet: Smartsheet 계정의 열, 행, 셀로 구성된 시트, 작업 공간 및 폴더, 보고서, 대시보드, 사용자 및 그룹을 읽고 쓸 수 있습니다.
https://developers.smartsheet.com/api/smartsheet/introduction
Invantive Cloud에서 이 플랫폼을 설정하세요: https://cloud.invantive.eu/smartsheet
이 플랫폼에서 텍스트를 비교할 때는 대소문자를 구분합니다.
플랫폼
- 사용처: Invantive Cloud 및 사용자의 컴퓨터나 서버에 설치된 Invantive 제품.
- 유형: API를 통해 액세스되는 애플리케이션.
- 데이터는 읽을 수 있을 뿐만 아니라 쓸 수도 있습니다.
- Invantive Cloud 요금제: Office for Entrepreneurs, Office for Accountants, Premium Finance, OEM.
용어집
- Account: 한 조직의 Smartsheet 구독으로, 사용자, 그룹, 라이선스를 포함하며 한 리전에서 호스팅됩니다.
- Workspace: 팀의 공유 영역으로, 폴더, 시트, 보고서, 대시보드를 담고 전체가 함께 공유됩니다.
- Folder: 워크스페이스 안의 컨테이너로, 중첩될 수 있으며 시트, 보고서, 대시보드, 다른 폴더를 묶는 데 사용됩니다.
- Sheet: 스프레드시트와 같은 행과 열의 격자로, 팀이 목록, 계획 또는 추적표를 관리하는 데 사용합니다.
- Column: 시트의 필드로, 제목, 유형, 위치를 가집니다. 시트마다 기본 열은 정확히 하나입니다.
- Column Type: 열이 담는 값의 종류로, 텍스트 또는 숫자, 날짜, 연락처, 체크박스, 단일 또는 다중 선택, 기간 또는 선행 작업이 있습니다.
- Row: 시트의 한 행으로, 다른 행 아래에 들여쓰기하여 상위 행과 하위 행의 계층 구조를 만들 수 있습니다.
- Cell: 시트의 한 행에 있는 한 열의 값으로, 직접 입력하거나 수식으로 계산됩니다.
- Formula: 셀, 열 또는 요약 필드의 계산식으로, 같은 시트나 다른 시트의 셀을 참조할 수 있습니다.
- Dependencies: 시트의 설정으로, 선행 작업을 통해 행들을 작업으로 연결하며 한 작업이 이동하면 날짜가 다시 계산됩니다.
- Sheet Summary: 시트 전체에 관한 필드 모음으로, 소유자, 상태, 합계 등을 격자 옆에 보관합니다.
- Report: 기준에 따라 여러 시트의 행을 복사하지 않고 모아 보여주는 뷰입니다.
- Dashboard: 위젯 페이지로, 시트의 수치, 차트, 보고서, 링크를 한눈에 보여줍니다.
- Access Level: 사용자가 시트, 보고서, 대시보드 또는 워크스페이스에 대해 가진 권한으로, 뷰어부터 소유자까지 있습니다.
- Share: 시트 또는 워크스페이스에 대한 접근 권한을 사용자 또는 그룹에 부여하는 것입니다.
- User: 계정의 사용자로, 시스템 관리자이거나 시트를 만들 수 있는 라이선스 사용자일 수 있습니다.
- Group: 계정 사용자들의 이름 있는 집합으로, 시트와 워크스페이스를 모든 구성원과 한 번에 공유하는 데 사용합니다.
- Contact: 사용자의 개인 연락처 목록에 있는 사람으로, 연락처 열과 공유 시 선택할 수 있습니다.
- Automation Rule: 시트의 워크플로로, 조건이 충족되면 알림, 업데이트 요청 또는 승인 요청을 보냅니다.
- Discussion: 시트 또는 시트의 행에 달린 댓글 대화입니다.
- Attachment: 시트, 행 또는 댓글에 첨부된 파일이나 링크로, 업로드되었거나 외부 저장 서비스에 보관됩니다.
- Template: 시작점으로 저장된 시트 또는 보고서로, 여기서 새 시트나 보고서를 만듭니다.
- Webhook: 감시 중인 시트가 변경되면 Smartsheet가 호출하는 주소로, 다른 시스템이 즉시 이를 알 수 있습니다.
수치
| 그림 | 개수 |
|---|---|
| 표 | 30 |
| 칼럼 | 270 |
| INSERT 문이 포함된 테이블 | 7 |
| 업데이트가 포함된 테이블 | 5 |
| 삭제 기능이 포함된 테이블 | 6 |
| 표 정리 완료 | 27 |
데이터 모델 포스터
포스터에 있는 표에서: Zoom, 화살표 키로 이동, 0을 누르면 화면에 딱 맞게 조정됩니다.
텍스트로 본 포스터: 주제별 표와 그 관계
Sheet
Favorites, Templates, Webhooks, Dashboards, Reports, SheetAttachments, SheetAutomationRules, SheetCells, SheetColumns, SheetComments, SheetCrossSheetReferences, SheetDiscussions, SheetRows, SheetShares, SheetSummaryFields, Sheets, GroupMembers, Groups, Users, FolderItems, Folders, Workspaces
접근 (관계 없음)
칼럼 (관계 없음)
문의 (관계 없음)
현재 (관계 없음)
NATIVEPLATFORMSCALARREQUESTS (관계 없음)
서버 (관계 없음)
시스템 (관계 없음)
관계
- Favorites → Templates (말로 설명된): A template when type is template.
- Favorites → Dashboards (말로 설명된): A dashboard when type is sight.
- Favorites → Reports (말로 설명된): A report when type is report.
- Favorites → Sheets (말로 설명된): A sheet when type is sheet.
- Favorites → Folders (말로 설명된): A folder when type is folder.
- Favorites → Workspaces (말로 설명된): A workspace when type is workspace.
- Webhooks → Sheets (말로 설명된): A sheet when scope is sheet, and the user can see it.
- SheetAttachments → SheetRows (말로 설명된): A row only when parent_type is ROW; otherwise the sheet or a comment.
- SheetAttachments → Sheets (키)
- SheetAutomationRules → Sheets (키)
- SheetCells → SheetColumns (키)
- SheetCells → SheetRows (키)
- SheetColumns → Sheets (키)
- SheetComments → SheetDiscussions (키)
- SheetCrossSheetReferences → SheetColumns (말로 설명된, 2 keys): The last column of the range in the source sheet; null for whole rows.
- SheetCrossSheetReferences → SheetRows (말로 설명된, 2 keys): The last row of the range in the source sheet; null for whole columns.
- SheetCrossSheetReferences → Sheets (키)
- SheetCrossSheetReferences → Sheets (말로 설명된): Holds for a source sheet the user can see.
- SheetDiscussions → SheetRows (말로 설명된): A row only when parent_type is ROW; otherwise the sheet itself.
- SheetDiscussions → Sheets (키)
- SheetRows → SheetRows (키, 2 keys)
- SheetRows → Sheets (키)
- SheetShares → Sheets (키)
- SheetShares → Groups (말로 설명된): Holds for a group of the organisation.
- SheetShares → Users (말로 설명된): Holds for a user of the organisation; a sheet may be shared with someone outside it.
- SheetSummaryFields → Sheets (키)
- GroupMembers → Groups (키)
- GroupMembers → Users (말로 설명된): Holds for a member who is a user of the organisation.
- Groups → Users (말로 설명된): Holds for an owner who is a user of the organisation.
- FolderItems → Dashboards (말로 설명된): A dashboard when resource_type is sight.
- FolderItems → Reports (말로 설명된): A report when resource_type is report.
- FolderItems → Sheets (말로 설명된): A sheet when resource_type is sheet.
- FolderItems → Folders (키)
- FolderItems → Folders (말로 설명된): A folder when resource_type is folder.
- FolderItems → Workspaces (키)
- Folders → Folders (키)
- Folders → Workspaces (키)
Query 예시
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. 페이지에 있습니다.
표
Smartsheet.CodeValues
- AccessLevels: 도메인 AccessLevels
- ColumnTypes: 도메인 ColumnTypes
- SystemColumnTypes: 도메인 SystemColumnTypes
Smartsheet.Native
- NATIVEPLATFORMSCALARREQUESTS: 네이티브 플랫폼 스칼라 요청
Smartsheet.Platform
- Favorites: 즐겨찾기
- SearchResultsByQuery: Query별 검색 결과
- ServerInfo: 서버 정보
- 템플릿: 템플릿
- Webhooks: 웹훅
Smartsheet.Reports
- Dashboards: 대시보드
- Reports: 보고서
Smartsheet.Sheets
- SheetAttachments: 시트 첨부 파일
- SheetAutomationRules: 시트 자동화 규칙
- SheetCells: 시트 셀
- SheetColumns: 시트 열
- SheetComments: 시트 댓글
- SheetCrossSheetReferences: 시트 교차 시트 참조
- SheetDiscussions: 시트 토론
- SheetRows: 시트 행
- SheetShares: 시트 공유
- SheetSummaryFields: 시트 요약 필드
- Sheets: 시트
Smartsheet.Users
- 연락처: 연락처
- CurrentUser: 현재 사용자
- GroupMembers: 그룹 구성원
- Groups: 그룹
- 사용자: 사용자
Smartsheet.Workspaces
- FolderItems: 폴더 항목
- 폴더: 폴더
- 작업공간: 작업공간