Home > LIB_PanelLibrary > openInEditor
LIB_PanelLibrary.openInEditor() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Open in the editor document
Signature
typescript
function openInEditor(
panelLibraryUuid: string,
libraryUuid: string,
splitScreenId?: string,
): Promise<string | undefined>;1
2
3
4
5
2
3
4
5
Parameters
Parameter | Type | Description |
|---|---|---|
panelLibraryUuid | string | Panel library UUID |
libraryUuid | string | Library UUID, you can use LIB_LibrariesList APIs in |
splitScreenId | string | (Optional) Split screen ID. If not filled in, it opens in the split screen with the last input focus by default. It can be obtained using the APIs in DMT_EditorControl |
Returns
Promise<string | undefined>
Tab ID, corresponding to IDMT_EditorTabItem.tabId. You can use DMT_EditorControl.getSplitScreenIdByTabId() to get the split screen ID