Modifying the Layout Page

Notes:

  • This topic applies only to an MVC Web Application. Refer to Creating an MVC Web Application for more information.

  • A layout page can be applied to pages that are generated dynamically at run time. Such pages are created when a T27 screen is received from the MCP server and has not previously been added to the T27 ePortal data source project, or when a UTS screen is received from the OS 2200 server and has not previously been added to the UTS ePortal data source project.

  • You specify whether to use a layout page, as well as which layout page to use when you scaffold your views. Refer to Scaffold Unisys View Dialog and Scaffold Unisys View Dialog.

Characteristics of a Layout Page

You can define a layout page that provides an overall container for the pages on your site. For example, the layout page can contain the header, navigation area, and footer. The layout page includes a placeholder where the main content goes.

The filename containing a layout page should start with an underscore (_) character. This ensures that the web site user cannot access the page directly.

When you create an MVC Web application , your project includes some layout files that you can modify for your own needs. The layout files are found in the folder Views\Shared. Refer to Creating an MVC Web Application for more information.

The following layout files are created by default:

For information on the ePortal Single Page Application architecture, refer to Choosing a Traditional or Single Page Application.

For information on the use of UTS function keys, refer to Controlling the Look and Feel in a UTS Data Source Project.

In addition, you can create your own layout pages if you wish. For more information about layout pages: