Hello, are there any API's within the UI SDK tools...
# gooddata-ui
c
Hello, are there any API's within the UI SDK tools which I can use to determine a list of all dates which exist on the same table as an attribute/fact?
i
Hello Cayce, I am afraid it is not possible to list Date Attributes and facts that you are using as Dates by one call. Also, what table are we speaking about, please? Table in your resource? Dataset? Or the whole model of your workspace?
c
Hi @Ivana Gasparekova, this would be for whole modal of the workspace
for additional context, in our UI we are attempting to run some execution to get data values for a specific attribute/measure with a date filter. However, each table in our model may or may not have a specific "as of date", so we first need to check the model to see if there is a date key we can use on the table, and if not we set it to a default fallback "as of date" key from a different table.
i
Is this tied to some data freshness or most recent values for certain attribute/measure? Could you maybe provide me some example, please?
c
I've sent you some examples in a direct message
i
Thanks a lot, I will review them shortly. Really appreciated.