Skip to content

Instantly share code, notes, and snippets.

@VibhuKuchhal
Created May 29, 2018 00:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save VibhuKuchhal/af93fd7ed31c69bcf5b1700dd013367d to your computer and use it in GitHub Desktop.
Save VibhuKuchhal/af93fd7ed31c69bcf5b1700dd013367d to your computer and use it in GitHub Desktop.
BlogFilteredTemplate.sgt - Sharegate migration template to filter required data
<?xml version="1.0"?>
<ArrayOfPropertyTemplate xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<PropertyTemplate Id="d20ad53c-baa0-4ed0-b332-61d1fc5c05fa" ListId="e50a4ee3-1271-46d7-9bd4-5054707e19fd" Name="BlogFilteredTemplate" CheckInType="CopySource" ModerationStatusType="CopySource" KeepAuthorsAndTimestamps="true" CopyVersionHistory="true" CopyUserAlerts="false" CopyPermissions="true" CorrectLinks="true" FlattenFolders="false" CopyWebParts="true" TemplateType="Copy" ContentFrom="01/01/2016 08:00:00" HasVersionsLimit="false" VersionsLimit="5" ContentFileExtension="pdf; xlsx; xls; doc; pptx; docx; ppt; xlsm; rtf; vsd; pub; docm; xlsb; mpp; one; pps; dotx; dot; pot; xlk; vdx; pptm; xlt; xlam; potx; odt; xla; wk4; dic; dotm; xltm; xltx; onetoc2; vss; thmx; vsdx; xps; msg; eml; jpg; cr2; png; tif; psd; bmp; eps; ai; jpeg; gif; indd; dwg; svg; djvu; ico; wmf; dcx; emf; xpm; pdn; cam;" ContentFileExtensionFilterType="LimitTo">
<ContentTypes>
<ContentTypes ParentContentTypeId="0x0101" Name="Document">
<Columns>
<Columns Action="UseSource" ApplyActionToAllVersions="true" FieldType="Text" Name="Title">
<Value />
</Columns>
<Columns Action="UseSource" ApplyActionToAllVersions="true" FieldType="URL" Name="_ShortcutUrl">
<Value>&lt;Url&gt;&lt;Value&gt;&lt;/Value&gt;&lt;Description&gt;&lt;/Description&gt;&lt;/Url&gt;</Value>
</Columns>
<Columns Action="UseSource" ApplyActionToAllVersions="true" FieldType="Guid" Name="_ShortcutSiteId" />
<Columns Action="UseSource" ApplyActionToAllVersions="true" FieldType="Guid" Name="_ShortcutWebId" />
<Columns Action="UseSource" ApplyActionToAllVersions="true" FieldType="Guid" Name="_ShortcutUniqueId" />
<Columns Action="UseSource" ApplyActionToAllVersions="true" FieldType="User" Name="Author">
<Value />
</Columns>
<Columns Action="UseSource" ApplyActionToAllVersions="true" FieldType="DateTime" Name="Created" />
<Columns Action="UseSource" ApplyActionToAllVersions="true" FieldType="User" Name="Editor">
<Value />
</Columns>
<Columns Action="UseSource" ApplyActionToAllVersions="true" FieldType="DateTime" Name="Modified" />
</Columns>
</ContentTypes>
<ContentTypes ParentContentTypeId="0x0120" Name="Folder">
<Columns>
<Columns Action="UseSource" ApplyActionToAllVersions="true" FieldType="Text" Name="Title">
<Value />
</Columns>
<Columns Action="UseSource" ApplyActionToAllVersions="true" FieldType="URL" Name="_ShortcutUrl">
<Value>&lt;Url&gt;&lt;Value&gt;&lt;/Value&gt;&lt;Description&gt;&lt;/Description&gt;&lt;/Url&gt;</Value>
</Columns>
<Columns Action="UseSource" ApplyActionToAllVersions="true" FieldType="Guid" Name="_ShortcutSiteId" />
<Columns Action="UseSource" ApplyActionToAllVersions="true" FieldType="Guid" Name="_ShortcutWebId" />
<Columns Action="UseSource" ApplyActionToAllVersions="true" FieldType="Guid" Name="_ShortcutUniqueId" />
<Columns Action="UseSource" ApplyActionToAllVersions="true" FieldType="User" Name="Author">
<Value />
</Columns>
<Columns Action="UseSource" ApplyActionToAllVersions="true" FieldType="DateTime" Name="Created" />
<Columns Action="UseSource" ApplyActionToAllVersions="true" FieldType="User" Name="Editor">
<Value />
</Columns>
<Columns Action="UseSource" ApplyActionToAllVersions="true" FieldType="DateTime" Name="Modified" />
</Columns>
</ContentTypes>
</ContentTypes>
<MigrationOptions MigrationMode="Normal" ItemExistsAutomationAction="Overwrite" IsInsaneMode="true" />
</PropertyTemplate>
</ArrayOfPropertyTemplate>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment