CloudStore
A CloudStore connects a Group to external cloud storage for automatic transfer of completed documents. Supported providers are SharePoint and Amazon S3.
Fields
| Field | Type | Description |
|---|---|---|
organisationId | ID! | Organisation ID |
groupId | String! | Group ID |
location | CloudStoreLocation | SHAREPOINT or S3 |
contactEmail | AWSEmail | Contact email for notifications |
connected | Boolean | Whether the connection is active |
cloudstoreId | ID | Unique identifier |
created | AWSDateTime | When the connection was created |
userId | String | User who created the connection |
Naming Options
| Field | Type | Description |
|---|---|---|
namingDateformat | String | Date format for file naming |
namingSlugify | Boolean | Slugify file names |
namingDateFormAdd | Boolean | Add date to file names |
Transfer Options
| Field | Type | Description |
|---|---|---|
removeTemplate | Boolean | Remove template after transfer |
removeDocument | Boolean | Remove document after transfer |
storeDelay | Int | Delay before transfer (seconds) |
Relationships
| Field | Type | Description |
|---|---|---|
connection | CloudStoreConnection | Connection details (root, folder, username, password) |
Query
CloudStore is accessed as a field on Group:
query GetGroupCloudStore {
group(id: "Z3JwbGVnYWxlc2lnbxRldg==") {
cloudStore {
location
connected
contactEmail
connection {
root
folder
}
}
}
}
Related
- Group — the group this cloud store belongs to