DocumentService.usePreview property

Gets or sets whether to run the DocumentService within the preview environment.

Namespace: LOOP

Package: Nintex DocGen for Salesforce

Syntax

static Boolean usePreview

Property Value

Type: Boolean

true to run the DocumentService within the preview environment; otherwise, false to run the DocumentService within the live environment.

Remarks

If the DocGen Package preview environment is available, either for all organizations or the current organization, set this property to true to execute the static methods included with the DocumentService class within the DocGen Package preview environment. If the DocGen Package preview environment is not available, or if this property is set to false, the static methods included with the DocumentService class run within the DocGen Package live environment.

For more information about the DocGen Package preview environment, see Next release testing.

Related topics

DocumentService

Loop namespace