The OneStream Community is temporarily frozen until June 29th due to the ongoing maintenance. Please read the blog post here to learn more.
Forum Discussion
ogonzalez
22 days agoNew Contributor II
Modifying SQL Editor component in Dynamic Dashboards not working
Hi there, I'm working on a client using the version 8.5.2 and I'm trying to use the Dynamic Dashboards functionallity to modify a property from a SQL Editor Component. The purpose of this logic is ...
sameburn
OneStream Employee
19 days agoapi.SaveDynamicComponentState(si, dynamicDashboardEx.DynamicDashboard,dynamicComponent.DynamicComponentEx, WsDynamicItemStateType.EntireObject);
ogonzalez
14 days agoNew Contributor II
Hi sameburn ,
That sounded promising but unfortunately nothing changed.
Looks like that method must be executed already after the "GetDynamicComponentsForDynamicDashboard" function, doesn't it?
Any other component modification I have tried has worked fine, it's just the SqlEditor component that is not taking any modifications.
Thank you!
- sameburn7 days ago
OneStream Employee
Hi ogonzalez
I managed to find time to build a quick test on this and can confirm that I get the same result in v9.0.0 for the SQL Table Editor Dashboard Component e.g. I can see the updated property in my XFSqlTableEditorDefinition, when I log e.g.
... But when the Dynamic Dashboard Component renders, it ignores my xml update (if i physically change the property instead of dynamically, it works as expected).
I would recommend reaching out to Support and share your findings. I think this might be a bug with the SQL Table Editor component, rendered dynamically.
As per your original assertion this approach does work with other Dashboard components.
Hope this helps
Sam
Related Content
- 5 months ago
- 2 years ago
- 3 years ago