Presentation Logic

In accordance with the Meta Declaration, the application must have views for the following purposes:

../../../../_images/user-step-model1.png ../../../../_images/user-step-meta1.png ../../../../_images/user-step-provision1.png ../../../../_images/user-step-presentation-b.png ../../../../_images/user-step-deploy1.png ../../../../_images/user-step-provisioning1.png

Auxiliary Script

When creating or modifying a VPS, an application view initiates the VPS structure from the newvps.json file. The latter must be extended with the new APS type components:

  • A property that shows a user whom a VPS is assigned.

  • A link with a user.

Continue Your Demo Project

This section continues the demo project from the previous step.

In the ui/wizard/newvps.json file, declare the new relationship and property as follows:

"user": {
   "aps": {
      "link": "strong",
      "id":""
   }
},
"userName": ""

Conclusion

This starts the development of the presentation logic. The next sections walk you through creation and updates of the UI source code.

The project files you are creating and updating are similar to the respective files in the sample package.