Configuration And Resource How-Tos
Create Runtime Configuration
Use configuration elements for runtime data that workflows should read without hard-coding.
Recommended sequence:
list-categories(type: "ConfigurationElementCategory", filter: "Integrations")create-configuration(..., confirm: true)list-configurations(categoryId: "...", filter: "...")get-configuration(id: "...")
Avoid dumping sensitive values in docs, issue comments, or generated context. Prefer redaction when summarizing configuration attributes.
Import Resource Files
Resource element imports read local files from the configured resource artifact directory.
Recommended sequence:
- Put the file under
VCFA_RESOURCE_DIRorVCFA_ARTIFACT_DIR/resources. list-categories(type: "ResourceElementCategory", filter: "Assets")import-resource-element(categoryId: "...", fileName: "portal-logo.png", confirm: true)list-resource-elements(filter: "portal-logo")
Update Shared Runtime Data
To rotate a value or replace a shared binary resource:
list-configurations(categoryId: "...", filter: "...")orlist-resource-elements(filter: "...")update-configuration(..., confirm: true)orupdate-resource-element(..., confirm: true)- Re-read the object to verify the change.