Creating Pages for Folder ExtensionsLast Updated: 07/29/2016 Introduced in Verision: 2.0 |
Folder extension views are portal pages that can present unique views of folder extension data. To create a new folder extension view in the Portal, navigate to a Designer Folder, Folder Behavior Actions > [Your Folder Extension], and select the Create Page/Dashboard button.
Example
In our example, we will create a new view of our folder called “Alternate View.” This view will include a report of the entities contained within the folder, and an Image Viewer component that can be used to define a single image within the folder.
In the resulting New Page pop-up, we will call our page “Alternate View” and click OK to open it in the Page Designer.
From the Toolbox tab, drag four components to the workspace.
- From the Basic > Current Folder category, drag a Folder Actions Bar component.
- From the same category, drag a Folder Header Data component.
- From the Portal category, drag an Image Viewer component.
- From the Reports > [Existing Reports] > System Defaults > Folder Entities > Report: All Folder Entities category, drag a Data View>Current Folder component. This will complete our new page; save it and close the Page Designer.
Back in the portal, navigate to a Car folder and select the Alternate View link under the address bar. Like our default view “Car Details” this page displays a button bar for folder actions and a block containing folder header data. It also includes our report (currently displaying no entities contained within our folder) and a white block that is the Image Viewer.
When we click the Image Viewer, a pop-up asks whether we’d like to change the image associated with this folder. Click the Yes button and select an image.
When we refresh the portal, the Image Viewer updates to display the picture we uploaded. Also notice the picture listed as a file in the Report Viewer.