5.6.4 - Custom Content Type (Source Classification)

Follow

5.6.4.1.   Add Source Classification

You can add and map Custom Source Content types (Source Classification) by clicking on "Add a new source classification" source-classification.png icon. Each classification has its own unique set of metadata which can be mapped to appropriate target content type.


FIGURE_39_-__ADD_NEW_SOURCE__CLASSIFICATION.png

For example, file shares save images as document content types. SharePoint has a provision to save all the images with content type as “Image” rather than “Document”. To allow a proper mapping, Migration Accelerator provides “Add a new source classification” functionality in Content Type Mapping Settings screen.

You can assign custom content type to a particular document type (e.g. Images having extension “.jpg” or “.png” in the Name field).

The “Add Source Classification” screen has a “Script Evaluation Area”. This can be used to evaluate the added scripts to verify whether they are correct.

 

Note: The “Add source classification” script should evaluate to “True” for custom content type to work properly. Anything that evaluates to “False” will skip the added source classification settings. User can use any source metadata variable from the drop down list.

 

See the image below for an example:

Add new Source Classification using Power Shell script 

FIGURE_40_-__ADD_NEW_SOURCE_CLASSIFICATION_USING_POWER_SHELL____SCRIPT.jpg

 

Add new Source Classification using Iron Python script 

FIGURE_41_-__ADD_NEW_SOURCE_CLASSIFICATION_USING_IRON_PYTHON___SCRIPT.jpg

 

Evaluate Script: 

FIGURE_42_-__EVALUATE_SCRIPT.jpg

 

5.6.4.2.     Edit Source Classification 

FIGURE_43_-__EDIT_SOURCE_CLASSIFICATION__ICON.png

Also there is a provision to edit the custom source classifications added by user. You can select the added source classification and click on “Edit source classification”  icon to edit the script or change the base content type. This step is not mandatory.

 

Note: Some fields are disabled in edit mode. You may need to select the variable again if you are editing the source classification.

 

User can then use the custom source classification to map to an appropriate target content type (e.g. Image) and map appropriate metadata(s) to target metadata(s). For more information on metadata mapping, visit "Metadata Mapping".

 

5.6.4.3.     Delete Source Classification 

FIGURE_44_-__DELETE_CUSTOM_SOURCE__CLASSIFICATION.png

 

You can also remove a custom content type which is not mapped by clicking on “Delete Source Classification” icon as shown in image above.

 

 

Was this article helpful?
0 out of 0 found this helpful

Comments