5.5.4 - Custom Content Type (Source Classification)

Follow   Add Source Classification

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


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 the 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. You can use any source metadata variable from the drop-down menu.


See the image below for an example:

Add new Source Classification using Power Shell script 



Add new Source Classification using Iron Python script 



Evaluate Script: 

FIGURE_42_-__EVALUATE_SCRIPT.jpg     Edit Source Classification 


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.


You 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".     Delete Source Classification 



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



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