This tutorial describes how to configure synchronization of custom SharePoint fields for PDF media type. Other media types can be configured in a similar way.
Prerequisites:
Scenario:
/sitecore/templates/Sharepoint/Media/<Integration Name>/unversioned/PdfIt should inherit the default unversioned PDF template
/sitecore/templates/System/Media/Unversioned/Pdfand the template that was generated while creating SharePoint Integration
/sitecore/templates/Sharepoint/Item Level Integration/Sharepoint Integration Items/<Integration Name>
/sitecore/templates/Sharepoint/Media/<Integration Name>/versioned/PdfIt should inherit the default versioned PDF template
/sitecore/templates/System/Media/Versioned/Pdfand the template that was generated while creating SharePoint Integration
/sitecore/templates/Sharepoint/Item Level Integration/Sharepoint Integration Items/<Integration Name>
App_Config\Include\SharePoint.Media.<Integration Name>.configwith the following contents
<configuration>
<sitecore>
<mediaLibrary>
<mediaTypes>
<mediaType extensions="pdf">
<sharedTemplate>Sharepoint/Media/<Integration Name>/unversioned/Pdf</sharedTemplate>
<versionedTemplate>Sharepoint/Media/<Integration Name>/versioned/Pdf</versionedTemplate>
</mediaType>
</mediaTypes>
</mediaLibrary>
</sitecore>
</configuration>