The default view defined in SharePoint will be automatically presented when viewing a library.
Another option, is to present a list based on a specific view of the library/list as it is presented in SharePoint.
When a view is created and is named “Content View” in a library/list in SharePoint, this content will be presented in the Open, Insert and Save dialogs.
Navigation Tree: OnePlace Solutions will always look for a view called “Content View Navigation” in a library/list in SharePoint to present the list of folders to select in the navigation tree.
If this view is present it will be used to drive the list of folders in the navigation tree of the OnePlaceMail Insert, Open and Save dialogs and the embedded view. This can be set through the configuration update process.
The table below describes the properties that can be modified on the <contentView > tag.
Property |
Mandatory / Optional |
Description |
action |
Mandatory |
Set to "insert" to change the
default behavior |
type |
Mandatory |
Valid value: |
name |
Mandatory |
The name of the view to be used |
<?xml version="1.0" encoding="UTF-8"?> <configuration> <contentViews> <contentView type="default" action="delete"/> <contentView type="default" name="Our Content View" action="insert"/> </contentViews> </configuration>
<?xml version="1.0" encoding="UTF-8"?> <configuration> <contentViews> <contentView type="default" action="delete"/> <contentView type="default" name="Our Content View" action="insert"/> <contentView type="navigationtreefolders" action="delete"/> <contentView type="navigationtreefolders" name="Folders View" action="insert"/> </contentViews> </configuration>