Aidbox SDC API
Custom SDC operations supported by Aidbox Forms.
Generate a link to a QuestionnaireResponse - $generate-link
This operation generates a link to a web page to be used to continue answering a specified QuestionnaireResponse.
URLs
Parameters
NOTE: All parameters wrapped with Parameters object
allow-amend
Whether the generated link will allow amending and re-submitting the form.
allow-repopulate
Whether the generated link will allow re-populating the form.
NOTE: Repopulate will be working only with forms that contain populate behavior
redirect-on-submit
A URL where the user will be redirected to after successfully submitting the form.
redirect-on-save
A URL where the user will be redirected to after hitting Save button.
By default
Save button is not visible
- form autosaved after every keystroke. But sometimes it's usefull to close form in a partially-filled state
expiration
Link expiration period (days)
By default thir parameter = 7 days
theme
Form theme.
read-only
Show form in a read-only mode
app-name
Application name that will be used in Audit logging when returned link was used.
Audit logging should be enabled via configuartion
Usage Example
Aidbox uses HS256 to sign JWT token by default. To use RS256 you need to set
BOX_AUTH_KEYS_PRIVATE
andBOX_AUTH_KEYS_PUBLIC
environment variables.
Last updated