IWorkspaceCatalogAvailableItemsFactory
Home > @gooddata/sdk-backend-spi > IWorkspaceCatalogAvailableItemsFactory
IWorkspaceCatalogAvailableItemsFactory interface
Service to obtain only valid items for a particular execution or insight.
Signature:
export interface IWorkspaceCatalogAvailableItemsFactory extends IWorkspaceCatalogFactoryMethods<IWorkspaceCatalogAvailableItemsFactory, IWorkspaceCatalogWithAvailableItemsFactoryOptions>
Extends: IWorkspaceCatalogFactoryMethods<IWorkspaceCatalogAvailableItemsFactory, IWorkspaceCatalogWithAvailableItemsFactoryOptions
Remarks
This is useful for interactive insight/execution creation. (catalog will offer you only valid items that you can add to your insight/execution)
Methods
Method | Description |
---|---|
forInsight(insight) | Setup catalog to fetch only items that are valid for the provided insight definition |
forItems(items) | Setup catalog to fetch only items that are valid for the provided execution items |
load() | Fetch available catalog items for the current setup |