Forum Discussion
- db_pdxValued 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.
- MarkusWippContributor
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
- db_pdxValued Contributor
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)
- RobbSalzmannValued 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.- MarkusWippContributor
Hi Robb,
sad to hear this. I will put this as an idea into ideastream then.
Related Content
- 3 years ago
- 3 years ago