forked from marklogic-community/Corona
Builtin Environment Variables
isubiker edited this page Nov 1, 2012
·
5 revisions
Corona has a set of built-in environment variables that it supports. To configure these environment variables, see the Managing Environment Variables page.
- fetchTransformer - Set the name of a transformer to be executed on every document fetch. This transformer is run before any developer specified transformer.
- insertTransformer - Set the name of a transformer to be executed on every document insert. This transformer is run after any developer specified transformer.
- deleteTransformer - Set the name of a transformer to be executed before a document is deleted. This transformer is allowed to modify the list of URI's that will be deleted. Only supports XQuery based transformers.
- welcomeUserMessageTransformer - Set the name of the transformer that will be used to generate a welcome email when a user creates an account.
- resetPasswordMessageTransformer - Set the name of the transformer that will be used to generate a password reminder email in the case where a user has forgotten their password.
- devFetchTransformsEnabled - Set to
false
to disable the use of developer specified transforms via the applyTransform parameter when fetching documents. Set totrue
to enable. Default istrue
. - devInsertTransformsEnabled - Set to
false
to disable the use of developer specified transforms via the applyTransform parameter when inserting documents. Set totrue
to enable. Default istrue
. - defaultOutputFormat - When an output format can't be determined via the request, set the format that it should default to. Valid values are
json
andxml
, default isjson
. - DEBUG - To enable extra logging of requests, set DEBUG to
true
, default isfalse
.