Vue: useGetDashboardModel throws error
When using the mentioned composable the REST API call that occurs returns a valid status 200 and includes a response body. However, the composable is resolving as "isError = true" with the following message: "Error: Can't extract props for unsupported widget type - wiserFilterWidget"
(I now have a suspicion this may refer to some 3rd party item that was installed on the Sisense side when this dashboard was created.)
Edit: also seeing the error referencing "richtexteditor" as well
wolfphantom
Posted 2 years ago · Edited 2 years ago·Last reply 2 years ago
4 comments
wolfphantom
OP2 years agov1.6.0 improved by throwing a new error message, and now hanging on "isLoading" instead.
Where can I find a list of "supported" widgets?
Liliia Kislitsyna
Admin2 years agowolfphantom hi! Please refer to the list of charts in the Sisense dev documentation:
https://sisense.dev/guides/sdk/modules/sdk-ui/#charts
Hope that helps!
Best Regards, Lily
Steve Lewis
·2 years agoHi wolfphantom
If you're able to provide additional details on the error (more of the stack trace from the browser, or any other info) that could also help us try to identify the cause that would be super helpful too.
Taras Skvarko
·2 years agoHi wolfphantom ,
It's a known behavior of useGetDashboardModel and useGetDashboardModels for now - the error is thrown, when the dashboard contains the 'unsupported' widget type like Pivot, Plugin widget, Blox, etc. In your case, the wiserFilterWidget is the plugin widget.
This behavior should be changed in the next release of Compose SDK so that even "unsupported" widgets will be returned - we should make it to version 1.6.0 soon.
Please test if the behavior is better after you update the Compose SDK version to 1.6.0 or later. Also, you can test it on the dashboard which doesn't contain any "unsupported" widgets.
Let me know if this helps.