Screen Overview > Adding a Studio for LightSwitch HTML Screen > Screen Templates > Screen Launcher |
Use this template as a home screen to display a set of tiles for opening the other screens in the project. This is provided as a convenience during development, allowing you to easily switch between screens at runtime without adding commands to your real home screen, or constantly switching the home screen and restarting the application.
You do not need to modify this screen template in the designer, as everything is done in the render method for the Screen Content custom control. To exclude individual screens from the list of tiles, modify the following line by appending their names (not the display names with embedded spaces):
Script |
Copy Code
|
---|---|
var excluded = ["Screen"]; |
For example, you can add the names of details screens since they will not be invoked with an argument:
Script |
Copy Code
|
---|---|
var excluded = ["Screen", "ViewInvoice", "AddEditCustomer”, "AddEditProduct"]; |