Interface JsActionsCreateDocumentBuilder

All Superinterfaces:
JsActionsBuilderBase<JsActionsCreateDocumentBuilder>, JsActionsWithProjectBuilder<JsActionsCreateDocumentBuilder>, JsActionsWithSpaceBuilder<JsActionsCreateDocumentBuilder>

Builds createDocument JS action. Call Object.toString() to get the result.

Set Project before setting Space. If Project is not set, then the current Project is used. If Space is not set, then the default Space is used. Set Space to Preselect in the dialog. Set Type to Preselect in the dialog. Velocity example:

 $renderingContext.createJsActionsBuilder().createDocument().project("library").space("Space2").type("generic")
 
Since:
3.22.2
  • Method Details

    • type

      @NotNull JsActionsCreateDocumentBuilder type(@NotNull String type)
      Parameters:
      type - The type to be preselected in the dialog. If not specified, the project's default type is preselected.