Phanindra
10/09/2023, 11:46 PMJan Soubusta
10/10/2023, 6:25 AMPhanindra
10/13/2023, 2:27 PMCayce Collins
10/30/2023, 5:13 PMJan Soubusta
10/30/2023, 5:15 PMCayce Collins
10/30/2023, 5:21 PMCayce Collins
10/30/2023, 10:21 PMawait catalog
.availableItems()
.forItems([item] as IAttribute[])
.load();
Dan Homola
10/31/2023, 8:49 AM// load the full catalog once
const catalog = await backend.workspace(WORKSPACE).catalog().load()
// use it to load different subsets based on different measures and/or attributes
const availableItemsCatalog = await catalog.availableItems().forItems([attr1, measure1]).load()
there is no way of adding the filters, because they should not influence the availability of the catalog objects, only attributes and facts do. Why do you want to include the filters? 🙂Cayce Collins
11/01/2023, 10:18 PMfilters: []
is passed in the request so I was curious.
I think we are going to attempt a different approach, where we lookup the correct dates to use per attribute/measure/metric, and use a default date as a fallback (which the tenant can choose). Thanks for the assistance!Dan Homola
11/02/2023, 8:40 AM