Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello.
Environment: Client Managed, Qlik Sense Server August 2023 (Patch 5)
I have setup the business logic (both logical model and vocabulary) on a specific app.
How do I copy both business logic components to another app?
We have many apps with the same data model, and manually configuring the business logic on each of them is not an option.
I need a way to export the business logic from one app, and import it into another app.
Thank you.
This seems to be a good candidate to implement a binary load, so you can have a logic and model in one place. Other applications must do a binary load of the application. Extra logic, if required, could be added.
Check here for the binary load syntax and documentation.
Thanks for the feedback.
Unfortunately, a binary load does not copy across the Business Logic.
I'd suggest looking into a couple different common architectures and picking one to try out. In general, adhering to an architecture isn't going to reduce the amount of code in your app, in fact it probably will add a bit. The point is the code will be structured more consistently, and code readability will improve along with ease of refactoring/maintenance.
I know my line of thinking when first starting to be more disciplined about structuring code was 'this is a stupid waste of time and is just creating extra boiler plate code' which may be the case when you start a simple app. But as the app grows in complexity and you continue to maintain and update it, the structure will pay off and you'll begin to see the benefits.