Compose SDK - useGetDashboardModel include widgets
Hi,
Why i am not getting widgets info when using useGetDashboardModel({
dashboardOid: <oid>,
includeWidgets: true,
}); ?
This is offficial Compose SDK hook which calls https://analytics.com/api/v1/dashboards/<oid>?expand=widgets&trc=sdk-ui-1.3.0 in the background.
Is there anything we need to include in the Dashboard settings to allow getting this info?
vladimir
Posted 2 years ago · Edited 2 years ago·Last reply 2 years ago
9 comments
DRay
·2 years agoHello vladimir,
I wanted to follow up to see if the solution offered by steve or Liliia_DevX worked for you.
If so, please click the 'Accept as Solution' button so that other users with the same questions can find the answer faster. If not, please let us know so that we can continue to help.
Thank you.
Steve Lewis
·2 years agohi vladimir
If the issue was not already resolved, please could you try the newly released version of Compose SDK: 1.6.0 and see if it helps?
We did identify some cases where widgets would not be returned if the dashboard contained widget types not supported natively by Compose SDK .. this was fixed in 1.6.0
Hope this helps!
Steve
cc Liliia_DevX