### addStartWorkflowActivity Source: https://apidocs.rnd.mendix.com/11/extensions-api/interfaces/Workflows.Flow.html Adds a Start Workflow Activity to the workflow. This activity marks the beginning of the workflow execution. ```APIDOC ## addStartWorkflowActivity ### Description Adds a Start Workflow Activity to the workflow. ### Method addStartWorkflowActivity ### Returns Promise ``` -------------------------------- ### Accessing and Using the Extensibility API Source: https://apidocs.rnd.mendix.com/11/extensions-api/index.html Demonstrates how to obtain a reference to the Studio Pro API object using `getStudioProApi` and interact with its functionalities, such as showing a message box. ```APIDOC ## Accessing the Studio Pro API ### Description Obtain a reference to the Studio Pro API object to interact with its functionalities. ### Method `getStudioProApi(componentContext)` ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example ```javascript import { getStudioProApi } from "@mendix/extensions-api"; const studioPro = getStudioProApi(componentContext); ``` ### Response #### Success Response - **studioPro** (object) - An object representing the Studio Pro API. ### Example Usage ```javascript import { getStudioProApi, IComponent } from "@mendix/extensions-api"; export const component: IComponent = { async loaded(componentContext) { const studioPro = getStudioProApi(componentContext); await studioPro.ui.messageBoxes.show("info", "Hello World from my extension!"); } }; ``` ``` -------------------------------- ### addNonInterruptingNotificationEventSubProcessStartActivity Source: https://apidocs.rnd.mendix.com/11/extensions-api/interfaces/Workflows.Flow.html Adds a Non-Interrupting Notification Event Sub-Process Start Activity to the workflow. This starts a sub-process that does not interrupt the main workflow upon notification. ```APIDOC ## addNonInterruptingNotificationEventSubProcessStartActivity ### Description Adds a Non-Interrupting Notification Event Sub-Process Start Activity to the workflow. ### Method addNonInterruptingNotificationEventSubProcessStartActivity ### Returns Promise ``` -------------------------------- ### open Source: https://apidocs.rnd.mendix.com/11/extensions-api/interfaces/IDockablePaneApi.html Opens a dockable pane using its handle. ```APIDOC ## open ### Description Opens a dockable pane by passing a pane handle received from the register method. ### Method N/A (SDK Method) ### Signature open(handle: DockablePaneHandle): Promise ### Parameters #### Parameters - **handle** (DockablePaneHandle) - Required - A handle to the pane that was registered. ### Returns Promise ``` -------------------------------- ### addInterruptingNotificationEventSubProcessStartActivity Source: https://apidocs.rnd.mendix.com/11/extensions-api/interfaces/Workflows.Flow.html Adds an Interrupting Notification Event Sub-Process Start Activity to the workflow. This starts a sub-process that interrupts the main workflow upon notification. ```APIDOC ## addInterruptingNotificationEventSubProcessStartActivity ### Description Adds an Interrupting Notification Event Sub-Process Start Activity to the workflow. ### Method addInterruptingNotificationEventSubProcessStartActivity ### Returns Promise ``` -------------------------------- ### StartEventCreationOptions Interface Source: https://apidocs.rnd.mendix.com/11/extensions-api/interfaces/Microflows.StartEventCreationOptions.html This documentation describes the StartEventCreationOptions interface, which is used to configure options for creating start events in microflows. It includes an optional property for specifying the relative middle point. ```APIDOC ## Interface StartEventCreationOptions This interface defines optional configurations for creating start events within microflows. ### Properties #### `relativeMiddlePoint` (Location) - Optional Specifies the relative middle point for the start event. The type is `Location`. ``` -------------------------------- ### Get All Documents of a Specific Type Source: https://apidocs.rnd.mendix.com/11/extensions-api/interfaces/ICustomBlobDocumentApi.html Retrieves metadata for all custom blob documents of a specified type. To get the actual content of each document, you must call getDocumentById for each one. ```typescript getDocumentsOfType(type: string): Promise ``` -------------------------------- ### open Source: https://apidocs.rnd.mendix.com/11/extensions-api/interfaces/ITabApi.html Opens a new tab in the Studio Pro working area with the specified tab information and UI specification. ```APIDOC ## open ### Description Opens a new tab in the working area of Studio Pro. ### Method Not applicable (SDK method) ### Endpoint Not applicable (SDK method) ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) - **TabHandle** - A handle to the tab that can be used to close it. #### Response Example None ``` -------------------------------- ### Get Units Info Source: https://apidocs.rnd.mendix.com/11/extensions-api/interfaces/ICustomIconCollectionApi.html Retrieves information about all available units. ```typescript getUnitsInfo(): Promise ``` -------------------------------- ### show (options) Source: https://apidocs.rnd.mendix.com/11/extensions-api/interfaces/IMessageBoxApi.html Shows a message box with the provided options object. Returns a promise that resolves when the message box is closed. ```APIDOC ## show (options) ### Description Shows a message box with the given options. ### Method N/A (SDK Method) ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Parameters * **options** (showOptions) - Required - The options for the message box. ### Returns Promise - A promise that resolves when the message box is closed. ``` -------------------------------- ### Get Parent TabContainer Source: https://apidocs.rnd.mendix.com/11/extensions-api/interfaces/Pages.TabPage.html Retrieves the parent TabContainer of the current TabPage. ```typescript getContainer(): TabContainer ``` -------------------------------- ### StartEvent Interface Source: https://apidocs.rnd.mendix.com/11/extensions-api/interfaces/Microflows.StartEvent.html Provides details about the properties and methods available for the StartEvent interface. ```APIDOC ## Interface StartEvent An element is part of a Mendix model and all elements together form the logic of the model. Elements may contain other elements. An element always has a container element, which is its parent. The root of an element tree is always a unit. interface StartEvent { $CreationOptions?: StartEventCreationOptions; $ID: string; $Type: "Microflows$StartEvent"; $UnitID?: string; relativeMiddlePoint: Location; size: Size; delete(): void; getContainer(): MicroflowObjectCollection; } #### Hierarchy (View Summary, Expand) * MicroflowObjectBase * StartEvent ##### Index ### Properties $CreationOptions? $ID $Type $UnitID? relativeMiddlePoint size ### Methods delete getContainer ## Properties ### `Optional`$CreationOptions $CreationOptions?: StartEventCreationOptions Options to pass during the element creation ### $ID $ID: string The unique id of the element. ### $Type $Type: "Microflows$StartEvent" The type of the element. ### `Optional`$UnitID $UnitID?: string ### relativeMiddlePoint relativeMiddlePoint: Location ### size size: Size ## Methods ### delete * delete(): void #### Returns void ### getContainer * getContainer(): MicroflowObjectCollection #### Returns MicroflowObjectCollection ``` -------------------------------- ### Get Container of ListViewTemplate Source: https://apidocs.rnd.mendix.com/11/extensions-api/interfaces/Pages.ListViewTemplate.html Retrieves the parent ListView container of this ListViewTemplate. ```typescript getContainer(): ListView; ``` -------------------------------- ### register Source: https://apidocs.rnd.mendix.com/11/extensions-api/interfaces/IDockablePaneApi.html Registers a new dockable pane with Studio Pro, returning a handle for interaction. ```APIDOC ## register ### Description Registers a new dockable pane with Studio Pro. ### Method N/A (SDK Method) ### Signature register(paneInfo: DockablePaneInfo, uiSpec: UISpec): Promise ### Parameters #### Parameters - **paneInfo** (DockablePaneInfo) - Required - Information like title and initial position required by Studio Pro to register the pane. - **uiSpec** (UISpec) - Required - UI specification of the UI to show inside the pane. ### Returns Promise - A pane handle which can be used to interact with the pane via IDockablePaneApi.open and IDockablePaneApi.close methods. ``` -------------------------------- ### Get Element Metadata Source: https://apidocs.rnd.mendix.com/11/extensions-api/interfaces/ICustomIconCollectionApi.html Retrieves metadata for all elements managed by the API. ```typescript getElementMetadata(): Promise ``` -------------------------------- ### ListViewTemplate Methods Source: https://apidocs.rnd.mendix.com/11/extensions-api/interfaces/Pages.ListViewTemplate.html This section details the methods available on the ListViewTemplate interface for adding various UI components. Each method takes specific creation options and returns a Promise of the created component. ```APIDOC ## ListViewTemplate Methods This section details the methods available on the ListViewTemplate interface for adding various UI components. Each method takes specific creation options and returns a Promise of the created component. ### addActionButton Adds an action button to the ListViewTemplate. #### Parameters * **options** (ActionButtonCreationOptions) - Required - Options for creating the action button. #### Returns * Promise ### addCheckBox Adds a checkbox to the ListViewTemplate. #### Parameters * **options** (CheckBoxCreationOptions) - Required - Options for creating the checkbox. #### Returns * Promise ### addDataGrid Adds a data grid to the ListViewTemplate. #### Parameters * **options** (DataGridCreationOptions) - Required - Options for creating the data grid. #### Returns * Promise ### addDataView Adds a data view to the ListViewTemplate. #### Parameters * **options** (DataViewCreationOptions) - Required - Options for creating the data view. #### Returns * Promise ### addDatePicker Adds a date picker to the ListViewTemplate. #### Parameters * **options** (DatePickerCreationOptions) - Required - Options for creating the date picker. #### Returns * Promise ### addDivContainer Adds a div container to the ListViewTemplate. #### Parameters * **options** (DivContainerCreationOptions) - Required - Options for creating the div container. #### Returns * Promise ### addDropDown Adds a drop-down list to the ListViewTemplate. #### Parameters * **options** (DropDownCreationOptions) - Required - Options for creating the drop-down list. #### Returns * Promise ### addDropDownButton Adds a drop-down button to the ListViewTemplate. #### Parameters * **options** (DropDownButtonCreationOptions) - Required - Options for creating the drop-down button. #### Returns * Promise ### addDynamicImageViewer Adds a dynamic image viewer to the ListViewTemplate. #### Parameters * **options** (DynamicImageViewerCreationOptions) - Required - Options for creating the dynamic image viewer. #### Returns * Promise ### addDynamicText Adds dynamic text to the ListViewTemplate. #### Parameters * **options** (DynamicTextCreationOptions) - Required - Options for creating the dynamic text. #### Returns * Promise ### addFileManager Adds a file manager to the ListViewTemplate. #### Parameters * **options** (FileManagerCreationOptions) - Required - Options for creating the file manager. #### Returns * Promise ### addGroupBox Adds a group box to the ListViewTemplate. #### Parameters * **options** (GroupBoxCreationOptions) - Required - Options for creating the group box. #### Returns * Promise ### addHeader Adds a header to the ListViewTemplate. #### Parameters * **options** (HeaderCreationOptions) - Required - Options for creating the header. #### Returns * Promise ### addImageUploader Adds an image uploader to the ListViewTemplate. #### Parameters * **options** (ImageUploaderCreationOptions) - Required - Options for creating the image uploader. #### Returns * Promise ### addInputReferenceSetSelector Adds an input reference set selector to the ListViewTemplate. #### Parameters * **options** (InputReferenceSetSelectorCreationOptions) - Required - Options for creating the input reference set selector. #### Returns * Promise ### addLabel Adds a label to the ListViewTemplate. #### Parameters * **options** (LabelCreationOptions) - Required - Options for creating the label. #### Returns * Promise