Hi,
I start up my project in CUBA Studio, and click the /app link. It comes up with a blank screen:
There’s absolutely nothing in my Screens tab in CUBA Studio.
Is it possible in any way to customize this “homepage” using the Layout tools?
If not, is there a way to have one of the tabs be opened by default, say, open the “Dashboard” tab in Administration?
in studio there is a link within the screens section called “create / edit main window”. Clicking on that will generate you a main window xml file that you can easily adjust to your needs.
Here you can find the docs about the main window.
In case you want to automatically load a particular screen you can do it via the ready method of the generated Controller class. Here’s an example:
public class ExtAppMainWindow extends AppMainWindow {
@Override
public void ready() {
super.ready();
openWindow("screen-to-open", WindowManager.OpenType.NEW_TAB);
}
}