Now that we have completed all the steps for creating a new object type, it is time to create the views for viewing our object.
To use the new views, create a new MVC web application project called “ProjectsView”. We will use this project to create all of our views. Once they are created, we will copy them to the Views/Custom directory of the Cartella application.
The following DLLs are needed as references for this project:
CartellaBase.dll
CartellaData.dll
Common.dll
FolioModuleViewMappingConfig.dll
AssetManagementSystem.dll
Cartella.dll
These DLLs can be found in the bin folder of the Cartella web application.
We need to mimic the directory structure of the Cartella aplication. Copy the "Custom" directory from your Cartella Application to the "Views" Folder. In the new "Custom" folder, create a folder called "Shared".
Note |
---|
Remember that any views in the Custom folder will override the default views. This is also where we can store new views. See: View Overriding |
We are now ready to begin creating our views. Here are the steps for creating the new views: