Interface JsActionsCreateDocumentBuilder
- All Superinterfaces:
JsActionsBuilderBase<JsActionsCreateDocumentBuilder>
,JsActionsWithProjectBuilder<JsActionsCreateDocumentBuilder>
,JsActionsWithSpaceBuilder<JsActionsCreateDocumentBuilder>
public interface JsActionsCreateDocumentBuilder
extends 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 Summary
Methods inherited from interface com.polarion.alm.shared.api.utils.js.JsActionsBuilderBase
escapeForAttribute
Methods inherited from interface com.polarion.alm.shared.api.utils.js.JsActionsWithProjectBuilder
project
Methods inherited from interface com.polarion.alm.shared.api.utils.js.JsActionsWithSpaceBuilder
space
-
Method Details
-
type
- Parameters:
type
- The type to be preselected in the dialog. If not specified, the project's default type is preselected.
-