Adrian Poveda Sanchis wrote:
Hi, I am doing the Tech Lead Guided Path and i have a question about this 4 layer canvas.
I don´t know how to implement the best way the menu. In wich module should I have to implement it?
In my app there are two principal modules (One for the app and other for Backoffice), after that I have a Core Services, and also a Theme Module with all the non-logic resusable UI.
Login and Menu should be implemented in this theme module and make there the role checks to redirect to Home or BackOffice?
Thank you.
The best way in the EndUsers, is to use URL for not having a side reference in the EndUser. You can use like ReplaceURLDomain("https://"+ GetServerName()+"/NewPage/") if you gonna homolog the application.
If it is like a "menu" you can create a WebBlock in the core and reeuse that in the EndUsers.
The article underneath can be helpful as well:
https://success.outsystems.com/Support/Enterprise_Customers/Maintenance_and_Operations/Designing_the_architecture_of_your_OutSystems_applications/01_The_4_Layer_Canvas
Furthermore, I recommend to check en test it on Discovery. Just play with it a little bit and see what happens. Usually it will be more clear that way.