interface DocMixin { mBuild(arg): Promise<IUnbuildApp>; mCloneBookmark(sourceBookmarkId,
title,
description?,
state?): Promise<string>; mCreateBookmarkFromMeta(bookmarkMeta,
title,
description?): Promise<string>; mCreateSessionListbox(fieldName,
options?): Promise<{ layout: IGenericBaseLayoutExt; obj: IGenericObject; props: IGenericObjectPropertiesExt; flattenData(): INxCellListBox[]; }>; mExtensionObjectsAll(): Promise<IExtension[]>; mGetBookmarkMeta(bookmarkId,
state?): Promise<IMBookmarkMeta>; mGetBookmarkValues(bookmarkId,
state?): Promise<IBookmarkValue[]>; mGetBookmarksMeta(state?): Promise<IMBookmarkMeta[]>; mGetFields(): Promise<string[]>; mGetSyntheticTables(): Promise<ITableRecord[]>; mGetTables(): Promise<string[]>; mGetTablesAndFields(): Promise<{ field: string; table: string; }[]>; mSelectInField(): Promise<boolean>; mSelectionsAll(): Promise<ISelectionListObject>; mSelectionsSimple(): Promise<{ field: string; values: string[]; }[]>; mSelectionsSimpleGrouped(): Promise<{ field: string; value: string; }[]>; mUnbuild(sections?): Promise<IUnbuildApp>; mVariableCreate(name,
definition?,
comment?): Promise<IGenericVariableProperties>; mVariableGetAll(showSession?,
showReserved?): Promise<INxVariableListItem[]>; mVariableUpdateById(id,
name?,
definition?,
comment?): Promise<IGenericVariableProperties>; mVariableUpdateByName(name,
newName,
definition?,
comment?): Promise<IGenericVariableProperties>; } Methods
mCloneBookmark
- mCloneBookmark(sourceBookmarkId, title, description?, state?): Promise<string>
Experimental
Parameters
sourceBookmarkId: string
title: string
Optional
description: string
Optional
state: string
Returns Promise<string>
mCreateBookmarkFromMeta
- mCreateBookmarkFromMeta(bookmarkMeta, title, description?): Promise<string>
Experimental
Parameters
title: string
Optional
description: string
Returns Promise<string>
mCreateSessionListbox
- mCreateSessionListbox(fieldName, options?): Promise<{
layout: IGenericBaseLayoutExt;
obj: IGenericObject;
props: IGenericObjectPropertiesExt;
flattenData(): INxCellListBox[];
}> Parameters
fieldName: string
Optional
options: {
destroyOnComplete?: boolean;
getAllData?: boolean;
state?: string;
type?: string;
}
Optional
destroyOnComplete?: boolean
Optional
getAllData?: boolean
Optional
state?: string
Optional
type?: string
mExtensionObjectsAll
- mExtensionObjectsAll(): Promise<IExtension[]>
Experimental
mGetBookmarkMeta
- mGetBookmarkMeta(bookmarkId, state?): Promise<IMBookmarkMeta>
Experimental
Parameters
bookmarkId: string
Optional
state: string
mGetBookmarkValues
- mGetBookmarkValues(bookmarkId, state?): Promise<IBookmarkValue[]>
Experimental
Parameters
bookmarkId: string
Optional
state: string
mGetFields
- mGetFields(): Promise<string[]>
Returns Promise<string[]>
mGetTables
- mGetTables(): Promise<string[]>
Returns Promise<string[]>
mGetTablesAndFields
- mGetTablesAndFields(): Promise<{
field: string;
table: string;
}[]> Returns Promise<{
field: string;
table: string;
}[]>
mSelectInField
- mSelectInField(): Promise<boolean>
Returns Promise<boolean>
mSelectionsSimple
- mSelectionsSimple(): Promise<{
field: string;
values: string[];
}[]> Returns Promise<{
field: string;
values: string[];
}[]>
mSelectionsSimpleGrouped
- mSelectionsSimpleGrouped(): Promise<{
field: string;
value: string;
}[]> Returns Promise<{
field: string;
value: string;
}[]>
mUnbuild
- mUnbuild(sections?): Promise<IUnbuildApp>
Experimental
Parameters
Optional
sections: ("script" | "variables" | "appProperties" | "connections" | "bookmarks" | "measures" | "dimensions" | "objects")[]
mVariableCreate
- mVariableCreate(name, definition?, comment?): Promise<IGenericVariableProperties>
Parameters
name: string
Optional
definition: string
Optional
comment: string
mVariableGetAll
- mVariableGetAll(showSession?, showReserved?): Promise<INxVariableListItem[]>
Parameters
Optional
showSession: boolean
Optional
showReserved: boolean
mVariableUpdateById
- mVariableUpdateById(id, name?, definition?, comment?): Promise<IGenericVariableProperties>
Parameters
id: string
Optional
name: string
Optional
definition: string
Optional
comment: string
mVariableUpdateByName
- mVariableUpdateByName(name, newName, definition?, comment?): Promise<IGenericVariableProperties>
Parameters
name: string
newName: string
Optional
definition: string
Optional
comment: string
Additional options