(Click to open topic with navigation)
If you want to customize Viewpoint past what you can do with the DataView pages in the DataviewConfig.groovy file (see Dataview and Details customization), you can externalize Viewpoint's view directory. For more information, see the Grails documentation. Externalizing the view directory allows you to customize Viewpoint's .gsp files without overwriting them.
To externalize the view files for customization
grails.gsp.view.dir = FileService.getViewsPath()
When you restart Tomcat, Viewpoint will look to the files in the $VIEWPOINT_HOME/custom/grails-app/view/ directory to load the pages.
Any changes you make to the .gsp files should update nearly immediately and be visible in Viewpoint when you refresh the page.
Related topics