Suppressing (hiding) meta-data columns from the file upload window

note

 Configurable only via configuration update process

Specific SharePoint columns that appear in the OnePlace Solutions 'Save to SharePoint Window' (allowing users to enter metadata) can be suppressed so that the column does not appear by using the <columnsToSuppressFromFileUploadWindow> and child <columnToSuppress> tags

The <columnToSuppress> tag must be inserted within opening and closing <columnsToSuppressFromFileUploadWindow> tags.


Property

 Mandatory / Optional

 Description

 action

 Mandatory

Set to "insert" to suppress a column
Set to "delete" to remove a column suppression

 name

 Mandatory

The name of the column to suppress (this is the SharePoint display name not the internal name).

 list

 Optional

A list/document library url e.g. http://portal/lists/announcements.
 
If specified, this will suppress the column only for the designated list. If a column with this name appears in other lists/document
libraries then it will not be suppressed from the File Upload Window.

 contentType

 Optional

The name of a content type in SharePoint e.g. Document

If specified, this will suppress the column only for the designated  content type. If a column with this name appears in other content
types then it will not be suppressed from the File Upload Window.

 

 Example: Suppress a column called HideMe from all document libraries and all content types

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <columnsToSuppressFromFileUploadWindow>
        <columnToSuppress name="HideMe" action="insert"/>
    </columnsToSuppressFromFileUploadWindow>
</configuration>

 Example: Suppress a column called HideMe only in the Announcements list. 

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
     <columnsToSuppressFromFileUploadWindow>
        <columnToSuppress name="HideMe" list="http://portal/announcements" action="insert"/>
    </columnsToSuppressFromFileUploadWindow>
</configuration> 

 

 Example: Suppress a column called HideMe only for the Document content type .

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <columnsToSuppressFromFileUploadWindow>
    <columnToSuppress name="HideMe" contentType="Document" action="insert"/>
    </columnsToSuppressFromFileUploadWindow>
</configuration>