Forum Discussion
Will this pre-set the combo box that is in another dashboard with a default value?
Here's what I want to do: I have a button in HomePage DB, and I want to be able to click on that button from HomePage and have Guided Reporting pulled up with Report Group combo box value set to a default value.
I have tried this but was unsuccessful: Attached a rule with XFSelectionChangedTaskResult to the button in HomePage & set navigation action to open up Guided Reporting. Navigation action works fine but I cannot get the Report Group combo box to set to a default.
I cannot put another XFLoadDashboardTaskResult on Guided Reporting DB because there's already one that's from MP solutions.
You can create your own OnLoadDashbord business rule, then run the Guided Reporting one, save the resulting XFLoadDashboardTaskResult object in a variable and then add/change the custom variables to whatever you like.
This is advanced customization, you should know what you do and test it carefully.
Dim gdrMainClass As New OneStream.BusinessRule.DashboardExtender.GDR_SolutionHelper.MainClass
Dim onLoadResult As XFLoadDashboardTaskResult = gdrMainClass.Main(si, globals, api, args)
onLoadResult.ModifiedCustomSubstVars.Add("Test", "True")
Return onLoadResult
And you should create a new dashboard to replace 0_Frame_GDR_Main_OnePlace to not spoil the installation.
Related Content
- 11 months ago
- 11 months ago