Scaffold Unisys View Dialog

Note: This topic applies to the MVC Web Application project type only. Refer to Creating an MVC Web Application for more information.

Scaffolding is the technique used to generate the presentation code that the application can use at run time. The generated code represents a useful starting point for your application that you may want to further modify to refine your application.

You can scaffold all client messages in a particular data source using the Scaffold Unisys Controller for ePortal Data Source with Views Dialog; however, you might only want to scaffold a single client message. For example, if you updated the client message in a data source, you could use the procedure described in this topic to regenerate the view for that client message.

Perform the following steps to scaffold one particular client message from a data source:

  1. Click Build and select Build Solution to build the solution.

  2. In Solution Explorer, navigate to the particular folder where you wish to add a view. Typically, this is Views/<controllername> under your MVC Web presentation project, where <controllername> is the name of your controller.

  3. Right-click the folder and select Add, then select New Scaffolded Item.

    The Add Scaffold dialog opens.

  4. On the Add Scaffold dialog, select Unisys Model View and click Add.

    The Scaffold Unisys View Dialog opens.

  5. Complete the dialog as described below.

  6. After completing the dialog fields, click OK to start scaffolding.

    Note: If scaffolding would overwrite any existing files, you are given a chance to confirm before overwriting.

Dialog Fields

The dialog fields are described below: