Document Stores
storePurpose
property that can be set to either TRAINING
or OPERATIONAL
. This is used to determine which documents are available for use in the store. The actual functionality of the store itself is the same regardless of the purpose.
highQualityPreview
- If set to true
then the store will generate high quality previews of the documents. This will increase the time it takes to generate the previews but will result in better quality previews. The default value is false
. This setting is used in the UI.searchable
- If set to true
then the store will be searchable. This means that the platform will pass content from document to indexing.deleteProtection
- If set to true
then the store will be protected from deletion. This means that you can’t delete the store or delete all its contents. However, you can still delete documents from the store.True
or False
. As we load the document into the document store, we want to determine if this metadata flag is present, and if it is there and not set to True
we want to add a label dont_publish
to the document. In order to do this, we will want to create a label expression at the document store level that has properties:
label: dont_publish
expression:
path
: The target path for the uploaded file (query parameter)file
: The file contentdocument
: (Optional) Document metadata in KDDB format<org-slug>/<store-slug>/<store-version>
For example: demo-org/my-store/1.0.0
X-ACCESS-TOKEN
header with a valid access token: