Skip to main content
April 24, 2024

Reference a System Extender rule from an application level business rule

  • April 24, 2024
  • 2 replies
  • 0 views

Hi OneStreamers, 

is it somehow possible to reference a System Extender rule from an application level business rule (e.g. Dashboard XFBR String)?

We would need this to centralize some functions, that should be available and standardized across multiple OneStream applications.

 

Thanks

Markus

2 replies

April 24, 2024

Hi Markus: I'm not sure if its the 'correct' approach, but we did this with an application extensibility rule. Just cleared out the standard class and created the class we wanted in there. We can then reference this class in any other application BR.  Our use case was a shared Logging class that logs to a file with timestamps, loglevels, formatting, etc; beats constantly blasting the error log with debugging messages.

Cheers,   -db

edit: apparently I no longer know how to read. You want it across applications; not sure this meets your requirements. I'd probably just develop it in one and then export/import to the others.  Unless this code is changing frequently that seems like the simplest solution.

April 25, 2024

HI db, 

yes, what you describe is exactly what we do currently and that works fine within one application.

But currently we always copy this extender business rule from one application to the other to make it available there. From our perspective a System Extender would be the way to go to also make it obvious to everyone, that this rule is not only used by one application and that one should be really conscious when changing it.

We have the use cases: Logging, probably similar like you do and formatting CVs, where we have quite complex logic in place to ensure they're all formatted according to our corporate style guide. Furthermore, the idea would be to extend this to other topics like our SAP BW connection/running of SAP BW process chains and various other things that could be shared between applications.

Thanks

Markus

April 25, 2024

Totally makes sense. My understanding is that System Extenders are for managing Azure/Environment.  I wonder if you could put your logic into a DLL and then reference that from all applications? Not something we've done, but I know its possible: Organizing and Referencing Business Rules (onestream.com)

May 2, 2024

I've tried this as well with no success.  The system rules seem to be out of reach of the application rules.

Maybe an option to using a DLL, which can get a bit dicey on cloud hosted, would be to use an encrypted rule.  Encrypted to ensure uniformity across applications more so than to hide the code.

May 2, 2024

Hi Robb, 

sad to hear this. I will put this as an idea into ideastream then.