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
GorkemSenol
2 years agoNew Contributor III
How to call a dashboard extender function from a Spreadsheet type BR?
Hi,
I have a Spreadsheet BR that creates a tableview and I want a certain dashboard extender function to be triggered when they submit the data from the tableview(spreadsheet)
I think this is the...
- 2 years ago
Here's how I do it:
Create a public class in your Dashboard extender with a/some public methods:Note the namespace, class name, and method name(s) you want to use elsewhere
In your spreadsheet rule's Properties, add a reference to your dashboard extender's namespace, quirky, just the part after the last dot:
Now you can code to the class and its methods in your spreadsheet rule. Import the full namespace of the extender rule, and then reference the class by its name. Instantiate it to use its methods:
JackLacava
OneStream Employee
2 years agoIntellisense will never pick up any custom Business Rules, it's one of the very few places where it cannot help.
Just type in the namespace you need, making sure you added it to the Referenced Assemblies field of the rule first (in Properties tab). Note that, if you're in version 7.3+ and using custom Workspaces, there are a few more pitfalls.
Related Content
- 7 months ago
- 4 months ago