Prerequisites
To proceed, you need to have an AODocs licence, have access to an AODocs domain, and be familiar with the basics of interacting with AODocs through the AODocs user interface (UI). Most of the tasks we explain here that a client app can do with the API can also be done by a user in the user interface as explained in the AODocs Knowledge Base .AODocs and Google Drive
AODocs is an enterprise document management system that exists as a layer on top of Google Drive to enable the management of Drive files. Google Drive remains the file storage solution , but AODocs enables additional search, security, control, customizability features on top of Drive files and folders. It also provides advanced workflow capabilities . This is done via the concept of an AODocs document, which is a grouping of metadata that acts as a fine-grained wrapper for Drive files. Furthermore, concepts like library, folder, and class play a supporting role to documents within the AODocs ecosystem.AODocs hierarchy and key concepts
AODocs documents exist in the following hierarchy:- domain
- library (three available types: Team Folder/Secured Folder/DMS )
- folder (mandatory or optional depending on type of library)
- document class/documentType (two names, UI and API, for the same concept)
- document (of a specific type and library)
- System properties
- Sections (containers for custom properties)
- Custom properties
- Rich text / description
- Attachments (a reference to a Drive file)
- Related documents
- Versions
- document (of a specific type and library)
- document class/documentType (two names, UI and API, for the same concept)
- folder (mandatory or optional depending on type of library)
- library (three available types: Team Folder/Secured Folder/DMS )
Library types and attachment limits
An AODocs domain contains libraries of three types:- Team Folders (TF): each document must have one and only one attachment
- Secured Folders (SF): same as TF — one and only one attachment
- Document Management libraries (DMS): a document can have any number of attachments: zero, one, or more
documentType in the API). An AODocs document is not the colloquial sense of the word “document”. Instead, it is a versioned collection of predefined, structured metadata divided into logical groupings like System and Custom properties, along with a rich-text description, a list of related documents, as well as attachments (references to managed Drive files).
The number of Drive files you can attach to a document in a specific type of library is a critical concept in AODocs. In TF/SF, each document must have one and only one attachment. In DMS libraries, each document can have any number of attachments: zero, one, or more.
Attachment ownership transfer
When you attach a Drive file to an AODocs document, you create a reference to the file inside the document. The file remains in Drive, but the ownership of the file transfers from you to the AODocs storage account, which in turn shares the file to you with specific permissions. An AODocs storage account is a Google account belonging to your GSuite domain. The company owns the file, but it allows AODocs to manage and organize your Drive files in a predefined way. A Drive file can be attached to one and only one AODocs document (trying to attach it to another document will fail).Note:Each library is associated with a specific storage account, and that storage account can be associated with multiple libraries.