Forum Discussion

MarkusWipp's avatar
MarkusWipp
Contributor
8 months ago

Reference a System Extender rule from an application level business rule

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

  • db_pdx's avatar
    db_pdx
    Valued Contributor

    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.

    • MarkusWipp's avatar
      MarkusWipp
      Contributor

      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

  • RobbSalzmann's avatar
    RobbSalzmann
    Valued Contributor II

    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.