EmbedLibraryPageConfig

Interface for configuring the embedded Library page

Properties

Required Properties

PropertyTypeDescription
placeholderHTMLElement | nullDOM element where the library page will be embedded
serverUrlstringBase URL for the MicroStrategy Library server

Optional Properties

PropertyTypeDescription
containerHeightstringHeight of the container element (e.g., "600px")
containerWidthstringWidth of the container element (e.g., "100%")
enableCustomAuthenticationbooleanWhether to enable custom authentication
customAuthenticationTypeMicroStrategyDossierConfigCustomAuthenticationType | stringThe type of custom authentication to use
getLoginToken() => Promise<string | void | null>Function that returns a promise resolving to the login token
disableCustomErrorHandlerOnCreatebooleanWhether to disable the custom error handler when creating the page
errorHandler(error: ErrorHandlerInterface) => voidFunction to handle errors
sessionErrorHandler(error: ErrorHandlerInterface) => voidFunction to handle session errors
customUiCustomUiCustom UI configuration
libraryItemSelectMode"single" | "multiple"Mode for selecting library items
currentPageCurrentPageCurrent page configuration