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
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.