Minimum Role Permission
Environments: Manager
The data for the new forms app environment
const data = {
name: 'my first environment',
description: 'Used for development',
organisationId: 'abc123',
slug: 'my-env-slug',
cloneOptions: {
sourceFormsAppEnvironmentId: 1,
isCloningFormElementOptionsSets: true,
isCloningFormElementLookups: true,
isCloningFormSubmissionEvents: true,
isCloningFormPostSubmissionActions: true,
isCloningFormServerValidation: true,
isCloningFormExternalIdGenerationOnSubmit: true,
isCloningFormPersonalisation: true,
},
}
const formsAppEnvironment =
await formsAppEnvironments.createFormsAppEnvironment(data)
// Use formsAppEnvironment here...
Minimum Role Permission
Environments: Read Only
The id of the forms app environment
Minimum Role Permission
Environments: Read Only
Optional
searchParams: BaseSearchOptionsSearch options
Minimum Role Permission
Environments: Manager
Optional
formsAppEnvironment: FormsAppEnvironmentThe data for the forms app environment template to update
Example