Using PnP PowerShell to export and import Taxonomy

PnP provides export taxonomy cmdlet which allows to export all term groups, term sets, terms and child terms to a file with one line of code

Connect-SPOnline -Url <siteurl> -CurrentCredentials 
Export-SPOTaxonomy -IncludeID -Path "C:\temp\Metadata\terms.txt"

PnP also provides an equivalent import taxonomy cmdlet to import all term groups, term sets, terms and child terms from a file with one line of code

Connect-SPOnline -Url <siteurl> -CurrentCredentials
Import-SPOTaxonomy -Path "C:\temp\Metadata\terms.txt"

However if IncludeId switch parameter is used with the export, the import would fail if the October 2016 PnP PowerShell release is used.

The error message appears

Import-SPOTaxonomy : Exception on line 5: Failed to read from or write to database. 
Refresh and try again. If the problem persists, please contact the administrator

I decided to enable Trace on the PnP to get debug messages using the Set-SPOTraceLog

  Set-SPOTraceLog -On -Level Debug

Debug messages appear to monitor progress of execution but was not helpful.

errorimportingterm

I tried to google the message, found out that the error happened as the code is trying to create a term or term set with an unique identifier (GUID)  which already exists in the taxonomy store.

I inspected the taxonomy file exported and found that terms having child terms were wrongly formatted.In the example below the term group EDRMS is repeated 3 times.

EDRMS;#383eab6e-a944-430d-9a18-f8b872322c2c|EDRMS;#383eab6e-a944-430d-9a18-f8b872322c2c|Directorate;#a99db510-121a-407b-87ec-0b4911e59469|EDRMS;#383eab6e-a944-430d-9a18-f8b872322c2c|Directorate;#a99db510-121a-407b-87ec-0b4911e59469|Finance;#fbab08b3-bc7d-4363-a1c4-1f5d4a466b07|Credit and Collections;#0ec6cefe-c92c-4dfe-81d4-1fe56183f8a2

The Export-SPOTaxonomy was wrongly formatting child terms in the export file.

I raised the issue 532 on PnP PowerShell project.

However I was not sure how quick the issue was going to get fixed so decided to debug PnP powershell command  and found that the issue was with the core PnP project . I fixed it with pull request Taxonomy import export which got merged into pull request Fixed issue with subterms not exported correctly when using ExportAll” .

With the PnP PowerShell November 2016 release, you will be able to use PnP to import and export taxonomy.

 

 

Advertisements

Export Lists Schema to XML using CSOM and PnP

I had to automate deployment of lists and libraries into different environments, e.g. on premises and online.

There are different elements to consider when deploying lists or libraries namely

– List Properties

– List Content Types

– Views

– Fields

I could have written a configuration file in xml manually to specify the details above. Instead I have decided to configure lists and libraries from a SharePoint 2013 On Premises Dev environment and export the list schemaXML property to a XML file. The list’s SchemaXML property is not accessible using SharePoint CSOM assemblies. Instead a remote procedure call using HTTP Get request  has to be executed.

http://Server_Name/[sites/][Site_Name/]_vti_bin/owssvr.dll?Cmd=ExportList&List=GUID

I am interested only in custom lists, I have built a list of out of the box lists/libraries which do not need to be exported, i.e. _catalogs,Lists/ContentTypeSyncLog,/IWConvertedForms,FormServerTemplates,Lists/PublishedFeed,/ProjectPolicyItemList,SiteAssets,SitePages,Style Library,Lists/TaxonomyHiddenList.

I have used the PnP PowerShell commands

  •  To connect to SharePoint

Connect-SPOnline -Url $SiteUrl -CurrentCredentials

  •  To retrieve all lists
$SPOLists = Get-SPOList

Download SharePointPnPPowerShell2016.msi from https://github.com/OfficeDev/PnP-PowerShell/releases to use PnP PowerShell Commands.

After all the lists are retrieved, if the list is not in the exclusions criteria, its schemaXML is downloaded using HTTP get request with URL and to XML file.

$ListSchemaUrl = “$SiteUrl/_vti_bin/owssvr.dll?Cmd=ExportList&List={” + $list.Id.ToString() + “}”;

The script can be downloaded from technet gallery

 Param( 
 [Parameter(Mandatory=$true)] 
 [string]$SiteUrl, 
 [Parameter(Mandatory=$false)] 
 [string]$XMLListsFileName = "SiteLists.xml" 
 ) 
##OOB SharePoint Lists to exclude from Export 
 $ListsNameToExclude  = "_catalogs,Lists/ContentTypeSyncLog,/IWConvertedForms,FormServerTemplates,Lists/PublishedFeed,/ProjectPolicyItemList,SiteAssets,SitePages,Style Library,Lists/TaxonomyHiddenList"   
 $ArrayListtoExcl = $ListsNameToExclude.Split(",");  
Set-Location $PSScriptRoot 
 
function LoadAndConnectToSharePoint($url) 
{ 
  ##Using PnP library 
  Connect-SPOnline -Url $SiteUrl -CurrentCredentials 
  $spContext =  Get-SPOContext 
  return $spContext 
} 
 
$Context = LoadAndConnectToSharePoint $SiteUrl 
 
$SPOLists = Get-SPOList 
$PathToExportXMLSiteLists = $PSScriptRoot 
 
$xmlFilePath = "$PathToExportXMLSiteLists\$XMLListsFileName" 
 
 #Create Export Files 
 New-Item $xmlFilePath -type file -force 
 
 #Export Site Columns to XML file 
 Add-Content $xmlFilePath "<?xml version=`"1.0`" encoding=`"utf-8`"?>" 
 Add-Content $xmlFilePath "`n<Lists>" 
 
foreach($list in $SPOLists) 
{ 
  $exclude = $false; 
  foreach($lsEx in $ArrayListtoExcl) 
  { 
   if($list.DefaultViewUrl -match $lsEx) 
   { 
    $exclude =$true; 
    break; 
   } 
  } 
  if($exclude  -eq $false) 
  { 
    $ListSchemaUrl = "$SiteUrl/_vti_bin/owssvr.dll?Cmd=ExportList&List={" + $list.Id.ToString() + "}"; 
    $listSchemaXML = Invoke-WebRequest -Uri $ListSchemaUrl -UseDefaultCredentials 
    Add-Content $xmlFilePath $listSchemaXML; 
  } 
} 
Add-Content $xmlFilePath "</Lists>" 
 
 

Provide the siteURL (url of the SharePoint site from which you want to export list definitions) parameter value and optionally provide the XMLListsFileName (name of te XML file to store the list schema) parameter value.

The output of running the script is as below.

To create lists/libraries using the XML config file, refer to post Create Lists Libraries from Schema as XML using CSOM

<?xml version="1.0" encoding="utf-8"?> 
 
<Lists  <List Name="{999137BC-274B-4F74-AF93-BA1068806BEE}" Title="Documents" Description="" Direction="0" BaseType="1" FeatureId="{00BFEA71-E717-4E80-AA17-D0C71B360101}" SendToLocation="|" ServerTemplate="101" Url="Shared Documents" DisableAttachments="TRUE" EnableContentTypes="TRUE" NavigateForFormsPages="TRUE" BrowserFileHandling="permissive" Version="7"    <MetaData      <Views        <View Name="{B6022AAF-88E4-4DA2-BECC-416178FC8ABB}" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" Type="HTML" DisplayName="All Documents" Url="Shared Documents/Forms/AllItems.aspx" Level="1" BaseViewID="1" ContentTypeID="0x" ImageUrl="/_layouts/15/images/dlicon.png?rev=23"          <ViewFields            <FieldRef Name="DocIcon"/> 
            <FieldRef Name="LinkFilename"/> 
            <FieldRef Name="Modified"/> 
            <FieldRef Name="MigrationSourceURL"/> 
            <FieldRef Name="Level0"/> 
            <FieldRef Name="Level1"/> 
          </ViewFields> 
          <ViewData/> 
          <Query            <OrderBy              <FieldRef Name="FileLeafRef"/> 
            </OrderBy> 
          </Query> 
          <Aggregations Value="Off"/> 
          <RowLimit Paged="TRUE">30</RowLimit> 
          <Mobile MobileItemLimit="3" MobileSimpleViewField="LinkFilename"/> 
          <XslLink>main.xsl</XslLink> 
          <JSLink>clienttemplates.js</JSLink> 
          <Toolbar Type="Standard"/> 
          <ParameterBindings            <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noitemsinview_doclibrary)"/> 
            <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noitemsinview_doclibrary_howto2)"/> 
          </ParameterBindings> 
        </View> 
        <View Name="{43D7A4A0-85DC-4BAF-A317-1B7114C80E2B}" Type="HTML" Hidden="TRUE" TabularView="FALSE" DisplayName="Merge Documents" Url="Shared Documents/Forms/Combine.aspx" Level="1" BaseViewID="7" ContentTypeID="0x" ToolbarTemplate="MergeToolBar" ImageUrl="/_layouts/15/images/dlicon.png?rev=23"          <XslLink>main.xsl</XslLink> 
          <Query            <OrderBy              <FieldRef Name="FileLeafRef"/> 
            </OrderBy> 
          </Query> 
          <ViewFields            <FieldRef Name="DocIcon"/> 
            <FieldRef Name="LinkFilename"/> 
            <FieldRef Name="Combine"/> 
            <FieldRef Name="Modified"/> 
            <FieldRef Name="Editor"/> 
          </ViewFields> 
          <RowLimit Paged="TRUE">30</RowLimit> 
          <JSLink>clienttemplates.js</JSLink> 
          <Toolbar Type="Standard"/> 
          <ParameterBindings            <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noitemsinview_doclibrary)"/> 
            <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noitemsinview_doclibrary_howto2)"/> 
          </ParameterBindings> 
        </View> 
        <View Name="{9E9F7CB8-CBC6-44DC-92E7-E43231556A9D}" Type="HTML" Hidden="TRUE" TabularView="FALSE" DisplayName="Relink Documents" Url="Shared Documents/Forms/repair.aspx" Level="1" BaseViewID="9" ContentTypeID="0x" ToolbarTemplate="RelinkToolBar" ImageUrl="/_layouts/15/images/dlicon.png?rev=23"          <XslLink>main.xsl</XslLink> 
          <Query            <OrderBy              <FieldRef Name="FileLeafRef"/> 
            </OrderBy> 
            <Where              <Neq                <FieldRef Name="xd_Signature"/> 
                <Value Type="Boolean">1</Value> 
              </Neq> 
            </Where> 
          </Query> 
          <ViewFields            <FieldRef Name="DocIcon"/> 
            <FieldRef Name="LinkFilenameNoMenu"/> 
            <FieldRef Name="RepairDocument"/> 
            <FieldRef Name="Modified"/> 
            <FieldRef Name="Editor"/> 
            <FieldRef Name="ContentType"/> 
            <FieldRef Name="TemplateUrl"/> 
          </ViewFields> 
          <RowLimit Paged="TRUE">30</RowLimit> 
          <Toolbar Type="Standard"/> 
          <ParameterBindings            <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noitemsinview_doclibrary)"/> 
            <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noitemsinview_doclibrary_howto2)"/> 
          </ParameterBindings> 
        </View> 
        <View Name="{086F7F40-F379-43C8-97DD-618EF9E7B0E1}" Type="HTML" Hidden="TRUE" DisplayName="assetLibTemp" Url="Shared Documents/Forms/Thumbnails.aspx" Level="1" BaseViewID="40" ContentTypeID="0x" ImageUrl="/_layouts/15/images/dlicon.png?rev=23"          <Query            <OrderBy              <FieldRef Name="LinkFilename"/> 
            </OrderBy> 
          </Query> 
          <ViewFields            <FieldRef Name="LinkFilename"/> 
          </ViewFields> 
          <RowLimit>20</RowLimit> 
        </View> 
        <View Name="{952ADDDF-B3F3-4FC9-A676-457BF6FAB561}" Type="HTML" Hidden="TRUE" DisplayName="" Url="SitePages/Home.aspx" Level="1" BaseViewID="50" ContentTypeID="0x"          <XslLink Default="TRUE">main.xsl</XslLink> 
          <JSLink>clienttemplates.js</JSLink> 
          <RowLimit Paged="TRUE">15</RowLimit> 
          <Toolbar Type="Standard"/> 
          <ViewFields            <FieldRef Name="DocIcon"/> 
            <FieldRef Name="LinkFilename"/> 
          </ViewFields> 
          <ParameterBindings            <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noitemsinview_doclibrary)"/> 
            <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noitemsinview_doclibrary_howto2)"/> 
          </ParameterBindings> 
          <Query            <OrderBy              <FieldRef Name="Modified" Ascending="FALSE"/> 
            </OrderBy> 
          </Query> 
        </View> 
      </Views> 
      <Fields        <Field ID="{1d22ea11-1e32-424e-89ab-9fedbadb6ce1}" ColName="tp_ID" RowOrdinal="0" ReadOnly="TRUE" Type="Counter" Name="ID" DisplayName="ID" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="ID" FromBaseType="TRUE"/> 
        <Field ID="{03e45e84-1992-4d42-9116-26f756012634}" RowOrdinal="0" Type="ContentTypeId" Sealed="TRUE" ReadOnly="TRUE" Hidden="TRUE" DisplayName="Content Type ID" Name="ContentTypeId" DisplaceOnUpgrade="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="ContentTypeId" ColName="tp_ContentTypeId" FromBaseType="TRUE"/> 
        <Field ID="{c042a256-787d-4a6f-8a8a-cf6ab767f12d}" Type="Computed" DisplayName="Content Type" Name="ContentType" DisplaceOnUpgrade="TRUE" RenderXMLUsingPattern="TRUE" Sortable="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="ContentType" Group="_Hidden" PITarget="MicrosoftWindowsSharePointServices" PIAttribute="ContentTypeID" FromBaseType="TRUE"          <FieldRefs            <FieldRef Name="ContentTypeId"/> 
          </FieldRefs> 
          <DisplayPattern            <MapToContentType              <Column Name="ContentTypeId"/> 
            </MapToContentType> 
          </DisplayPattern> 
        </Field> 
        <Field ID="{8c06beca-0777-48f7-91c7-6da68bc07b69}" ColName="tp_Created" RowOrdinal="0" ReadOnly="TRUE" Type="DateTime" Name="Created" DisplayName="Created" StorageTZ="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Created" FromBaseType="TRUE"/> 
        <Field ID="{1df5e554-ec7e-46a6-901d-d85a3881cb18}" ColName="tp_Author" RowOrdinal="0" ReadOnly="TRUE" Type="User" List="UserInfo" Name="Author" DisplayName="Created By" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Author" FromBaseType="TRUE"/> 
        <Field ID="{28cf69c5-fa48-462a-b5cd-27b6f9d2bd5f}" ColName="tp_Modified" RowOrdinal="0" ReadOnly="TRUE" Type="DateTime" Name="Modified" DisplayName="Modified" StorageTZ="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Modified" FromBaseType="TRUE"/> 
        <Field ID="{d31655d1-1d5b-4511-95a1-7a09e9b75bf2}" ColName="tp_Editor" RowOrdinal="0" ReadOnly="TRUE" Type="User" List="UserInfo" Name="Editor" DisplayName="Modified By" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Editor" FromBaseType="TRUE"/> 
        <Field ID="{26d0756c-986a-48a7-af35-bf18ab85ff4a}" ColName="tp_HasCopyDestinations" RowOrdinal="0" Sealed="TRUE" Hidden="TRUE" ReadOnly="TRUE" Type="Boolean" Name="_HasCopyDestinations" DisplaceOnUpgrade="TRUE" DisplayName="Has Copy Destinations" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_HasCopyDestinations" FromBaseType="TRUE"/> 
        <Field ID="{6b4e226d-3d88-4a36-808d-a129bf52bccf}" ColName="tp_CopySource" RowOrdinal="0" Sealed="TRUE" Hidden="FALSE" ReadOnly="TRUE" Type="Text" Name="_CopySource" DisplaceOnUpgrade="TRUE" DisplayName="Copy Source" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_CopySource" FromBaseType="TRUE"/> 
        <Field ID="{fdc3b2ed-5bf2-4835-a4bc-b885f3396a61}" ColName="tp_ModerationStatus" RowOrdinal="0" ReadOnly="TRUE" Type="ModStat" Name="_ModerationStatus" DisplayName="Approval Status" Hidden="TRUE" CanToggleHidden="TRUE" Required="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_ModerationStatus" FromBaseType="TRUE"          <CHOICES            <CHOICE>0;#Approved</CHOICE> 
            <CHOICE>1;#Rejected</CHOICE> 
            <CHOICE>2;#Pending</CHOICE> 
            <CHOICE>3;#Draft</CHOICE> 
            <CHOICE>4;#Scheduled</CHOICE> 
          </CHOICES> 
          <Default>0</Default> 
        </Field> 
        <Field ID="{34ad21eb-75bd-4544-8c73-0e08330291fe}" ReadOnly="TRUE" Type="Note" Name="_ModerationComments" DisplayName="Approver Comments" Hidden="TRUE" CanToggleHidden="TRUE" Filterable="FALSE" Sortable="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_ModerationComments" FromBaseType="TRUE" ColName="ntext1" RowOrdinal="0"/> 
        <Field ID="{94f89715-e097-4e8b-ba79-ea02aa8b7adb}" Name="FileRef" ReadOnly="TRUE" Hidden="TRUE" Type="Lookup" DisplayName="URL Path" List="Docs" FieldRef="ID" ShowField="FullUrl" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="FileRef" FromBaseType="TRUE"/> 
        <Field ID="{56605df6-8fa1-47e4-a04c-5b384d59609f}" Name="FileDirRef" ReadOnly="TRUE" Hidden="TRUE" Type="Lookup" DisplayName="Path" List="Docs" FieldRef="ID" ShowField="DirName" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="FileDirRef" FromBaseType="TRUE"/> 
        <Field ID="{173f76c8-aebd-446a-9bc9-769a2bd2c18f}" Name="Last_x0020_Modified" ReadOnly="TRUE" Hidden="TRUE" DisplayName="Modified" Type="Lookup" List="Docs" FieldRef="ID" ShowField="TimeLastModified" Format="TRUE" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Last_x0020_Modified" FromBaseType="TRUE"/> 
        <Field ID="{998b5cff-4a35-47a7-92f3-3914aa6aa4a2}" Name="Created_x0020_Date" ReadOnly="TRUE" Hidden="TRUE" DisplayName="Created" Type="Lookup" List="Docs" FieldRef="ID" ShowField="TimeCreated" Format="TRUE" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Created_x0020_Date" FromBaseType="TRUE"/> 
        <Field ID="{8fca95c0-9b7d-456f-8dae-b41ee2728b85}" Name="File_x0020_Size" Hidden="TRUE" ReadOnly="TRUE" Type="Lookup" DisplayName="File Size" List="Docs" FieldRef="ID" ShowField="SizeInKB" Format="TRUE" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="File_x0020_Size" FromBaseType="TRUE"/> 
        <Field ID="{30bb605f-5bae-48fe-b4e3-1f81d9772af9}" Name="FSObjType" ReadOnly="TRUE" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="Item Type" List="Docs" FieldRef="ID" ShowField="FSType" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="FSObjType" FromBaseType="TRUE"/> 
        <Field ID="{423874f8-c300-4bfb-b7a1-42e2159e3b19}" Name="SortBehavior" ReadOnly="TRUE" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="Sort Type" List="Docs" FieldRef="ID" ShowField="SortBehavior" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="SortBehavior" FromBaseType="TRUE"/> 
        <Field ID="{ba3c27ee-4791-4867-8821-ff99000bac98}" Name="PermMask" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" Hidden="TRUE" RenderXMLUsingPattern="TRUE" ShowInFileDlg="FALSE" Type="Computed" DisplayName="Effective Permissions Mask" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="PermMask" FromBaseType="TRUE"          <FieldRefs            <FieldRef Name="ID"/> 
          </FieldRefs> 
          <DisplayPattern            <CurrentRights/> 
          </DisplayPattern> 
        </Field> 
        <Field ID="{a7b731a3-1df1-4d74-a5c6-e2efba617ae2}" Name="CheckedOutUserId" ReadOnly="TRUE" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="ID of the User who has the item Checked Out" List="Docs" FieldRef="ID" ShowField="CheckoutUserId" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="CheckedOutUserId" FromBaseType="TRUE"/> 
        <Field ID="{cfaabd0f-bdbd-4bc2-b375-1e779e2cad08}" Name="IsCheckedoutToLocal" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="Is Checked out to local" List="Docs" FieldRef="ID" ShowField="IsCheckoutToLocal" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="IsCheckedoutToLocal" FromBaseType="TRUE"/> 
        <Field ID="{3881510a-4e4a-4ee8-b102-8ee8e2d0dd4b}" ColName="tp_CheckoutUserId" RowOrdinal="0" ReadOnly="TRUE" Type="User" List="UserInfo" Name="CheckoutUser" DisplaceOnUpgrade="TRUE" DisplayName="Checked Out To" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="CheckoutUser" FromBaseType="TRUE"/> 
        <Field ID="{8553196d-ec8d-4564-9861-3dbe931050c8}" ShowInFileDlg="FALSE" ShowInVersionHistory="FALSE" Type="File" Name="FileLeafRef" DisplayName="Name" AuthoringInfo="(for use in forms)" List="Docs" FieldRef="ID" ShowField="LeafName" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" Required="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="FileLeafRef" FromBaseType="TRUE"/> 
        <Field ID="{4b7403de-8d94-43e8-9f0f-137a3e298126}" Name="UniqueId" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="Unique Id" List="Docs" FieldRef="ID" ShowField="UniqueId" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="UniqueId" FromBaseType="TRUE"/> 
        <Field ID="{6d2c4fde-3605-428e-a236-ce5f3dc2b4d4}" Name="SyncClientId" DisplaceOnUpgrade="TRUE" Hidden="TRUE" ReadOnly="TRUE" DisplayName="Client Id" ShowInFileDlg="FALSE" Type="Lookup" List="Docs" FieldRef="ID" ShowField="SyncClientId" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="SyncClientId" FromBaseType="TRUE"/> 
        <Field ID="{c5c4b81c-f1d9-4b43-a6a2-090df32ebb68}" Name="ProgId" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="ProgId" List="Docs" FieldRef="ID" ShowField="ProgId" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="ProgId" FromBaseType="TRUE"/> 
        <Field ID="{dddd2420-b270-4735-93b5-92b713d0944d}" Name="ScopeId" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="ScopeId" List="Docs" FieldRef="ID" ShowField="ScopeId" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="ScopeId" FromBaseType="TRUE"/> 
        <Field ID="{4a389cb9-54dd-4287-a71a-90ff362028bc}" Name="VirusStatus" Hidden="TRUE" ReadOnly="TRUE" Type="Lookup" DisplayName="Virus Status" List="Docs" FieldRef="ID" ShowField="Size" Format="TRUE" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="VirusStatus" FromBaseType="TRUE"/> 
        <Field ID="{9d4adc35-7cc8-498c-8424-ee5fd541e43a}" Name="CheckedOutTitle" Hidden="TRUE" ReadOnly="TRUE" Type="Lookup" DisplayName="Checked Out To" List="Docs" FieldRef="ID" ShowField="CheckedOutTitle" Format="TRUE" JoinColName="DoclibRowId" JoinType="INNER" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="CheckedOutTitle" FromBaseType="TRUE"/> 
        <Field ID="{58014f77-5463-437b-ab67-eec79532da67}" Name="_CheckinComment" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" Type="Lookup" DisplayName="Check In Comment" List="Docs" FieldRef="ID" ShowField="CheckinComment" Filterable="FALSE" Format="TRUE" JoinColName="DoclibRowId" JoinType="INNER" Sortable="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_CheckinComment" FromBaseType="TRUE"/> 
        <Field ID="{e2a15dfd-6ab8-4aec-91ab-02f6b64045b0}" ReadOnly="TRUE" Hidden="TRUE" Type="Computed" Name="LinkCheckedOutTitle" DisplayName="Checked Out To" Filterable="TRUE" AuthoringInfo="(link to username to user details page)" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="LinkCheckedOutTitle" FromBaseType="TRUE"          <FieldRefs            <FieldRef Name="CheckedOutTitle"/> 
            <FieldRef Name="CheckedOutUserId"/> 
          </FieldRefs> 
          <DisplayPattern            <IfEqual              <Expr1                <Field Name="CheckedOutUserId"/> 
              </Expr1> 
              <Expr2/> 
              <Then/> 
              <Else                <HTML><![CDATA[<a href="]]></HTML> 
                <HttpVDir CurrentWeb="TRUE"/> 
                <HTML><![CDATA[/_layouts/15/userdisp.aspx?id=]]></HTML> 
                <Field Name="CheckedOutUserId"/> 
                <HTML><![CDATA[">]]></HTML> 
                <Field HTMLEncode="TRUE" Name="CheckedOutTitle"/> 
                <HTML><![CDATA[</a>]]></HTML> 
              </Else> 
            </IfEqual> 
          </DisplayPattern> 
        </Field> 
        <Field ID="{822c78e3-1ea9-4943-b449-57863ad33ca9}" ReadOnly="TRUE" Hidden="TRUE" Type="Text" Name="Modified_x0020_By" DisplayName="Document Modified By" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Modified_x0020_By" FromBaseType="TRUE" ColName="nvarchar10" RowOrdinal="0"/> 
        <Field ID="{4dd7e525-8d6b-4cb4-9d3e-44ee25f973eb}" ReadOnly="TRUE" Hidden="TRUE" Type="Text" Name="Created_x0020_By" DisplayName="Document Created By" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Created_x0020_By" FromBaseType="TRUE" ColName="nvarchar11" RowOrdinal="0"/> 
        <Field ID="{39360f11-34cf-4356-9945-25c44e68dade}" ReadOnly="TRUE" Hidden="TRUE" Type="Text" Name="File_x0020_Type" DisplayName="File Type" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="File_x0020_Type" FromBaseType="TRUE" ColName="nvarchar12" RowOrdinal="0"/> 
        <Field ID="{0c5e0085-eb30-494b-9cdd-ece1d3c649a2}" ReadOnly="TRUE" Hidden="TRUE" Type="Text" Name="HTML_x0020_File_x0020_Type" DisplayName="HTML File Type" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="HTML_x0020_File_x0020_Type" FromBaseType="TRUE" ColName="nvarchar13" RowOrdinal="0"/> 
        <Field ID="{c63a459d-54ba-4ab7-933a-dcf1c6fadec2}" Name="_SourceUrl" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Text" DisplayName="Source URL" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_SourceUrl" FromBaseType="TRUE" ColName="nvarchar14" RowOrdinal="0"/> 
        <Field ID="{034998e9-bf1c-4288-bbbd-00eacfc64410}" Name="_SharedFileIndex" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Text" DisplayName="Shared File Index" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_SharedFileIndex" FromBaseType="TRUE" ColName="nvarchar15" RowOrdinal="0"/> 
        <Field ID="{3c6303be-e21f-4366-80d7-d6d0a3b22c7a}" Hidden="TRUE" ReadOnly="TRUE" Type="Computed" Name="_EditMenuTableStart" DisplaceOnUpgrade="TRUE" DisplayName="Edit Menu Table Start" ClassInfo="Menu" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_EditMenuTableStart" FromBaseType="TRUE"> 
          <FieldRefs> 
            <FieldRef Name="FileLeafRef"/> 
            <FieldRef Name="FileDirRef"/> 
            <FieldRef Name="FSObjType"/> 
            <FieldRef Name="ID"/> 
            <FieldRef Name="ServerUrl"/> 
            <FieldRef Name="HTML_x0020_File_x0020_Type"/> 
            <FieldRef Name="File_x0020_Type"/> 
            <FieldRef Name="PermMask"/> 
            <FieldRef Name="IsCheckedoutToLocal"/> 
            <FieldRef Name="CheckoutUser"/> 
            <FieldRef Name="_SourceUrl"/> 
            <FieldRef Name="_HasCopyDestinations"/> 
            <FieldRef Name="_CopySource"/> 
            <FieldRef Name="ContentType"/> 
            <FieldRef Name="ContentTypeId"/> 
            <FieldRef Name="_ModerationStatus"/> 
            <FieldRef Name="_UIVersion"/> 
          </FieldRefs> 
          <DisplayPattern> 
            <HTML><![CDATA[
                            ” id=”                            ” Url=”                            ” DRef=”                            ” Perm=”                            ” type=”                            ” Ext=”                            ” Icon=”                                              |                                            ” OType=”                            ” COUId=”                            ” SRed=”                                              |                                            ” DefaultIO=”                            ” COut=”                            ” HCD=”                            ” CSrc=”                            ” MS=”                                                                                    ” UIS=”                                          ” SUrl=”                            ]]>                                                                                                              ” id=”                                                                                                              ]]></HTML>              <HTML><![CDATA[

]]>
]]> 
            ]]> 
             ]]> 
            ]]></HTML> 
          </DisplayPattern> 
        </Field> 
        <Field ID="{9d30f126-ba48-446b-b8f9-83745f322ebe}" ReadOnly="TRUE" Type="Computed" Name="LinkFilenameNoMenu" DisplayName="Name" DisplayNameSrcField="FileLeafRef" Filterable="FALSE" AuthoringInfo="(linked to document)" ListItemMenuAllowed="Prohibited" LinkToItemAllowed="Prohibited" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="LinkFilenameNoMenu" FromBaseType="TRUE"> 
          <FieldRefs> 
            <FieldRef Name="FileLeafRef"/> 
            <FieldRef Name="FSObjType"/> 
            <FieldRef Name="Created_x0020_Date"/> 
            <FieldRef Name="FileRef"/> 
            <FieldRef Name="File_x0020_Type"/> 
            <FieldRef Name="HTML_x0020_File_x0020_Type"/> 
            <FieldRef Name="ContentTypeId"/> 
            <FieldRef Name="PermMask"/> 
            <FieldRef Name="CheckoutUser"/> 
            <FieldRef Name="IsCheckedoutToLocal"/> 
            <FieldRef Name="ServerUrl"/> 
          </FieldRefs> 
          <DisplayPattern> 
            <IfEqual> 
              <Expr1> 
                <LookupColumn Name="FSObjType"/> 
              </Expr1> 
              <Expr2>1</Expr2> 
              <Then> 
                <FieldSwitch> 
                  <Expr> 
                    <GetVar Name="RecursiveView"/> 
                  </Expr> 
                  <Case Value="1"> 
                    <LookupColumn Name="FileLeafRef" HTMLEncode="TRUE"/> 
                  </Case> 
                  <Default> 
                    <SetVar Name="UnencodedFilterLink"> 
                      <SetVar Name="RootFolder"> 
                        <HTML>/</HTML> 
                        <LookupColumn Name="FileRef"/> 
                      </SetVar> 
                      <SetVar Name="SkipHost">1</SetVar> 
                      <SetVar Name="FolderCTID"> 
                        <FieldSwitch> 
                          <Expr> 
                            <ListProperty Select="EnableContentTypes"/> 
                          </Expr> 
                          <Case Value="1"> 
                            <Column Name="ContentTypeId"/> 
                          </Case> 
                        </FieldSwitch> 
                      </SetVar> 
                      <FilterLink Default="" Paged="FALSE"/> 
                    </SetVar> 
                    <HTML><![CDATA[<a onfocus="OnLink(this)" href="]]></HTML> 
                    <GetVar Name="UnencodedFilterLink" HTMLEncode="TRUE"/> 
                    <HTML><![CDATA[" onmousedown="javascript:VerifyFolderHref(this,event, ']]></HTML> 
                     
                       
                     
                     
                     
                       
                         
                       
                     
                     
                     
                       
                     
                     
                     
                       
                         
                        | 
                         
                       
                     
                     
                     
                       
                     
                     
                     
                       
                         
                        | 
                         
                       
                     
                     
                     
                     
                       
                     
                     
                     
                       
                     
                     
                     
                       
                         
                       
                     
                     
                     
                       
                         
                       
                     
                     
                     
                       
                         
                       
                     
                     
                     
                       
                     
                     
                     
                       
                         
                        | 
                         
                       
                     
                     
                     
                       
                     
                     
                     
                       
                         
                        | 
                         
                       
                     
                     
                     
                       
                     
                     
                     
                       
                     
                     
                     
                       
                     
                     
                     
                       
                     
                     
                     
                       
                     
                    ]]> 
                     
                     
                       
                         
                       
                      1 
                       
                        ]]> 
                       
                     
                    ]]> 
                   
                 
               
               
                 
                 
                 
                 
                   
                 
                 
                 
                   
                     
                   
                 
                 
                 
                   
                     
                   
                 
                 
                 
                   
                     
                   
                 
                 
                 
                   
                 
                 
                 
                   
                     
                    | 
                     
                   
                 
                 
                 
                   
                 
                 
                 
                   
                     
                    | 
                     
                   
                 
                 
                 
                   
                 
                 
                 
                   
                 
                 
                 
                   
                 
                 
                 
                   
                 
                 
                 
                   
                 
                ]]> 
                 
                   
                 
                 
                   
                     
                   
                  1 
                   
                    ]]> 
                   
                 
                ]]> 
                 
                   
                  New 
                  ]]> 
                 
               
             
           
         
         
           
             
             
             
             
           
           
             
               
                 
               
               
                 
               
               
                 
                 
                ]]> 
                 
                ]]> 
                ]]> 
                 ]]> 
                ]]> 
                 ]]> 
                ]]> 
               
             
           
         
         
           
             
             
             
             
           
           
             
               
                 
               
               
                 
               
               
                 
                 
                 
                 
                 
               
             
           
         
         
           
             
             
             
             
             
             
             
             
             
             
           
           
             
               
                 
                   
                     
                   
                  1 
                   
                     
                      0x0120D5 
                       
                         
                       
                       
                        Document Collection:  
                         
                       
                       
                        Folder:  
                         
                       
                     
                   
                   
                     
                   
                 
               
               
                 
                   
                     
                   
                   
                   
                     
                       
                         
                       
                      1 
                       
                         
                           
                             
                            | 
                             
                           
                           
                            | 
                           
                           
                            folder.gif 
                           
                           
                             
                               
                                 
                                | 
                                 
                               
                             
                             
                               
                                 
                               
                               
                                 
                               
                               
                                folder.gif 
                               
                               
                                 
                               
                             
                           
                         
                       
                       
                         
                           
                          | 
                           
                         
                       
                     
                   
                   
                     
                       
                     
                   
                 
               
               
               
               
               
               
               
              ]]> 
             
             
               
                 
                   
                 
                 
                 
                   
                     
                       
                     
                     
                     
                       
                         
                         
                         
                       
                       
                       
                       
                       
                      ]]> 
                     
                   
                 
                 
                   
                   
                     
                   
                  ]]> 
                 
               
             
             
               
                 
               
              1 
               
                 
                   
                     
                   
                   
                     
                     
                   
                   
                     
                       
                        / 
                         
                       
                      1 
                       
                         
                           
                             
                           
                           
                             
                           
                         
                       
                       
                     
                     
                       
                         
                       
                       
                         
                         
                       
                       
                         
                         
                         
                         
                           
                         
                         
                         
                           
                             
                           
                         
                         
                         
                           
                         
                         
                         
                           
                             
                            | 
                             
                           
                         
                         
                         
                           
                         
                         
                         
                           
                             
                            | 
                             
                           
                         
                         
                         
                         
                           
                         
                         
                         
                           
                         
                         
                         
                           
                             
                           
                         
                         
                         
                           
                             
                           
                         
                         
                         
                           
                             
                           
                         
                         
                         
                           
                         
                         
                         
                           
                             
                            | 
                             
                           
                         
                         
                         
                           
                         
                         
                         
                           
                             
                            | 
                             
                           
                         
                         
                         
                           
                         
                         
                         
                           
                         
                         
                         
                           
                         
                         
                         
                           
                         
                         
                         
                           
                         
                        ]]> 
                         
                         
                        ]]> 
                       
                     
                   
                 
               
               
                 
                 
                 
                 
                   
                 
                 
                 
                   
                     
                   
                 
                 
                 
                   
                     
                   
                 
                 
                 
                   
                     
                   
                 
                 
                 
                   
                 
                 
                 
                   
                     
                    | 
                     
                   
                 
                 
                 
                   
                 
                 
                 
                   
                     
                    | 
                     
                   
                 
                 
                 
                   
                 
                 
                 
                   
                 
                 
                 
                   
                 
                 
                 
                   
                 
                 
                 
                   
                 
                ]]> 
                 
                 
                ]]> 
               
             
           
         
         
           
             
           
           
            / 
             
           
         
         
           
             
           
           
             
            / 
             
           
         
         
           
             
             
           
           
             
               
                 
               
              1 
               
                 
               
               
                 
                   
                 
               
             
           
         
         
           
             
             
           
           
             
               
                 
               
               
                 
                 KB 
               
             
           
         
         
         
         
         
         
         
         
         
           
             
           
           
             
               
                 
               
               
                 
               
               
                 
                Selected 
                ]]> 
               
               
                 
                 
                 
                 
                   
                 
                 
                 
                 
                 
                   
                 
                ]]> 
                 
                Normal 
                ]]> 
                ]]> 
               
             
           
         
         
           
             
           
           
             
               
                 
               
               
                 
               
               
                 
                Selected 
                ]]> 
               
               
                 
                 
                 
                 
                   
                 
                 
                 
                 
                 
                   
                 
                ]]> 
                 
                Normal 
                ]]> 
                ]]> 
               
             
           
         
         
           
             
             
             
           
           
             
               
                 
               
               
                 
                 
                 
                 
                   
                     
                   
                  1 
                   
                     
                       
                         
                       
                       
                       
                         
                           
                             
                           
                          1 
                           
                             
                           
                           
                             
                           
                         
                       
                       
                         
                       
                     
                   
                   
                     
                   
                 
                 
                 
                   
                 
                 
                 
                   
                 
                 
                 
                   
                 
                 
                 
                   
                 
                 
                 
                   
                 
                ]]> 
                 
                Edit Document Properties 
                ]]> 
                ]]> 
               
               
                 
               
             
           
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
           
             
             
             
           
           
             
               
                 
               
              0 
               
                 
                 
                ]]> 
                 
                 
                ]]> 
                 
                 
                  | 
                   
                     
                   
                 
                ]]> 
               
             
           
         
         
           
             
             
           
           
             
               
                 
               
              0 
               
                 
                 
                ]]> 
               
             
           
         
         
         
         
       
       
         
           
           
             
             
             
             
             
             
             
             
             
             
             
           
           
            PEZvcm1UZW1wbGF0ZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vc2hhcmVwb2ludC92My9jb250ZW50dHlwZS9mb3JtcyI+PERpc3BsYXk+RG9jdW1lbnRMaWJyYXJ5Rm9ybTwvRGlzcGxheT48RWRpdD5Eb2N1bWVudExpYnJhcnlGb3JtPC9FZGl0PjxOZXc+RG9jdW1lbnRMaWJyYXJ5Rm9ybTwvTmV3PjwvRm9ybVRlbXBsYXRlcz4= 
           
         
         
           
             
             
             
             
             
           
           
            PEZvcm1UZW1wbGF0ZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vc2hhcmVwb2ludC92My9jb250ZW50dHlwZS9mb3JtcyI+PERpc3BsYXk+TGlzdEZvcm08L0Rpc3BsYXk+PEVkaXQ+TGlzdEZvcm08L0VkaXQ+PE5ldz5MaXN0Rm9ybTwvTmV3PjwvRm9ybVRlbXBsYXRlcz4= 
           
         
         
           
           
             
             
             
             
             
             
             
             
           
           
           
            PEZvcm1UZW1wbGF0ZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vc2hhcmVwb2ludC92My9jb250ZW50dHlwZS9mb3JtcyI+PERpc3BsYXk+RG9jdW1lbnRMaWJyYXJ5Rm9ybTwvRGlzcGxheT48RWRpdD5Eb2N1bWVudExpYnJhcnlGb3JtPC9FZGl0PjxOZXc+RG9jdW1lbnRMaWJyYXJ5Rm9ybTwvTmV3PjwvRm9ybVRlbXBsYXRlcz4= 
           
         
       
       
         
         
         
       
       
        1 
        1 
        0 
       
      Shared Documents/Forms/template.dotx 
       
         
          Content Following Item Updated Event Receiver 101 
          2 
          10002 
          10000 
          Microsoft.Office.Server.UserProfiles, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c 
          Microsoft.Office.Server.UserProfiles.ContentFollowingItemEventReceiver 
           
         
       
     
   
   
     
       
         
          main.xsl 
          clienttemplates.js 
          30 
           
           
             
             
             
             
           
           
             
             
           
           
             
               
             
           
         
         
          main.xsl 
          clienttemplates.js 
          30 
           
           
             
             
             
             
             
           
           
             
             
           
           
             
               
             
           
         
         
          main.xsl 
          30 
           
           
             
             
             
             
             
             
             
           
           
             
             
           
           
             
               
             
             
               
                 
                1 
               
             
           
         
         
           
             
           
          20 
           
             
               
             
           
         
         
           
             
             
             
             
           
           
           
           
          30 
           
          main.xsl 
          clienttemplates.js 
           
           
             
             
           
         
       
       
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
          FALSE 
         
         
          FALSE 
         
         
         
           
             
             
             
             
             
             
             
           
           
             
               
                 
               
               
               
                 
                   
                     
                   
                  1 
                   
                     
                     
                      / 
                       
                     
                    /_w/ 
                     
                       
                     
                    _ 
                     
                       
                     
                    .jpg 
                   
                   
                     
                       
                         
                       
                      0 
                       
                         
                         
                           
                          | 
                           
                         
                       
                       
                         
                           
                             
                           
                           
                           
                             
                             
                               
                              | 
                               
                             
                           
                           
                             
                             
                              / 
                               
                             
                            /_w/ 
                             
                               
                             
                            _ 
                             
                               
                             
                            .jpg 
                           
                         
                       
                     
                   
                 
               
               
                 
               
             
           
         
         
           
             
             
             
             
           
           
             
             
             
             
               
                 
               
               
               
                 
               
               
                 
               
             
             
             
            ]]> 
           
         
         
           
             
           
           
             
           
         
         
           
             
             
             
           
           
             
               
                 
               
              0 
               
                 
                   
                     
                   
                   
                   
                   
                     
                       
                         
                       
                      0 
                       
                       
                        ]]> 
                         
                         
                           
                         
                         
                        ]]> 
                       
                     
                   
                 
               
             
           
         
         
           
             
             
             
             
             
             
             
           
           
             
               
                 
               
               
               
                 
                   
                     
                   
                  1 
                   
                     
                     
                      / 
                       
                     
                    /_t/ 
                     
                       
                     
                    _ 
                     
                       
                     
                    .jpg 
                   
                   
                     
                       
                         
                       
                      0 
                       
                         
                         
                           
                          | 
                           
                         
                       
                       
                         
                           
                             
                           
                           
                           
                             
                             
                               
                              | 
                               
                             
                           
                           
                             
                             
                              / 
                               
                             
                            /_t/ 
                             
                               
                             
                            _ 
                             
                               
                             
                            .jpg 
                           
                         
                       
                     
                   
                 
               
               
                 
               
             
           
         
         
           
             
           
           
             
               
                 
               
              0 
               
                 
                  fSelectFieldAppeared = true; firstIdWithCheckbox =']]> 
                 
                 
                 
                   
                    <input type=checkbox disabled style="visibility:hidden" title='selection checkbox' name="selectionCheckBox" id="cbx_]]> 
                </HTML> 
                <Column Name="ID"/> 
                <HTML><![CDATA[" onfocus="if (!IsImgLibJssLoaded()) return; HiLiteRow(]]></HTML> 
                <Column Name="ID"/> 
                <HTML><![CDATA[)" onclick="if (!IsImgLibJssLoaded()) return; ToggleSelection(]]></HTML> 
                <Column Name="ID"/> 
                <HTML><![CDATA[)">]]></HTML> 
              </Then> 
            </IfEqual> 
          </DisplayPattern> 
        </Field> 
        <Field ID="{76d1cc87-56de-432c-8a2a-16e5ba5331b3}" ReadOnly="TRUE" Type="Computed" Group="_Hidden" Name="NameOrTitle" ClassInfo="Menu" DisplayName="Name" DisplayNameSrcField="FileLeafRef" Filterable="FALSE" AuthoringInfo="(linked to display items)" SourceID="http://schemas.microsoft.com/sharepoint/v3/fields" StaticName="NameOrTitle" Customization=""> 
          <FieldRefs> 
            <FieldRef ID="{687C7F94-686A-42d3-9B67-2782EAC4B4F8}" Name="FileLeafRef"/> 
            <FieldRef ID="{56605DF6-8FA1-47e4-A04C-5B384D59609F}" Name="FileDirRef"/> 
            <FieldRef ID="{FA564E0F-0C70-4ab9-B863-0177E6DDD247}" Name="Title"/> 
            <FieldRef ID="{081C6E4C-5C14-4f20-B23E-1A71CEB6A67C}" Name="DocIcon"/> 
            <FieldRef ID="{94F89715-E097-4e8b-BA79-EA02AA8B7ADB}" Name="FileRef"/> 
            <FieldRef ID="{9DA97A8A-1DA5-4a77-98D3-4BC10456E700}" Name="Description"/> 
            <FieldRef ID="{30BB605F-5BAE-48fe-B4E3-1F81D9772AF9}" Name="FSObjType"/> 
            <FieldRef ID="{3881510A-4E4A-4ee8-B102-8EE8E2D0DD4B}" Name="CheckedOutUserId"/> 
            <FieldRef ID="{105F76CE-724A-4bba-AECE-F81F2FCE58F5}" Name="ServerUrl"/> 
            <FieldRef ID="{998b5cff-4a35-47a7-92f3-3914aa6aa4a2}" Name="Created_x0020_Date"/> 
          </FieldRefs> 
          <DisplayPattern> 
            <HTML> 
              <![CDATA[ 
            <table cellspacing="0" class="ms-unselectedtitle" NameOrTitle="true" 
            Url="]]> 
            </HTML> 
            <Field Name="ServerUrl" URLEncodeAsURL="TRUE"/> 
            <HTML> 
              <![CDATA["  
            DRef="]]> 
            </HTML> 
            <Field Name="FileDirRef"/> 
            <HTML> 
              <![CDATA[" 
            COUId="]]> 
            </HTML> 
            <Field Name="CheckedOutUserId"/> 
            <HTML> 
              <![CDATA[" 
            Type="]]> 
            </HTML> 
            <Column Name="HTML_x0020_File_x0020_Type"/> 
            <HTML> 
              &quot; 
              Icon=&quot; 
            </HTML> 
            <MapToAll> 
              <Column Name="HTML_x0020_File_x0020_Type"/> 
              <HTML>|</HTML> 
              <Column Name="File_x0020_Type"/> 
            </MapToAll> 
            <HTML>&quot; OType=&quot;</HTML> 
            <LookupColumn Name="FSObjType"/> 
            <HTML> 
              <![CDATA[" 
                        Ext="]]> 
            </HTML> 
            <Column Name="File_x0020_Type"/> 
            <HTML><![CDATA[" cellspacing="0" cellpadding="0"><tr id="title]]></HTML> 
            <Column Name="ID"/> 
            <HTML><![CDATA[" onclick="if (!IsImgLibJssLoaded()) return; ClickRow(]]></HTML> 
            <Column Name="ID"/> 
            <HTML><![CDATA[)" oncontextmenu="if (!IsImgLibJssLoaded()) return true; return ContextMenuOnRow(]]></HTML> 
            <Column Name="ID"/> 
            <HTML><![CDATA[);" onmouseover="if (!IsImgLibJssLoaded()) return; MouseOverRow(]]></HTML> 
            <Column Name="ID"/> 
            <HTML><![CDATA[)" onmouseout="if (!IsImgLibJssLoaded()) return; MouseOutRow(]]></HTML> 
            <Column Name="ID"/> 
            <HTML> 
              <![CDATA[)"> 
            <td width="100%" class="ms-vb">]]> 
            </HTML> 
            <IfEqual> 
              <Expr1> 
                <LookupColumn Name="FSObjType"/> 
              </Expr1> 
              <Expr2>0</Expr2> 
              <Then> 
                <IfEqual> 
                  <Expr1> 
                    <LookupColumn Name="ImageWidth"/> 
                  </Expr1> 
                  <Expr2/> 
                  <Then> 
                    <HTML><![CDATA[<a href="]]></HTML> 
                    <Field Name="EncodedAbsUrl"/> 
                    <HTML><![CDATA[" onclick="if (!IsImgLibJssLoaded()) return; javascript:DisplayItemOnFileRef(]]></HTML> 
                    <Column Name="ID"/> 
                    <HTML><![CDATA[);return false;" onmouseover="if (!IsImgLibJssLoaded()) return; javascript:MouseOverRow(]]></HTML> 
                    <Column Name="ID"/> 
                    <HTML><![CDATA[)" target="_self">]]></HTML> 
                    <UrlBaseName HTMLEncode="TRUE"> 
                      <LookupColumn Name="FileLeafRef"/> 
                    </UrlBaseName> 
                    <HTML><![CDATA[</a>]]></HTML> 
                  </Then> 
                  <Else> 
                    <HTML><![CDATA[<a href="]]></HTML> 
                    <URL Cmd="Display"/> 
                    <HTML><![CDATA[" ]]></HTML> 
                    <HTML><![CDATA[onclick="if (!IsImgLibJssLoaded()) return; javascript:DisplayItemOnFileRef(]]></HTML> 
                    <Column Name="ID"/> 
                    <HTML><![CDATA[);return false;" onmouseover="if (!IsImgLibJssLoaded()) return; javascript:MouseOverRow(]]></HTML> 
                    <Column Name="ID"/> 
                    <HTML><![CDATA[)" target="_self">]]></HTML> 
                    <UrlBaseName HTMLEncode="TRUE"> 
                      <LookupColumn Name="FileLeafRef"/> 
                    </UrlBaseName> 
                    <HTML><![CDATA[</a>]]></HTML> 
                  </Else> 
                </IfEqual> 
                <IfNew Name="Created_x0020_Date"> 
                  <HTML><![CDATA[<img src="/_layouts/15/1033/images/new.gif" alt="]]></HTML> 
                  <HTML>New</HTML> 
                  <HTML><![CDATA[" class="ms-newgif" />]]></HTML> 
                </IfNew> 
              </Then> 
              <Else> 
                <Switch> 
                  <Expr> 
                    <GetVar Name="RecursiveView"/> 
                  </Expr> 
                  <Case Value="1"> 
                    <LookupColumn Name="FileLeafRef" HTMLEncode="TRUE"/> 
                  </Case> 
                  <Default> 
                    <HTML><![CDATA[<a href="]]></HTML> 
                    <SetVar Name="RootFolder"> 
                      <HTML>/</HTML> 
                      <LookupColumn Name="FileRef"/> 
                    </SetVar> 
                    <FilterLink Default="" Paged="FALSE"/> 
                    <HTML><![CDATA[" target="_self">]]></HTML> 
                    <LookupColumn Name="FileLeafRef" HTMLEncode="TRUE"/> 
                    <HTML><![CDATA[</a>]]></HTML> 
                  </Default> 
                </Switch> 
              </Else> 
            </IfEqual> 
            <HTML> 
              <![CDATA[</td> 
                <td class='ms-menuimagecell' style='visibility:hidden' width="10" id="menuTd]]> 
            </HTML> 
            <Column Name="ID"/> 
            <HTML><![CDATA["><a id="menuHref]]></HTML> 
            <Column Name="ID"/> 
            <HTML><![CDATA[" href="javascript:ClickRow(]]></HTML> 
            <Column Name="ID"/> 
            <HTML><![CDATA[)" onclick="JavaScript:ClickRow(]]></HTML> 
            <Column Name="ID"/> 
            <HTML><![CDATA[); JavaScript:return false;"><img border="0" width="13" src="/_layouts/15/images/menudark.gif?rev=23" alt="]]></HTML> 
            <HTML>Edit Menu</HTML> 
            <HTML> 
              <![CDATA["></a></td> 
            </tr></table> 
            ]]> 
            </HTML> 
          </DisplayPattern> 
        </Field> 
        <Field ID="{de1baa4b-2117-473b-aa0c-4d824034142d}" ReadOnly="TRUE" Type="Computed" Group="_Hidden" Name="RequiredField" DisplayName="Required Field" AuthoringInfo="(must be selected for picture library details view)" Sortable="FALSE" Filterable="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3/fields" StaticName="RequiredField" Customization=""> 
          <FieldRefs> 
            <FieldRef ID="{94F89715-E097-4e8b-BA79-EA02AA8B7ADB}" Name="FileRef"/> 
            <FieldRef ID="{687C7F94-686A-42d3-9B67-2782EAC4B4F8}" Name="FileLeafRef"/> 
            <FieldRef ID="{FA564E0F-0C70-4ab9-B863-0177E6DDD247}" Name="Title"/> 
            <FieldRef ID="{9DA97A8A-1DA5-4a77-98D3-4BC10456E700}" Name="Description"/> 
            <FieldRef ID="{922551B8-C7E0-46a6-B7E3-3CF02917F68A}" Name="ImageSize"/> 
            <FieldRef ID="{081C6E4C-5C14-4f20-B23E-1A71CEB6A67C}" Name="DocIcon"/> 
          </FieldRefs> 
          <DisplayPattern/> 
        </Field> 
        <Field ID="{ac7bb138-02dc-40eb-b07a-84c15575b6e9}" ReadOnly="TRUE" Type="Computed" Group="_Hidden" Name="Thumbnail" ShowInNewForm="FALSE" ShowInFileDlg="FALSE" ShowInEditForm="FALSE" DisplayName="Thumbnail" Sealed="TRUE" Sortable="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3/fields" StaticName="Thumbnail" Customization=""> 
          <FieldRefs> 
            <FieldRef ID="{7E68A0F9-AF76-404c-9613-6F82BC6DC28C}" Name="ImageWidth"/> 
            <FieldRef ID="{1944C034-D61B-42af-AA84-647F2E74CA70}" Name="ImageHeight"/> 
            <FieldRef ID="{30BB605F-5BAE-48fe-B4E3-1F81D9772AF9}" Name="FSObjType"/> 
            <FieldRef ID="{B9E6F3AE-5632-4b13-B636-9D1A2BD67120}" Name="EncodedAbsThumbnailUrl"/> 
            <FieldRef ID="{1F43CD21-53C5-44c5-8675-B8BB86083244}" Name="ThumbnailExists"/> 
            <FieldRef ID="{F39D44AF-D3F3-4ae6-B43F-AC7330B5E9BD}" Name="AlternateThumbnailUrl"/> 
          </FieldRefs> 
          <DisplayPattern> 
            <IfEqual> 
              <Expr1> 
                <LookupColumn Name="FSObjType"/> 
              </Expr1> 
              <Expr2>0</Expr2> 
              <Then> 
                <IfEqual> 
                  <Expr1> 
                    <LookupColumn Name="ImageWidth"/> 
                  </Expr1> 
                  <Expr2/> 
                  <Then/> 
                  <Else> 
                    <IfEqual> 
                      <Expr1> 
                        <LookupColumn Name="ImageWidth"/> 
                      </Expr1> 
                      <Expr2>0</Expr2> 
                      <Then/> 
                      <Else> 
                        <HTML><![CDATA[<a href="]]></HTML> 
                        <URL Cmd="Display"/> 
                        <HTML><![CDATA["><img border="0" ALT="Thumbnail" src="]]></HTML> 
                        <Field Name="EncodedAbsThumbnailUrl"/> 
                        <HTML> 
                          <![CDATA["> 
                                    </a> 
                                    ]]> 
                        </HTML> 
                      </Else> 
                    </IfEqual> 
                  </Else> 
                </IfEqual> 
              </Then> 
            </IfEqual> 
          </DisplayPattern> 
        </Field> 
        <Field ID="{bd716b26-546d-43f2-b229-62699581fa9f}" ReadOnly="TRUE" Type="Computed" Group="_Hidden" Name="Preview" ShowInNewForm="FALSE" ShowInFileDlg="FALSE" ShowInEditForm="FALSE" DisplayName="Web Preview" Sealed="TRUE" Sortable="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3/fields" StaticName="Preview" Customization=""> 
          <FieldRefs> 
            <FieldRef ID="{7E68A0F9-AF76-404c-9613-6F82BC6DC28C}" Name="ImageWidth"/> 
            <FieldRef ID="{1944C034-D61B-42af-AA84-647F2E74CA70}" Name="ImageHeight"/> 
            <FieldRef ID="{30BB605F-5BAE-48fe-B4E3-1F81D9772AF9}" Name="FSObjType"/> 
            <FieldRef ID="{A1CA0063-779F-49f9-999C-A4A2E3645B07}" Name="EncodedAbsWebImgUrl"/> 
            <FieldRef ID="{1F43CD21-53C5-44c5-8675-B8BB86083244}" Name="PreviewExists"/> 
            <FieldRef ID="{F39D44AF-D3F3-4ae6-B43F-AC7330B5E9BD}" Name="AlternateThumbnailUrl"/> 
          </FieldRefs> 
          <DisplayPattern> 
            <IfEqual> 
              <Expr1> 
                <LookupColumn Name="FSObjType"/> 
              </Expr1> 
              <Expr2>0</Expr2> 
              <Then> 
                <IfEqual> 
                  <Expr1> 
                    <LookupColumn Name="ImageWidth"/> 
                  </Expr1> 
                  <Expr2/> 
                  <Then/> 
                  <Else> 
                    <IfEqual> 
                      <Expr1> 
                        <LookupColumn Name="ImageWidth"/> 
                      </Expr1> 
                      <Expr2>0</Expr2> 
                      <Then/> 
                      <Else> 
                        <HTML><![CDATA[<a href="]]></HTML> 
                        <URL Cmd="Display"/> 
                        <HTML><![CDATA["><img  ALT="Web Preview" src="]]></HTML> 
                        <Field Name="EncodedAbsWebImgUrl"/> 
                        <HTML> 
                          <![CDATA["> 
                                    </a> 
                                    ]]> 
                        </HTML> 
                      </Else> 
                    </IfEqual> 
                  </Else> 
                </IfEqual> 
              </Then> 
            </IfEqual> 
          </DisplayPattern> 
        </Field> 
        <Field ID="{086f2b30-460c-4251-b75a-da88a5b205c1}" Type="Text" Group="_Hidden" Name="ShowCombineView" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="ShowCombineView" DisplayName="Show Combine View" Filterable="TRUE" Sortable="TRUE" Hidden="TRUE" FromBaseType="TRUE" Customization="" ColName="nvarchar12" RowOrdinal="0"/> 
        <Field ID="{11851948-b05e-41be-9d9f-bc3bf55d1de3}" Name="ShowRepairView" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="ShowRepairView" Type="Text" Group="_Hidden" DisplayName="Show Repair View" Filterable="TRUE" Sortable="TRUE" Hidden="TRUE" FromBaseType="TRUE" Customization="" ColName="nvarchar13" RowOrdinal="0"/> 
        <Field ID="{1d22ea11-1e32-424e-89ab-9fedbadb6ce1}" ColName="tp_ID" RowOrdinal="0" ReadOnly="TRUE" Type="Counter" Name="ID" DisplayName="ID" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="ID" FromBaseType="TRUE"/> 
        <Field ID="{c042a256-787d-4a6f-8a8a-cf6ab767f12d}" Type="Computed" DisplayName="Content Type" Name="ContentType" DisplaceOnUpgrade="TRUE" RenderXMLUsingPattern="TRUE" Sortable="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="ContentType" Group="_Hidden" PITarget="MicrosoftWindowsSharePointServices" PIAttribute="ContentTypeID" FromBaseType="TRUE"> 
          <FieldRefs> 
            <FieldRef Name="ContentTypeId"/> 
          </FieldRefs> 
          <DisplayPattern> 
            <MapToContentType> 
              <Column Name="ContentTypeId"/> 
            </MapToContentType> 
          </DisplayPattern> 
        </Field> 
        <Field ID="{8c06beca-0777-48f7-91c7-6da68bc07b69}" ColName="tp_Created" RowOrdinal="0" ReadOnly="TRUE" Type="DateTime" Name="Created" DisplayName="Created" StorageTZ="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Created" FromBaseType="TRUE"/> 
        <Field ID="{1df5e554-ec7e-46a6-901d-d85a3881cb18}" ColName="tp_Author" RowOrdinal="0" ReadOnly="TRUE" Type="User" List="UserInfo" Name="Author" DisplayName="Created By" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Author" FromBaseType="TRUE"/> 
        <Field ID="{28cf69c5-fa48-462a-b5cd-27b6f9d2bd5f}" ColName="tp_Modified" RowOrdinal="0" ReadOnly="TRUE" Type="DateTime" Name="Modified" DisplayName="Modified" StorageTZ="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Modified" FromBaseType="TRUE"/> 
        <Field ID="{d31655d1-1d5b-4511-95a1-7a09e9b75bf2}" ColName="tp_Editor" RowOrdinal="0" ReadOnly="TRUE" Type="User" List="UserInfo" Name="Editor" DisplayName="Modified By" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Editor" FromBaseType="TRUE"/> 
        <Field ID="{26d0756c-986a-48a7-af35-bf18ab85ff4a}" ColName="tp_HasCopyDestinations" RowOrdinal="0" Sealed="TRUE" Hidden="TRUE" ReadOnly="TRUE" Type="Boolean" Name="_HasCopyDestinations" DisplaceOnUpgrade="TRUE" DisplayName="Has Copy Destinations" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_HasCopyDestinations" FromBaseType="TRUE"/> 
        <Field ID="{6b4e226d-3d88-4a36-808d-a129bf52bccf}" ColName="tp_CopySource" RowOrdinal="0" Sealed="TRUE" Hidden="FALSE" ReadOnly="TRUE" Type="Text" Name="_CopySource" DisplaceOnUpgrade="TRUE" DisplayName="Copy Source" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_CopySource" FromBaseType="TRUE"/> 
        <Field ID="{fdc3b2ed-5bf2-4835-a4bc-b885f3396a61}" ColName="tp_ModerationStatus" RowOrdinal="0" ReadOnly="TRUE" Type="ModStat" Name="_ModerationStatus" DisplayName="Approval Status" Hidden="TRUE" CanToggleHidden="TRUE" Required="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_ModerationStatus" FromBaseType="TRUE"> 
          <CHOICES> 
            <CHOICE>0;#Approved</CHOICE> 
            <CHOICE>1;#Rejected</CHOICE> 
            <CHOICE>2;#Pending</CHOICE> 
            <CHOICE>3;#Draft</CHOICE> 
            <CHOICE>4;#Scheduled</CHOICE> 
          </CHOICES> 
          <Default>0</Default> 
        </Field> 
        <Field ID="{94f89715-e097-4e8b-ba79-ea02aa8b7adb}" Name="FileRef" ReadOnly="TRUE" Hidden="TRUE" Type="Lookup" DisplayName="URL Path" List="Docs" FieldRef="ID" ShowField="FullUrl" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="FileRef" FromBaseType="TRUE"/> 
        <Field ID="{56605df6-8fa1-47e4-a04c-5b384d59609f}" Name="FileDirRef" ReadOnly="TRUE" Hidden="TRUE" Type="Lookup" DisplayName="Path" List="Docs" FieldRef="ID" ShowField="DirName" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="FileDirRef" FromBaseType="TRUE"/> 
        <Field ID="{173f76c8-aebd-446a-9bc9-769a2bd2c18f}" Name="Last_x0020_Modified" ReadOnly="TRUE" Hidden="TRUE" DisplayName="Modified" Type="Lookup" List="Docs" FieldRef="ID" ShowField="TimeLastModified" Format="TRUE" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Last_x0020_Modified" FromBaseType="TRUE"/> 
        <Field ID="{998b5cff-4a35-47a7-92f3-3914aa6aa4a2}" Name="Created_x0020_Date" ReadOnly="TRUE" Hidden="TRUE" DisplayName="Created" Type="Lookup" List="Docs" FieldRef="ID" ShowField="TimeCreated" Format="TRUE" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Created_x0020_Date" FromBaseType="TRUE"/> 
        <Field ID="{8fca95c0-9b7d-456f-8dae-b41ee2728b85}" Name="File_x0020_Size" Hidden="TRUE" ReadOnly="TRUE" Type="Lookup" DisplayName="File Size" List="Docs" FieldRef="ID" ShowField="SizeInKB" Format="TRUE" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="File_x0020_Size" FromBaseType="TRUE"/> 
        <Field ID="{30bb605f-5bae-48fe-b4e3-1f81d9772af9}" Name="FSObjType" ReadOnly="TRUE" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="Item Type" List="Docs" FieldRef="ID" ShowField="FSType" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="FSObjType" FromBaseType="TRUE"/> 
        <Field ID="{423874f8-c300-4bfb-b7a1-42e2159e3b19}" Name="SortBehavior" ReadOnly="TRUE" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="Sort Type" List="Docs" FieldRef="ID" ShowField="SortBehavior" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="SortBehavior" FromBaseType="TRUE"/> 
        <Field ID="{ba3c27ee-4791-4867-8821-ff99000bac98}" Name="PermMask" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" Hidden="TRUE" RenderXMLUsingPattern="TRUE" ShowInFileDlg="FALSE" Type="Computed" DisplayName="Effective Permissions Mask" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="PermMask" FromBaseType="TRUE"> 
          <FieldRefs> 
            <FieldRef Name="ID"/> 
          </FieldRefs> 
          <DisplayPattern> 
            <CurrentRights/> 
          </DisplayPattern> 
        </Field> 
        <Field ID="{a7b731a3-1df1-4d74-a5c6-e2efba617ae2}" Name="CheckedOutUserId" ReadOnly="TRUE" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="ID of the User who has the item Checked Out" List="Docs" FieldRef="ID" ShowField="CheckoutUserId" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="CheckedOutUserId" FromBaseType="TRUE"/> 
        <Field ID="{cfaabd0f-bdbd-4bc2-b375-1e779e2cad08}" Name="IsCheckedoutToLocal" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="Is Checked out to local" List="Docs" FieldRef="ID" ShowField="IsCheckoutToLocal" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="IsCheckedoutToLocal" FromBaseType="TRUE"/> 
        <Field ID="{3881510a-4e4a-4ee8-b102-8ee8e2d0dd4b}" ColName="tp_CheckoutUserId" RowOrdinal="0" ReadOnly="TRUE" Type="User" List="UserInfo" Name="CheckoutUser" DisplaceOnUpgrade="TRUE" DisplayName="Checked Out To" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="CheckoutUser" FromBaseType="TRUE"/> 
        <Field ID="{4b7403de-8d94-43e8-9f0f-137a3e298126}" Name="UniqueId" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="Unique Id" List="Docs" FieldRef="ID" ShowField="UniqueId" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="UniqueId" FromBaseType="TRUE"/> 
        <Field ID="{6d2c4fde-3605-428e-a236-ce5f3dc2b4d4}" Name="SyncClientId" DisplaceOnUpgrade="TRUE" Hidden="TRUE" ReadOnly="TRUE" DisplayName="Client Id" ShowInFileDlg="FALSE" Type="Lookup" List="Docs" FieldRef="ID" ShowField="SyncClientId" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="SyncClientId" FromBaseType="TRUE"/> 
        <Field ID="{c5c4b81c-f1d9-4b43-a6a2-090df32ebb68}" Name="ProgId" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="ProgId" List="Docs" FieldRef="ID" ShowField="ProgId" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="ProgId" FromBaseType="TRUE"/> 
        <Field ID="{dddd2420-b270-4735-93b5-92b713d0944d}" Name="ScopeId" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" Hidden="TRUE" ShowInFileDlg="FALSE" Type="Lookup" DisplayName="ScopeId" List="Docs" FieldRef="ID" ShowField="ScopeId" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="ScopeId" FromBaseType="TRUE"/> 
        <Field ID="{4a389cb9-54dd-4287-a71a-90ff362028bc}" Name="VirusStatus" Hidden="TRUE" ReadOnly="TRUE" Type="Lookup" DisplayName="Virus Status" List="Docs" FieldRef="ID" ShowField="Size" Format="TRUE" JoinColName="DoclibRowId" JoinRowOrdinal="0" JoinType="INNER" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="VirusStatus" FromBaseType="TRUE"/> 
        <Field ID="{9d4adc35-7cc8-498c-8424-ee5fd541e43a}" Name="CheckedOutTitle" Hidden="TRUE" ReadOnly="TRUE" Type="Lookup" DisplayName="Checked Out To" List="Docs" FieldRef="ID" ShowField="CheckedOutTitle" Format="TRUE" JoinColName="DoclibRowId" JoinType="INNER" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="CheckedOutTitle" FromBaseType="TRUE"/> 
        <Field ID="{58014f77-5463-437b-ab67-eec79532da67}" Name="_CheckinComment" DisplaceOnUpgrade="TRUE" ReadOnly="TRUE" Type="Lookup" DisplayName="Check In Comment" List="Docs" FieldRef="ID" ShowField="CheckinComment" Filterable="FALSE" Format="TRUE" JoinColName="DoclibRowId" JoinType="INNER" Sortable="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_CheckinComment" FromBaseType="TRUE"/> 
        <Field ID="{e2a15dfd-6ab8-4aec-91ab-02f6b64045b0}" ReadOnly="TRUE" Hidden="TRUE" Type="Computed" Name="LinkCheckedOutTitle" DisplayName="Checked Out To" Filterable="TRUE" AuthoringInfo="(link to username to user details page)" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="LinkCheckedOutTitle" FromBaseType="TRUE"> 
          <FieldRefs> 
            <FieldRef Name="CheckedOutTitle"/> 
            <FieldRef Name="CheckedOutUserId"/> 
          </FieldRefs> 
          <DisplayPattern> 
            <IfEqual> 
              <Expr1> 
                <Field Name="CheckedOutUserId"/> 
              </Expr1> 
              <Expr2/> 
              <Then/> 
              <Else> 
                <HTML><![CDATA[<a href="]]></HTML> 
                <HttpVDir CurrentWeb="TRUE"/> 
                <HTML><![CDATA[/_layouts/15/userdisp.aspx?id=]]></HTML> 
                <Field Name="CheckedOutUserId"/> 
                <HTML><![CDATA[">]]></HTML> 
                <Field HTMLEncode="TRUE" Name="CheckedOutTitle"/> 
                <HTML><![CDATA[</a>]]></HTML> 
              </Else> 
            </IfEqual> 
          </DisplayPattern> 
        </Field> 
        <Field ID="{3c6303be-e21f-4366-80d7-d6d0a3b22c7a}" Hidden="TRUE" ReadOnly="TRUE" Type="Computed" Name="_EditMenuTableStart" DisplaceOnUpgrade="TRUE" DisplayName="Edit Menu Table Start" ClassInfo="Menu" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="_EditMenuTableStart" FromBaseType="TRUE"> 
          <FieldRefs> 
            <FieldRef Name="FileLeafRef"/> 
            <FieldRef Name="FileDirRef"/> 
            <FieldRef Name="FSObjType"/> 
            <FieldRef Name="ID"/> 
            <FieldRef Name="ServerUrl"/> 
            <FieldRef Name="HTML_x0020_File_x0020_Type"/> 
            <FieldRef Name="File_x0020_Type"/> 
            <FieldRef Name="PermMask"/> 
            <FieldRef Name="IsCheckedoutToLocal"/> 
            <FieldRef Name="CheckoutUser"/> 
            <FieldRef Name="_SourceUrl"/> 
            <FieldRef Name="_HasCopyDestinations"/> 
            <FieldRef Name="_CopySource"/> 
            <FieldRef Name="ContentType"/> 
            <FieldRef Name="ContentTypeId"/> 
            <FieldRef Name="_ModerationStatus"/> 
            <FieldRef Name="_UIVersion"/> 
          </FieldRefs> 
          <DisplayPattern> 
            <HTML><![CDATA[
                            ” id=”                            ” Url=”                            ” DRef=”                            ” Perm=”                            ” type=”                            ” Ext=”                            ” Icon=”                                              |                                            ” OType=”                            ” COUId=”                            ” SRed=”                                              |                                            ” DefaultIO=”                            ” COut=”                            ” HCD=”                            ” CSrc=”                            ” MS=”                                                                                    ” UIS=”                                          ” SUrl=”                            ]]>                                                                                                              ” id=”                                                                                                              ]]></HTML>              <HTML><![CDATA[

]]>               ]]>              ]]>               ]]>              ]]></HTML>            </DisplayPattern>          </Field>          <Field ID=”{9d30f126-ba48-446b-b8f9-83745f322ebe}” ReadOnly=”TRUE” Type=”Computed” Name=”LinkFilenameNoMenu” DisplayName=”Name” DisplayNameSrcField=”FileLeafRef” Filterable=”FALSE” AuthoringInfo=”(linked to document)” ListItemMenuAllowed=”Prohibited” LinkToItemAllowed=”Prohibited” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”LinkFilenameNoMenu” FromBaseType=”TRUE”>            <FieldRefs>              <FieldRef Name=”FileLeafRef”/>              <FieldRef Name=”FSObjType”/>              <FieldRef Name=”Created_x0020_Date”/>              <FieldRef Name=”FileRef”/>              <FieldRef Name=”File_x0020_Type”/>              <FieldRef Name=”HTML_x0020_File_x0020_Type”/>              <FieldRef Name=”ContentTypeId”/>              <FieldRef Name=”PermMask”/>              <FieldRef Name=”CheckoutUser”/>              <FieldRef Name=”IsCheckedoutToLocal”/>              <FieldRef Name=”ServerUrl”/>            </FieldRefs>            <DisplayPattern>              <IfEqual>                <Expr1>                  <LookupColumn Name=”FSObjType”/>                </Expr1>                <Expr2>1</Expr2>                <Then>                  <FieldSwitch>                    <Expr>                      <GetVar Name=”RecursiveView”/>                    </Expr>                    <Case Value=”1″>                      <LookupColumn Name=”FileLeafRef” HTMLEncode=”TRUE”/>                    </Case>                    <Default>                      <SetVar Name=”UnencodedFilterLink”>                        <SetVar Name=”RootFolder”>                          <HTML>/</HTML>                          <LookupColumn Name=”FileRef”/>                        </SetVar>                        <SetVar Name=”SkipHost”>1</SetVar>                        <SetVar Name=”FolderCTID”>                          <FieldSwitch>                            <Expr>                              <ListProperty Select=”EnableContentTypes”/>                            </Expr>                            <Case Value=”1″>                              <Column Name=”ContentTypeId”/>                            </Case>                          </FieldSwitch>                        </SetVar>                        <FilterLink Default=”” Paged=”FALSE”/>                      </SetVar>                      <HTML><![CDATA[<a onfocus=”OnLink(this)” href=”]]></HTML>                      <GetVar Name=”UnencodedFilterLink” HTMLEncode=”TRUE”/>                      <HTML><![CDATA[” onmousedown=”javascript:VerifyFolderHref(this,event, ‘]]></HTML>                      <ScriptQuote NotAddingQuote=”TRUE”>                        <GetVar Name=”UnencodedFilterLink”/>                      </ScriptQuote>                      <HTML><![CDATA[‘,’]]></HTML>                      <ScriptQuote NotAddingQuote=”TRUE”>                        <ServerProperty Select=”HtmlTrProgId”>                          <Column Name=”File_x0020_Type”/>                        </ServerProperty>                      </ScriptQuote>                      <HTML><![CDATA[‘,’]]></HTML>                      <ScriptQuote NotAddingQuote=”TRUE”>                        <ListProperty Select=”DefaultItemOpen”/>                      </ScriptQuote>                      <HTML><![CDATA[‘,’]]></HTML>                      <ScriptQuote NotAddingQuote=”TRUE”>                        <MapToControl>                          <Column Name=”HTML_x0020_File_x0020_Type”/>                          <HTML>|</HTML>                          <Column Name=”File_x0020_Type”/>                        </MapToControl>                      </ScriptQuote>                      <HTML><![CDATA[‘,’]]></HTML>                      <ScriptQuote NotAddingQuote=”TRUE”>                        <Column Name=”HTML_x0020_File_x0020_Type”/>                      </ScriptQuote>                      <HTML><![CDATA[‘,’]]></HTML>                      <ScriptQuote NotAddingQuote=”TRUE”>                        <ServerProperty Select=”GetServerFileRedirect”>                          <Field Name=”ServerUrl”/>                          <HTML>|</HTML>                          <Column Name=”HTML_x0020_File_x0020_Type”/>                        </ServerProperty>                      </ScriptQuote>                      <HTML><![CDATA[‘)”]]></HTML>                      <HTML><![CDATA[” onclick=”return HandleFolder(this,event, ‘]]></HTML>                      <ScriptQuote NotAddingQuote=”TRUE”>                        <GetVar Name=”UnencodedFilterLink”/>                      </ScriptQuote>                      <HTML><![CDATA[‘,’]]></HTML>                      <ScriptQuote NotAddingQuote=”TRUE”>                        <ServerProperty Select=”HtmlTransform”/>                      </ScriptQuote>                      <HTML><![CDATA[‘,’]]></HTML>                      <ScriptQuote NotAddingQuote=”TRUE”>                        <ServerProperty Select=”HtmlTrAcceptType”>                          <Column Name=”File_x0020_Type”/>                        </ServerProperty>                      </ScriptQuote>                      <HTML><![CDATA[‘,’]]></HTML>                      <ScriptQuote NotAddingQuote=”TRUE”>                        <ServerProperty Select=”HtmlTrHandleUrl”>                          <Column Name=”File_x0020_Type”/>                        </ServerProperty>                      </ScriptQuote>                      <HTML><![CDATA[‘,’]]></HTML>                      <ScriptQuote NotAddingQuote=”TRUE”>                        <ServerProperty Select=”HtmlTrProgId”>                          <Column Name=”File_x0020_Type”/>                        </ServerProperty>                      </ScriptQuote>                      <HTML><![CDATA[‘,’]]></HTML>                      <ScriptQuote NotAddingQuote=”TRUE”>                        <ListProperty Select=”DefaultItemOpen”/>                      </ScriptQuote>                      <HTML><![CDATA[‘,’]]></HTML>                      <ScriptQuote NotAddingQuote=”TRUE”>                        <MapToControl>                          <Column Name=”HTML_x0020_File_x0020_Type”/>                          <HTML>|</HTML>                          <Column Name=”File_x0020_Type”/>                        </MapToControl>                      </ScriptQuote>                      <HTML><![CDATA[‘,’]]></HTML>                      <ScriptQuote NotAddingQuote=”TRUE”>                        <Column Name=”HTML_x0020_File_x0020_Type”/>                      </ScriptQuote>                      <HTML><![CDATA[‘,’]]></HTML>                      <ScriptQuote NotAddingQuote=”TRUE”>                        <ServerProperty Select=”GetServerFileRedirect”>                          <Field Name=”ServerUrl”/>                          <HTML>|</HTML>                          <Column Name=”HTML_x0020_File_x0020_Type”/>                        </ServerProperty>                      </ScriptQuote>                      <HTML><![CDATA[‘,’]]></HTML>                      <ScriptQuote NotAddingQuote=”TRUE”>                        <Column Name=”CheckoutUser”/>                      </ScriptQuote>                      <HTML><![CDATA[‘,’]]></HTML>                      <ScriptQuote NotAddingQuote=”TRUE”>                        <UserID AllowAnonymous=”TRUE”/>                      </ScriptQuote>                      <HTML><![CDATA[‘,’]]></HTML>                      <ScriptQuote NotAddingQuote=”TRUE”>                        <ListProperty Select=”ForceCheckout”/>                      </ScriptQuote>                      <HTML><![CDATA[‘,’]]></HTML>                      <ScriptQuote NotAddingQuote=”TRUE”>                        <Field Name=”IsCheckedoutToLocal”/>                      </ScriptQuote>                      <HTML><![CDATA[‘,’]]></HTML>                      <ScriptQuote NotAddingQuote=”TRUE”>                        <Field Name=”PermMask”/>                      </ScriptQuote>                      <HTML><![CDATA[‘);”>]]></HTML>                      <LookupColumn Name=”FileLeafRef” HTMLEncode=”TRUE”/>                      <IfEqual>                        <Expr1>                          <GetVar Name=”ShowAccessibleIcon”/>                        </Expr1>                        <Expr2>1</Expr2>                        <Then>                          <HTML><![CDATA[<img src=”/_layouts/15/images/blank.gif?rev=23″ class=”ms-hidden” border=”0″ width=”1″ height=”1″ alt=”Use SHIFT+ENTER to open the menu (new window).”/>]]></HTML>                        </Then>                      </IfEqual>                      <HTML><![CDATA[</a>]]></HTML>                    </Default>                  </FieldSwitch>                </Then>                <Else>                  <HTML><![CDATA[<a onfocus=”OnLink(this)” href=”]]></HTML>                  <Field Name=”ServerUrl” URLEncodeAsURL=”TRUE”/>                  <HTML><![CDATA[” onclick=”return DispEx(this,event,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <ServerProperty Select=”HtmlTransform”/>                  </ScriptQuote>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <ServerProperty Select=”HtmlTrAcceptType”>                      <Column Name=”File_x0020_Type”/>                    </ServerProperty>                  </ScriptQuote>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <ServerProperty Select=”HtmlTrHandleUrl”>                      <Column Name=”File_x0020_Type”/>                    </ServerProperty>                  </ScriptQuote>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <ServerProperty Select=”HtmlTrProgId”>                      <Column Name=”File_x0020_Type”/>                    </ServerProperty>                  </ScriptQuote>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <ListProperty Select=”DefaultItemOpen”/>                  </ScriptQuote>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <MapToControl>                      <Column Name=”HTML_x0020_File_x0020_Type”/>                      <HTML>|</HTML>                      <Column Name=”File_x0020_Type”/>                    </MapToControl>                  </ScriptQuote>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <Column Name=”HTML_x0020_File_x0020_Type”/>                  </ScriptQuote>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <ServerProperty Select=”GetServerFileRedirect”>                      <Field Name=”ServerUrl”/>                      <HTML>|</HTML>                      <Column Name=”HTML_x0020_File_x0020_Type”/>                    </ServerProperty>                  </ScriptQuote>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <Column Name=”CheckoutUser”/>                  </ScriptQuote>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <UserID AllowAnonymous=”TRUE”/>                  </ScriptQuote>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <ListProperty Select=”ForceCheckout”/>                  </ScriptQuote>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <Field Name=”IsCheckedoutToLocal”/>                  </ScriptQuote>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <Field Name=”PermMask”/>                  </ScriptQuote>                  <HTML><![CDATA[‘)”>]]></HTML>                  <UrlBaseName HTMLEncode=”TRUE”>                    <LookupColumn Name=”FileLeafRef”/>                  </UrlBaseName>                  <IfEqual>                    <Expr1>                      <GetVar Name=”ShowAccessibleIcon”/>                    </Expr1>                    <Expr2>1</Expr2>                    <Then>                      <HTML><![CDATA[<img src=”/_layouts/15/images/blank.gif?rev=23″ class=”ms-hidden” border=”0″ width=”1″ height=”1″ alt=”Use SHIFT+ENTER to open the menu (new window).”/>]]></HTML>                    </Then>                  </IfEqual>                  <HTML><![CDATA[</a>]]></HTML>                  <IfNew Name=”Created_x0020_Date”>                    <HTML><![CDATA[<img src=”/_layouts/15/1033/images/new.gif” alt=”]]></HTML>                    <HTML>New</HTML>                    <HTML><![CDATA[” class=”ms-newgif” />]]></HTML>                  </IfNew>                </Else>              </IfEqual>            </DisplayPattern>          </Field>          <Field ID=”{5cc6dc79-3710-4374-b433-61cb4a686c12}” ReadOnly=”TRUE” Type=”Computed” Name=”LinkFilename” DisplayName=”Name” DisplayNameSrcField=”FileLeafRef” Filterable=”FALSE” ClassInfo=”Menu” AuthoringInfo=”(linked to document with edit menu)” ListItemMenuAllowed=”Required” LinkToItemAllowed=”Prohibited” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”LinkFilename” FromBaseType=”TRUE”>            <FieldRefs>              <FieldRef Name=”FileLeafRef”/>              <FieldRef Name=”LinkFilenameNoMenu”/>              <FieldRef Name=”_EditMenuTableStart2″/>              <FieldRef Name=”_EditMenuTableEnd”/>            </FieldRefs>            <DisplayPattern>              <FieldSwitch>                <Expr>                  <GetVar Name=”FreeForm”/>                </Expr>                <Case Value=”TRUE”>                  <Field Name=”LinkFilenameNoMenu”/>                </Case>                <Default>                  <HTML><![CDATA[

                                    ]]>                                    ]]></HTML>                  <HTML><![CDATA[

]]>                   ]]>                  ]]>                   ]]>                  ]]></HTML>                </Default>              </FieldSwitch>            </DisplayPattern>          </Field>          <Field ID=”{224ba411-da77-4050-b0eb-62d422f13d3e}” Hidden=”TRUE” ReadOnly=”TRUE” Type=”Computed” Name=”LinkFilename2″ DisplayName=”Name” DisplayNameSrcField=”FileLeafRef” Filterable=”FALSE” ClassInfo=”Menu” AuthoringInfo=”(linked to document with edit menu) (old)” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”LinkFilename2″ FromBaseType=”TRUE”>            <FieldRefs>              <FieldRef Name=”FileLeafRef”/>              <FieldRef Name=”LinkFilenameNoMenu”/>              <FieldRef Name=”_EditMenuTableStart”/>              <FieldRef Name=”_EditMenuTableEnd”/>            </FieldRefs>            <DisplayPattern>              <FieldSwitch>                <Expr>                  <GetVar Name=”FreeForm”/>                </Expr>                <Case Value=”TRUE”>                  <Field Name=”LinkFilenameNoMenu”/>                </Case>                <Default>                  <Field Name=”_EditMenuTableStart”/>                  <SetVar Name=”ShowAccessibleIcon” Value=”1″/>                  <Field Name=”LinkFilenameNoMenu”/>                  <SetVar Name=”ShowAccessibleIcon” Value=”0″/>                  <Field Name=”_EditMenuTableEnd”/>                </Default>              </FieldSwitch>            </DisplayPattern>          </Field>          <Field ID=”{081c6e4c-5c14-4f20-b23e-1a71ceb6a67c}” Type=”Computed” ReadOnly=”TRUE” Name=”DocIcon” DisplayName=”Type” TextOnly=”TRUE” ClassInfo=”Icon” AuthoringInfo=”(icon linked to document)” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”DocIcon” FromBaseType=”TRUE”>            <FieldRefs>              <FieldRef Name=”File_x0020_Type”/>              <FieldRef Name=”FSObjType”/>              <FieldRef Name=”FileRef”/>              <FieldRef Name=”FileLeafRef”/>              <FieldRef Name=”HTML_x0020_File_x0020_Type”/>              <FieldRef Name=”PermMask”/>              <FieldRef Name=”CheckoutUser” ShowField=”Title”/>              <FieldRef Name=”IsCheckedoutToLocal”/>              <FieldRef Name=”ServerUrl”/>              <FieldRef Name=”IconOverlay”/>            </FieldRefs>            <DisplayPattern>              <SetVar Name=”DocIconImg”>                <SetVar Name=”DocIconAltText”>                  <IfEqual>                    <Expr1>                      <LookupColumn Name=”FSObjType”/>                    </Expr1>                    <Expr2>1</Expr2>                    <Then>                      <IfSubString>                        <Expr1>0x0120D5</Expr1>                        <Expr2>                          <Column Name=”ContentTypeId”/>                        </Expr2>                        <Then>                          <HTML>Document Collection: </HTML>                          <LookupColumn Name=”FileLeafRef” HTMLEncode=”TRUE”/>                        </Then>                        <Else>                          <HTML>Folder: </HTML>                          <LookupColumn Name=”FileLeafRef” HTMLEncode=”TRUE”/>                        </Else>                      </IfSubString>                    </Then>                    <Else>                      <LookupColumn Name=”FileLeafRef” HTMLEncode=”TRUE”/>                    </Else>                  </IfEqual>                </SetVar>                <SetVar Name=”DocIconFileName”>                  <IfEqual>                    <Expr1>                      <Column Name=”IconOverlay”/>                    </Expr1>                    <Expr2/>                    <Then>                      <IfEqual>                        <Expr1>                          <LookupColumn Name=”FSObjType”/>                        </Expr1>                        <Expr2>1</Expr2>                        <Then>                          <IfEqual>                            <Expr1>                              <Column Name=”HTML_x0020_File_x0020_Type”/>                              <HTML>|</HTML>                              <Column Name=”File_x0020_Type”/>                            </Expr1>                            <Expr2>                              <HTML>|</HTML>                            </Expr2>                            <Then>                              <HTML>folder.gif</HTML>                            </Then>                            <Else>                              <SetVar Name=”FolderIconFromMap”>                                <MapToIcon>                                  <Column Name=”HTML_x0020_File_x0020_Type”/>                                  <HTML>|</HTML>                                  <Column Name=”File_x0020_Type”/>                                </MapToIcon>                              </SetVar>                              <IfEqual>                                <Expr1>                                  <GetVar Name=”FolderIconFromMap”/>                                </Expr1>                                <Expr2>                                  <MapToIcon/>                                </Expr2>                                <Then>                                  <HTML>folder.gif</HTML>                                </Then>                                <Else>                                  <GetVar Name=”FolderIconFromMap”/>                                </Else>                              </IfEqual>                            </Else>                          </IfEqual>                        </Then>                        <Else>                          <MapToIcon>                            <Column Name=”HTML_x0020_File_x0020_Type”/>                            <HTML>|</HTML>                            <Column Name=”File_x0020_Type”/>                          </MapToIcon>                        </Else>                      </IfEqual>                    </Then>                    <Else>                      <MapToIcon>                        <Column Name=”IconOverlay”/>                      </MapToIcon>                    </Else>                  </IfEqual>                </SetVar>                <HTML><![CDATA[<img border=”0″ alt=”]]></HTML>                <GetVar Name=”DocIconAltText”/>                <HTML><![CDATA[” title=”]]></HTML>                <GetVar Name=”DocIconAltText”/>                <HTML><![CDATA[” src=”/_layouts/15/images/]]></HTML>                <GetVar Name=”DocIconFileName”/>                <HTML><![CDATA[” />]]></HTML>              </SetVar>              <SetVar Name=”DocIconOverlayImg”>                <IfEqual>                  <Expr1>                    <Column Name=”IconOverlay”/>                  </Expr1>                  <Expr2/>                  <Then>                    <IfEqual>                      <Expr1>                        <Column Name=”CheckoutUser”/>                      </Expr1>                      <Expr2/>                      <Else>                        <SetVar Name=”DocIconOverlayAltText”>                          <LookupColumn Name=”FileLeafRef” HTMLEncode=”TRUE”/>                          <HTML><![CDATA[10;Checked Out To: ]]></HTML>                          <LookupColumn Name=”CheckoutUser” ShowField=”Title” HTMLEncode=”TRUE”/>                        </SetVar>                        <HTML><![CDATA[<img class=”ms-vb-icon-overlay” alt=”]]></HTML>                        <GetVar Name=”DocIconOverlayAltText”/>                        <HTML><![CDATA[” title=”]]></HTML>                        <GetVar Name=”DocIconOverlayAltText”/>                        <HTML><![CDATA[” src=”/_layouts/15/images/checkoutoverlay.gif” />]]></HTML>                      </Else>                    </IfEqual>                  </Then>                  <Else>                    <HTML><![CDATA[<img class=”ms-vb-icon-overlay” alt=”*” src=”/_layouts/15/images/]]></HTML>                    <MapToOverlay>                      <Column Name=”IconOverlay”/>                    </MapToOverlay>                    <HTML><![CDATA[” />]]></HTML>                  </Else>                </IfEqual>              </SetVar>              <IfEqual>                <Expr1>                  <LookupColumn Name=”FSObjType”/>                </Expr1>                <Expr2>1</Expr2>                <Then>                  <FieldSwitch>                    <Expr>                      <GetVar Name=”RecursiveView”/>                    </Expr>                    <Case Value=”1″>                      <GetVar Name=”DocIconImg”/>                      <GetVar Name=”DocIconOverlayImg”/>                    </Case>                    <Default>                      <SetVar Name=”UnencodedFilterLink”>                        <SetVar Name=”RootFolder”>                          <HTML>/</HTML>                          <LookupColumn Name=”FileRef”/>                        </SetVar>                        <SetVar Name=”SkipHost”>1</SetVar>                        <SetVar Name=”FolderCTID”>                          <FieldSwitch>                            <Expr>                              <ListProperty Select=”EnableContentTypes”/>                            </Expr>                            <Case Value=”1″>                              <Column Name=”ContentTypeId”/>                            </Case>                          </FieldSwitch>                        </SetVar>                        <FilterLink Default=”” Paged=”FALSE”/>                      </SetVar>                      <FieldSwitch>                        <Expr>                          <GetVar Name=”FileDialog”/>                        </Expr>                        <Case Value=”1″>                          <GetVar Name=”DocIconImg”/>                          <GetVar Name=”DocIconOverlayImg”/>                        </Case>                        <Default>                          <HTML><![CDATA[<a href=”]]></HTML>                          <GetVar Name=”UnencodedFilterLink” HTMLEncode=”TRUE”/>                          <HTML><![CDATA[” onmousedown=”javascript:VerifyFolderHref(this,event, ‘]]></HTML>                          <ScriptQuote NotAddingQuote=”TRUE”>                            <GetVar Name=”UnencodedFilterLink”/>                          </ScriptQuote>                          <HTML><![CDATA[‘,’]]></HTML>                          <ScriptQuote NotAddingQuote=”TRUE”>                            <ServerProperty Select=”HtmlTrProgId”>                              <Column Name=”File_x0020_Type”/>                            </ServerProperty>                          </ScriptQuote>                          <HTML><![CDATA[‘,’]]></HTML>                          <ScriptQuote NotAddingQuote=”TRUE”>                            <ListProperty Select=”DefaultItemOpen”/>                          </ScriptQuote>                          <HTML><![CDATA[‘,’]]></HTML>                          <ScriptQuote NotAddingQuote=”TRUE”>                            <MapToControl>                              <Column Name=”HTML_x0020_File_x0020_Type”/>                              <HTML>|</HTML>                              <Column Name=”File_x0020_Type”/>                            </MapToControl>                          </ScriptQuote>                          <HTML><![CDATA[‘,’]]></HTML>                          <ScriptQuote NotAddingQuote=”TRUE”>                            <Column Name=”HTML_x0020_File_x0020_Type”/>                          </ScriptQuote>                          <HTML><![CDATA[‘,’]]></HTML>                          <ScriptQuote NotAddingQuote=”TRUE”>                            <ServerProperty Select=”GetServerFileRedirect”>                              <Field Name=”ServerUrl”/>                              <HTML>|</HTML>                              <Column Name=”HTML_x0020_File_x0020_Type”/>                            </ServerProperty>                          </ScriptQuote>                          <HTML><![CDATA[‘)”]]></HTML>                          <HTML><![CDATA[” onclick=”return HandleFolder(this,event, ‘]]></HTML>                          <ScriptQuote NotAddingQuote=”TRUE”>                            <GetVar Name=”UnencodedFilterLink”/>                          </ScriptQuote>                          <HTML><![CDATA[‘,’]]></HTML>                          <ScriptQuote NotAddingQuote=”TRUE”>                            <ServerProperty Select=”HtmlTransform”/>                          </ScriptQuote>                          <HTML><![CDATA[‘,’]]></HTML>                          <ScriptQuote NotAddingQuote=”TRUE”>                            <ServerProperty Select=”HtmlTrAcceptType”>                              <Column Name=”File_x0020_Type”/>                            </ServerProperty>                          </ScriptQuote>                          <HTML><![CDATA[‘,’]]></HTML>                          <ScriptQuote NotAddingQuote=”TRUE”>                            <ServerProperty Select=”HtmlTrHandleUrl”>                              <Column Name=”File_x0020_Type”/>                            </ServerProperty>                          </ScriptQuote>                          <HTML><![CDATA[‘,’]]></HTML>                          <ScriptQuote NotAddingQuote=”TRUE”>                            <ServerProperty Select=”HtmlTrProgId”>                              <Column Name=”File_x0020_Type”/>                            </ServerProperty>                          </ScriptQuote>                          <HTML><![CDATA[‘,’]]></HTML>                          <ScriptQuote NotAddingQuote=”TRUE”>                            <ListProperty Select=”DefaultItemOpen”/>                          </ScriptQuote>                          <HTML><![CDATA[‘,’]]></HTML>                          <ScriptQuote NotAddingQuote=”TRUE”>                            <MapToControl>                              <Column Name=”HTML_x0020_File_x0020_Type”/>                              <HTML>|</HTML>                              <Column Name=”File_x0020_Type”/>                            </MapToControl>                          </ScriptQuote>                          <HTML><![CDATA[‘,’]]></HTML>                          <ScriptQuote NotAddingQuote=”TRUE”>                            <Column Name=”HTML_x0020_File_x0020_Type”/>                          </ScriptQuote>                          <HTML><![CDATA[‘,’]]></HTML>                          <ScriptQuote NotAddingQuote=”TRUE”>                            <ServerProperty Select=”GetServerFileRedirect”>                              <Field Name=”ServerUrl”/>                              <HTML>|</HTML>                              <Column Name=”HTML_x0020_File_x0020_Type”/>                            </ServerProperty>                          </ScriptQuote>                          <HTML><![CDATA[‘,’]]></HTML>                          <ScriptQuote NotAddingQuote=”TRUE”>                            <Column Name=”CheckoutUser”/>                          </ScriptQuote>                          <HTML><![CDATA[‘,’]]></HTML>                          <ScriptQuote NotAddingQuote=”TRUE”>                            <UserID AllowAnonymous=”TRUE”/>                          </ScriptQuote>                          <HTML><![CDATA[‘,’]]></HTML>                          <ScriptQuote NotAddingQuote=”TRUE”>                            <ListProperty Select=”ForceCheckout”/>                          </ScriptQuote>                          <HTML><![CDATA[‘,’]]></HTML>                          <ScriptQuote NotAddingQuote=”TRUE”>                            <Field Name=”IsCheckedoutToLocal”/>                          </ScriptQuote>                          <HTML><![CDATA[‘,’]]></HTML>                          <ScriptQuote NotAddingQuote=”TRUE”>                            <Field Name=”PermMask”/>                          </ScriptQuote>                          <HTML><![CDATA[‘);”>]]></HTML>                          <GetVar Name=”DocIconImg”/>                          <GetVar Name=”DocIconOverlayImg”/>                          <HTML><![CDATA[</a>]]></HTML>                        </Default>                      </FieldSwitch>                    </Default>                  </FieldSwitch>                </Then>                <Else>                  <HTML><![CDATA[<a href=”]]></HTML>                  <Field Name=”ServerUrl” URLEncodeAsURL=”TRUE”/>                  <HTML><![CDATA[” onclick=”return DispEx(this,event,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <ServerProperty Select=”HtmlTransform”/>                  </ScriptQuote>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <ServerProperty Select=”HtmlTrAcceptType”>                      <Column Name=”File_x0020_Type”/>                    </ServerProperty>                  </ScriptQuote>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <ServerProperty Select=”HtmlTrHandleUrl”>                      <Column Name=”File_x0020_Type”/>                    </ServerProperty>                  </ScriptQuote>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <ServerProperty Select=”HtmlTrProgId”>                      <Column Name=”File_x0020_Type”/>                    </ServerProperty>                  </ScriptQuote>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <ListProperty Select=”DefaultItemOpen”/>                  </ScriptQuote>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <MapToControl>                      <Column Name=”HTML_x0020_File_x0020_Type”/>                      <HTML>|</HTML>                      <Column Name=”File_x0020_Type”/>                    </MapToControl>                  </ScriptQuote>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <Column Name=”HTML_x0020_File_x0020_Type”/>                  </ScriptQuote>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <ServerProperty Select=”GetServerFileRedirect”>                      <Field Name=”ServerUrl”/>                      <HTML>|</HTML>                      <Column Name=”HTML_x0020_File_x0020_Type”/>                    </ServerProperty>                  </ScriptQuote>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <Column Name=”CheckoutUser”/>                  </ScriptQuote>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <UserID AllowAnonymous=”TRUE”/>                  </ScriptQuote>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <ListProperty Select=”ForceCheckout”/>                  </ScriptQuote>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <Field Name=”IsCheckedoutToLocal”/>                  </ScriptQuote>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <Field Name=”PermMask”/>                  </ScriptQuote>                  <HTML><![CDATA[‘)”>]]></HTML>                  <GetVar Name=”DocIconImg”/>                  <GetVar Name=”DocIconOverlayImg”/>                  <HTML><![CDATA[</a>]]></HTML>                </Else>              </IfEqual>            </DisplayPattern>          </Field>          <Field ID=”{105f76ce-724a-4bba-aece-f81f2fce58f5}” ReadOnly=”TRUE” Hidden=”TRUE” Type=”Computed” Name=”ServerUrl” DisplayName=”Server Relative URL” Filterable=”FALSE” RenderXMLUsingPattern=”TRUE” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”ServerUrl” FromBaseType=”TRUE”>            <FieldRefs>              <FieldRef Name=”FileRef”/>            </FieldRefs>            <DisplayPattern>              <HTML>/</HTML>              <LookupColumn Name=”FileRef”/>            </DisplayPattern>          </Field>          <Field ID=”{7177cfc7-f399-4d4d-905d-37dd51bc90bf}” ReadOnly=”TRUE” Hidden=”TRUE” Type=”Computed” Name=”EncodedAbsUrl” DisplayName=”Encoded Absolute URL” Filterable=”FALSE” RenderXMLUsingPattern=”TRUE” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”EncodedAbsUrl” FromBaseType=”TRUE”>            <FieldRefs>              <FieldRef Name=”FileRef”/>            </FieldRefs>            <DisplayPattern>              <HttpHost URLEncodeAsURL=”TRUE”/>              <HTML>/</HTML>              <LookupColumn Name=”FileRef” IncludeVersions=”TRUE” URLEncodeAsURL=”TRUE”/>            </DisplayPattern>          </Field>          <Field ID=”{7615464b-559e-4302-b8e2-8f440b913101}” ReadOnly=”TRUE” Hidden=”TRUE” Type=”Computed” Name=”BaseName” DisplayName=”Name” Filterable=”FALSE” RenderXMLUsingPattern=”TRUE” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”BaseName” FromBaseType=”TRUE”>            <FieldRefs>              <FieldRef Name=”FileLeafRef”/>              <FieldRef Name=”FSObjType”/>            </FieldRefs>            <DisplayPattern>              <IfEqual>                <Expr1>                  <LookupColumn Name=”FSObjType”/>                </Expr1>                <Expr2>1</Expr2>                <Then>                  <LookupColumn Name=”FileLeafRef” HTMLEncode=”TRUE”/>                </Then>                <Else>                  <UrlBaseName HTMLEncode=”TRUE”>                    <LookupColumn Name=”FileLeafRef”/>                  </UrlBaseName>                </Else>              </IfEqual>            </DisplayPattern>          </Field>          <Field ID=”{78a07ba4-bda8-4357-9e0f-580d64487583}” Type=”Computed” ReadOnly=”TRUE” Name=”FileSizeDisplay” DisplayName=”File Size” AuthoringInfo=”” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”FileSizeDisplay” FromBaseType=”TRUE”>            <FieldRefs>              <FieldRef Name=”File_x0020_Size”/>              <FieldRef Name=”FSObjType”/>            </FieldRefs>            <DisplayPattern>              <Switch>                <Expr>                  <LookupColumn Name=”FSObjType”/>                </Expr>                <Case Value=”0″>                  <LookupColumn Name=”File_x0020_Size”/>                  <HTML> KB</HTML>                </Case>              </Switch>            </DisplayPattern>          </Field>          <Field ID=”{687c7f94-686a-42d3-9b67-2782eac4b4f8}” Name=”MetaInfo” DisplaceOnUpgrade=”TRUE” Hidden=”TRUE” ShowInFileDlg=”FALSE” Type=”Lookup” DisplayName=”Property Bag” List=”Docs” FieldRef=”ID” ShowField=”MetaInfo” JoinColName=”DoclibRowId” JoinType=”INNER” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”MetaInfo” FromBaseType=”TRUE”/>          <Field ID=”{43bdd51b-3c5b-4e78-90a8-fb2087f71e70}” ColName=”tp_Level” RowOrdinal=”0″ ReadOnly=”TRUE” Type=”Integer” Name=”_Level” DisplaceOnUpgrade=”TRUE” DisplayName=”Level” Hidden=”TRUE” Required=”FALSE” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”_Level” FromBaseType=”TRUE”/>          <Field ID=”{c101c3e7-122d-4d4d-bc34-58e94a38c816}” ColName=”tp_IsCurrentVersion” DisplaceOnUpgrade=”TRUE” RowOrdinal=”0″ ReadOnly=”TRUE” Type=”Boolean” Name=”_IsCurrentVersion” DisplayName=”Is Current Version” Hidden=”TRUE” Required=”FALSE” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”_IsCurrentVersion” FromBaseType=”TRUE”/>          <Field ID=”{b824e17e-a1b3-426e-aecf-f0184d900485}” Name=”ItemChildCount” DisplaceOnUpgrade=”TRUE” ReadOnly=”TRUE” ShowInFileDlg=”FALSE” Type=”Lookup” DisplayName=”Item Child Count” List=”Docs” FieldRef=”ID” ShowField=”ItemChildCount” JoinColName=”DoclibRowId” JoinRowOrdinal=”0″ JoinType=”INNER” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”ItemChildCount” FromBaseType=”TRUE”/>          <Field ID=”{960ff01f-2b6d-4f1b-9c3f-e19ad8927341}” Name=”FolderChildCount” DisplaceOnUpgrade=”TRUE” ReadOnly=”TRUE” ShowInFileDlg=”FALSE” Type=”Lookup” DisplayName=”Folder Child Count” List=”Docs” FieldRef=”ID” ShowField=”FolderChildCount” JoinColName=”DoclibRowId” JoinRowOrdinal=”0″ JoinType=”INNER” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”FolderChildCount” FromBaseType=”TRUE”/>          <Field ID=”{6bfaba20-36bf-44b5-a1b2-eb6346d49716}” ColName=”tp_AppAuthor” RowOrdinal=”0″ ReadOnly=”TRUE” Hidden=”FALSE” Type=”Lookup” List=”AppPrincipals” Name=”AppAuthor” DisplayName=”App Created By” ShowField=”Title” JoinColName=”Id” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”AppAuthor” FromBaseType=”TRUE”/>          <Field ID=”{e08400f3-c779-4ed2-a18c-ab7f34caa318}” ColName=”tp_AppEditor” RowOrdinal=”0″ ReadOnly=”TRUE” Hidden=”FALSE” Type=”Lookup” List=”AppPrincipals” Name=”AppEditor” DisplayName=”App Modified By” ShowField=”Title” JoinColName=”Id” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”AppEditor” FromBaseType=”TRUE”/>          <Field ID=”{b1f7969b-ea65-42e1-8b54-b588292635f2}” ReadOnly=”TRUE” Type=”Computed” Name=”SelectTitle” Filterable=”FALSE” Sortable=”FALSE” Hidden=”TRUE” CanToggleHidden=”TRUE” DisplayName=”Select” Dir=”” AuthoringInfo=”(web part connection)” HeaderImage=”blank.gif” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”SelectTitle” FromBaseType=”TRUE”>            <FieldRefs>              <FieldRef Name=”ID”/>            </FieldRefs>            <DisplayPattern>              <IfEqual>                <Expr1>                  <GetVar Name=”SelectedID”/>                </Expr1>                <Expr2>                  <Column Name=”ID”/>                </Expr2>                <Then>                  <HTML><![CDATA[<img border=”0″ align=”absmiddle” style=”cursor: pointer” src=”/_layouts/15/images/rbsel.gif?rev=23″ alt=”]]></HTML>                  <HTML>Selected</HTML>                  <HTML><![CDATA[“/>]]></HTML>                </Then>                <Else>                  <HTML><![CDATA[<a href=”javascript:SelectField(‘]]></HTML>                  <GetVar Name=”View”/>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <Column Name=”ID”/>                  </ScriptQuote>                  <HTML><![CDATA[‘);return false;” onclick=”javascript:SelectField(‘]]></HTML>                  <GetVar Name=”View”/>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <Column Name=”ID”/>                  </ScriptQuote>                  <HTML><![CDATA[‘);return false;” target=”_self”>]]></HTML>                  <HTML><![CDATA[<img border=”0″ align=”absmiddle” style=”cursor: pointer” src=”/_layouts/15/images/rbunsel.gif?rev=23″  alt=”]]></HTML>                  <HTML>Normal</HTML>                  <HTML><![CDATA[“/>]]></HTML>                  <HTML><![CDATA[</a>]]></HTML>                </Else>              </IfEqual>            </DisplayPattern>          </Field>          <Field ID=”{5f47e085-2150-41dc-b661-442f3027f552}” ReadOnly=”TRUE” Type=”Computed” Name=”SelectFilename” DisplayName=”Select” Hidden=”TRUE” CanToggleHidden=”TRUE” Sortable=”FALSE” Filterable=”FALSE” AuthoringInfo=”(web part connection)” HeaderImage=”blank.gif” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”SelectFilename” FromBaseType=”TRUE”>            <FieldRefs>              <FieldRef Name=”ID”/>            </FieldRefs>            <DisplayPattern>              <IfEqual>                <Expr1>                  <GetVar Name=”SelectedID”/>                </Expr1>                <Expr2>                  <Column Name=”ID”/>                </Expr2>                <Then>                  <HTML><![CDATA[<img align=”absmiddle” style=”cursor: pointer” src=”/_layouts/15/images/rbsel.gif?rev=23″ alt=”]]></HTML>                  <HTML>Selected</HTML>                  <HTML><![CDATA[“/>]]></HTML>                </Then>                <Else>                  <HTML><![CDATA[<a href=”javascript:SelectField(‘]]></HTML>                  <GetVar Name=”View”/>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <Column Name=”ID”/>                  </ScriptQuote>                  <HTML><![CDATA[‘);return false;” onclick=”javascript:SelectField(‘]]></HTML>                  <GetVar Name=”View”/>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <Column Name=”ID”/>                  </ScriptQuote>                  <HTML><![CDATA[‘);return false;” target=”_self”>]]></HTML>                  <HTML><![CDATA[<img border=”0″ align=”absmiddle” style=”cursor: pointer” src=”/_layouts/15/images/rbunsel.gif?rev=23″  alt=”]]></HTML>                  <HTML>Normal</HTML>                  <HTML><![CDATA[“/>]]></HTML>                  <HTML><![CDATA[</a>]]></HTML>                </Else>              </IfEqual>            </DisplayPattern>          </Field>          <Field ID=”{503f1caa-358e-4918-9094-4a2cdc4bc034}” ReadOnly=”TRUE” Type=”Computed” Name=”Edit” Sortable=”FALSE” Filterable=”FALSE” DisplayName=”Edit” ClassInfo=”Icon” AuthoringInfo=”(link to edit item)” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”Edit” FromBaseType=”TRUE”>            <FieldRefs>              <FieldRef Name=”IsCheckedoutToLocal”/>              <FieldRef Name=”ServerUrl”/>              <FieldRef Name=”CheckedOutUserId”/>            </FieldRefs>            <DisplayPattern>              <IfHasRights>                <RightsChoices>                  <RightsGroup PermEditListItems=”required”/>                </RightsChoices>                <Then>                  <HTML><![CDATA[<a href=”]]></HTML>                  <URL Cmd=”Edit”/>                  <HTML><![CDATA[” onclick=”EditItemWithCheckoutAlert(event, this.href, ‘]]></HTML>                  <IfEqual>                    <Expr1>                      <ListProperty Select=”ForceCheckout”/>                    </Expr1>                    <Expr2>1</Expr2>                    <Then>                      <IfEqual>                        <Expr1>                          <Field Name=”CheckedOutUserId”/>                        </Expr1>                        <Expr2/>                        <Then>                          <IfEqual>                            <Expr1>                              <LookupColumn Name=”FSObjType”/>                            </Expr1>                            <Expr2>1</Expr2>                            <Then>                              <HTML><![CDATA[0]]></HTML>                            </Then>                            <Else>                              <HTML><![CDATA[1]]></HTML>                            </Else>                          </IfEqual>                        </Then>                        <Else>                          <HTML><![CDATA[0]]></HTML>                        </Else>                      </IfEqual>                    </Then>                    <Else>                      <HTML><![CDATA[0]]></HTML>                    </Else>                  </IfEqual>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <Field Name=”IsCheckedoutToLocal”/>                  </ScriptQuote>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <Field Name=”ServerUrl”/>                  </ScriptQuote>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <HttpVDir/>                  </ScriptQuote>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <Field Name=”CheckedOutUserId”/>                  </ScriptQuote>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <UserID AllowAnonymous=”TRUE”/>                  </ScriptQuote>                  <HTML><![CDATA[‘) ;return false;” target=”_self”>]]></HTML>                  <HTML><![CDATA[<img border=”0″ alt=”]]></HTML>                  <HTML>Edit Document Properties</HTML>                  <HTML><![CDATA[” src=”/_layouts/images/edititem.gif”/>]]></HTML>                  <HTML><![CDATA[</a>]]></HTML>                </Then>                <Else>                  <HTML><![CDATA[160;]]></HTML>                </Else>              </IfHasRights>            </DisplayPattern>          </Field>          <Field ID=”{d4e44a66-ee3a-4d02-88c9-4ec5ff3f4cd5}” ColName=”tp_Version” RowOrdinal=”0″ Hidden=”TRUE” ReadOnly=”TRUE” Type=”Integer” SetAs=”owshiddenversion” Name=”owshiddenversion” DisplayName=”owshiddenversion” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”owshiddenversion” FromBaseType=”TRUE”/>          <Field ID=”{7841bf41-43d0-4434-9f50-a673baef7631}” ColName=”tp_UIVersion” RowOrdinal=”0″ ReadOnly=”TRUE” Type=”Integer” Name=”_UIVersion” DisplaceOnUpgrade=”TRUE” DisplayName=”UI Version” Hidden=”TRUE” CanToggleHidden=”TRUE” Required=”FALSE” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”_UIVersion” FromBaseType=”TRUE”/>          <Field ID=”{dce8262a-3ae9-45aa-aab4-83bd75fb738a}” ColName=”tp_UIVersionString” RowOrdinal=”0″ ReadOnly=”TRUE” Type=”Text” Name=”_UIVersionString” DisplaceOnUpgrade=”TRUE” DisplayName=”Version” CanToggleHidden=”TRUE” Required=”FALSE” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”_UIVersionString” FromBaseType=”TRUE”/>          <Field ID=”{50a54da4-1528-4e67-954a-e2d24f1e9efb}” Name=”InstanceID” DisplayName=”Instance ID” ColName=”tp_InstanceID” RowOrdinal=”0″ ReadOnly=”TRUE” Hidden=”TRUE” Type=”Integer” Min=”0″ Max=”99991231″ Filterable=”TRUE” Sortable=”TRUE” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”InstanceID” FromBaseType=”TRUE”/>          <Field ID=”{ca4addac-796f-4b23-b093-d2a3f65c0774}” ColName=”tp_ItemOrder” RowOrdinal=”0″ Name=”Order” DisplayName=”Order” Type=”Number” Hidden=”TRUE” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”Order” FromBaseType=”TRUE”/>          <Field ID=”{ae069f25-3ac2-4256-b9c3-15dbc15da0e0}” ColName=”tp_GUID” RowOrdinal=”0″ ReadOnly=”TRUE” Hidden=”TRUE” Type=”Guid” Name=”GUID” DisplaceOnUpgrade=”TRUE” DisplayName=”GUID” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”GUID” FromBaseType=”TRUE”/>          <Field ID=”{f1e020bc-ba26-443f-bf2f-b68715017bbc}” ColName=”tp_WorkflowVersion” RowOrdinal=”0″ Hidden=”TRUE” ReadOnly=”TRUE” Type=”Integer” Name=”WorkflowVersion” DisplaceOnUpgrade=”TRUE” DisplayName=”Workflow Version” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”WorkflowVersion” FromBaseType=”TRUE”/>          <Field ID=”{de8beacf-5505-47cd-80a6-aa44e7ffe2f4}” ColName=”tp_WorkflowInstanceID” RowOrdinal=”0″ ReadOnly=”TRUE” Hidden=”TRUE” Type=”Guid” Name=”WorkflowInstanceID” DisplaceOnUpgrade=”TRUE” DisplayName=”Workflow Instance ID” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”WorkflowInstanceID” FromBaseType=”TRUE”/>          <Field ID=”{bc1a8efb-0f4c-49f8-a38f-7fe22af3d3e0}” Name=”ParentVersionString” DisplaceOnUpgrade=”TRUE” ReadOnly=”TRUE” DisplayName=”Source Version (Converted Document)” ShowInFileDlg=”FALSE” Type=”Lookup” List=”Docs” FieldRef=”ID” ShowField=”ParentVersionString” JoinColName=”DoclibRowId” JoinType=”INNER” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”ParentVersionString” FromBaseType=”TRUE”/>          <Field ID=”{774eab3a-855f-4a34-99da-69dc21043bec}” Name=”ParentLeafName” DisplaceOnUpgrade=”TRUE” ReadOnly=”TRUE” DisplayName=”Source Name (Converted Document)” ShowInFileDlg=”FALSE” Type=”Lookup” List=”Docs” FieldRef=”ID” ShowField=”ParentLeafName” JoinColName=”DoclibRowId” JoinType=”INNER” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”ParentLeafName” FromBaseType=”TRUE”/>          <Field ID=”{8e69e8e8-df8a-45dc-858a-1b806dde24c0}” Name=”DocConcurrencyNumber” DisplaceOnUpgrade=”TRUE” Hidden=”TRUE” ReadOnly=”TRUE” DisplayName=”Document Concurrency Number” ShowInFileDlg=”FALSE” Type=”Lookup” List=”Docs” FieldRef=”ID” ShowField=”DocConcurrencyNumber” JoinColName=”DoclibRowId” JoinType=”INNER” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”DocConcurrencyNumber” FromBaseType=”TRUE”/>          <Field ID=”{e52012a0-51eb-4c0c-8dfb-9b8a0ebedcb6}” ReadOnly=”TRUE” Type=”Computed” Name=”Combine” DisplaceOnUpgrade=”TRUE” DisplayName=”Merge” Filterable=”FALSE” Sortable=”FALSE” Hidden=”TRUE” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”Combine”>            <FieldRefs>              <FieldRef Name=”FSObjType” Key=”Primary”/>              <FieldRef Name=”EncodedAbsUrl”/>              <FieldRef Name=”TemplateUrl”/>            </FieldRefs>            <DisplayPattern>              <IfEqual>                <Expr1>                  <Field Name=”FSObjType”/>                </Expr1>                <Expr2>0</Expr2>                <Then>                  <HTML><![CDATA[<input id=”chkCombine” type=”CHECKBOX” title=”Merge]]” href=”]]></HTML>                  <Field Name=”EncodedAbsUrl”/>                  <HTML><![CDATA[“>]]></HTML>                  <HTML><![CDATA[<input id=”chkUrl” type=”HIDDEN” href=”]]></HTML>                  <Column Name=”TemplateUrl” HTMLEncode=”TRUE”/>                  <HTML><![CDATA[“>]]></HTML>                  <HTML><![CDATA[<input id=”chkProgID” type=”HIDDEN” href=”]]></HTML>                  <MapToControl>                    <HTML>|</HTML>                    <GetFileExtension>                      <Column Name=”TemplateUrl” HTMLEncode=”TRUE”/>                    </GetFileExtension>                  </MapToControl>                  <HTML><![CDATA[“>]]></HTML>                </Then>              </IfEqual>            </DisplayPattern>          </Field>          <Field ID=”{5d36727b-bcb2-47d2-a231-1f0bc63b7439}” ReadOnly=”TRUE” Type=”Computed” Name=”RepairDocument” DisplaceOnUpgrade=”TRUE” DisplayName=”Relink” Filterable=”FALSE” Sortable=”FALSE” Hidden=”TRUE” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”RepairDocument”>            <FieldRefs>              <FieldRef Name=”FSObjType” Key=”Primary”/>              <FieldRef Name=”ID”/>            </FieldRefs>            <DisplayPattern>              <IfEqual>                <Expr1>                  <Field Name=”FSObjType”/>                </Expr1>                <Expr2>0</Expr2>                <Then>                  <HTML><![CDATA[<input id=”chkRepair” type=”CHECKBOX” title=”Relink” docid=”]]></HTML>                  <Field Name=”ID”/>                  <HTML><![CDATA[“>]]></HTML>                </Then>              </IfEqual>            </DisplayPattern>          </Field>        </Fields>        <ContentTypes>          <ContentType ID=”0x0101005841B6968E02404B96D5E429EDA1FA59″ Name=”Document” Group=”Document Content Types” Description=”Create a new document.” Version=”0″ FeatureId=”{695b6570-a48b-4a8e-8ea5-26ea7fc1d162}”>            <Folder TargetName=”Forms/Document”/>            <FieldRefs>              <FieldRef ID=”{c042a256-787d-4a6f-8a8a-cf6ab767f12d}” Name=”ContentType”/>              <FieldRef ID=”{5f47e085-2150-41dc-b661-442f3027f552}” Name=”SelectFilename”/>              <FieldRef ID=”{8553196d-ec8d-4564-9861-3dbe931050c8}” Name=”FileLeafRef” Required=”TRUE”/>              <FieldRef ID=”{8c06beca-0777-48f7-91c7-6da68bc07b69}” Name=”Created” Hidden=”TRUE”/>              <FieldRef ID=”{fa564e0f-0c70-4ab9-b863-0177e6ddd247}” Name=”Title” Required=”FALSE” ShowInNewForm=”FALSE” ShowInEditForm=”TRUE”/>              <FieldRef ID=”{28cf69c5-fa48-462a-b5cd-27b6f9d2bd5f}” Name=”Modified” Hidden=”TRUE”/>              <FieldRef ID=”{822c78e3-1ea9-4943-b449-57863ad33ca9}” Name=”Modified_x0020_By” Hidden=”FALSE”/>              <FieldRef ID=”{4dd7e525-8d6b-4cb4-9d3e-44ee25f973eb}” Name=”Created_x0020_By” Hidden=”FALSE”/>            </FieldRefs>            <XmlDocuments>              <XmlDocument NamespaceURI=”http://schemas.microsoft.com/sharepoint/v3/contenttype/forms”>PEZvcm1UZW1wbGF0ZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vc2hhcmVwb2ludC92My9jb250ZW50dHlwZS9mb3JtcyI+PERpc3BsYXk+RG9jdW1lbnRMaWJyYXJ5Rm9ybTwvRGlzcGxheT48RWRpdD5Eb2N1bWVudExpYnJhcnlGb3JtPC9FZGl0PjxOZXc+RG9jdW1lbnRMaWJyYXJ5Rm9ybTwvTmV3PjwvRm9ybVRlbXBsYXRlcz4=</XmlDocument>            </XmlDocuments>          </ContentType>          <ContentType ID=”0x012000F883BB94D64DA645A4434A87E0A7F82E” Name=”Folder” Group=”Folder Content Types” Description=”Create a new folder.” Sealed=”TRUE” Version=”0″ FeatureId=”{695b6570-a48b-4a8e-8ea5-26ea7fc1d162}”>            <FieldRefs>              <FieldRef ID=”{c042a256-787d-4a6f-8a8a-cf6ab767f12d}” Name=”ContentType”/>              <FieldRef ID=”{fa564e0f-0c70-4ab9-b863-0177e6ddd247}” Name=”Title” Required=”FALSE” Hidden=”TRUE”/>              <FieldRef ID=”{8553196d-ec8d-4564-9861-3dbe931050c8}” Name=”FileLeafRef” Required=”TRUE” Hidden=”FALSE”/>              <FieldRef ID=”{b824e17e-a1b3-426e-aecf-f0184d900485}” Name=”ItemChildCount”/>              <FieldRef ID=”{960ff01f-2b6d-4f1b-9c3f-e19ad8927341}” Name=”FolderChildCount”/>            </FieldRefs>            <XmlDocuments>              <XmlDocument NamespaceURI=”http://schemas.microsoft.com/sharepoint/v3/contenttype/forms”>PEZvcm1UZW1wbGF0ZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vc2hhcmVwb2ludC92My9jb250ZW50dHlwZS9mb3JtcyI+PERpc3BsYXk+TGlzdEZvcm08L0Rpc3BsYXk+PEVkaXQ+TGlzdEZvcm08L0VkaXQ+PE5ldz5MaXN0Rm9ybTwvTmV3PjwvRm9ybVRlbXBsYXRlcz4=</XmlDocument>            </XmlDocuments>          </ContentType>          <ContentType ID=”0x01010900E9216EC6C932CA40BD6E7943876C456A” Name=”Basic Page” Group=”Document Content Types” Description=”Create a new basic page.” Version=”0″ FeatureId=”{695b6570-a48b-4a8e-8ea5-26ea7fc1d162}”>            <Folder TargetName=”Forms/Basic Page”/>            <FieldRefs>              <FieldRef ID=”{c042a256-787d-4a6f-8a8a-cf6ab767f12d}” Name=”ContentType”/>              <FieldRef ID=”{5f47e085-2150-41dc-b661-442f3027f552}” Name=”SelectFilename”/>              <FieldRef ID=”{8553196d-ec8d-4564-9861-3dbe931050c8}” Name=”FileLeafRef” Required=”TRUE”/>              <FieldRef ID=”{8c06beca-0777-48f7-91c7-6da68bc07b69}” Name=”Created” Hidden=”TRUE”/>              <FieldRef ID=”{fa564e0f-0c70-4ab9-b863-0177e6ddd247}” Name=”Title” Required=”FALSE” ShowInNewForm=”FALSE” ShowInEditForm=”TRUE”/>              <FieldRef ID=”{28cf69c5-fa48-462a-b5cd-27b6f9d2bd5f}” Name=”Modified” Hidden=”TRUE”/>              <FieldRef ID=”{822c78e3-1ea9-4943-b449-57863ad33ca9}” Name=”Modified_x0020_By” Hidden=”FALSE”/>              <FieldRef ID=”{4dd7e525-8d6b-4cb4-9d3e-44ee25f973eb}” Name=”Created_x0020_By” Hidden=”FALSE”/>            </FieldRefs>            <DocumentTemplate TargetName=”/_layouts/15/bpcf.aspx”/>            <XmlDocuments>              <XmlDocument NamespaceURI=”http://schemas.microsoft.com/sharepoint/v3/contenttype/forms”>PEZvcm1UZW1wbGF0ZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vc2hhcmVwb2ludC92My9jb250ZW50dHlwZS9mb3JtcyI+PERpc3BsYXk+RG9jdW1lbnRMaWJyYXJ5Rm9ybTwvRGlzcGxheT48RWRpdD5Eb2N1bWVudExpYnJhcnlGb3JtPC9FZGl0PjxOZXc+RG9jdW1lbnRMaWJyYXJ5Rm9ybTwvTmV3PjwvRm9ybVRlbXBsYXRlcz4=</XmlDocument>            </XmlDocuments>          </ContentType>          <ContentType ID=”0x01010200D5963C4B37B9CF43A3BA30F1653E9C90″ Name=”Picture” Group=”Document Content Types” Description=”Upload an image or a photograph.” Version=”0″ FeatureId=”{695b6570-a48b-4a8e-8ea5-26ea7fc1d162}”>            <Folder TargetName=”Forms/Picture”/>            <FieldRefs>              <FieldRef ID=”{c042a256-787d-4a6f-8a8a-cf6ab767f12d}” Name=”ContentType”/>              <FieldRef ID=”{5f47e085-2150-41dc-b661-442f3027f552}” Name=”SelectFilename”/>              <FieldRef ID=”{8553196d-ec8d-4564-9861-3dbe931050c8}” Name=”FileLeafRef” Required=”TRUE”/>              <FieldRef ID=”{8c06beca-0777-48f7-91c7-6da68bc07b69}” Name=”Created” Hidden=”TRUE”/>              <FieldRef ID=”{28cf69c5-fa48-462a-b5cd-27b6f9d2bd5f}” Name=”Modified” Hidden=”TRUE”/>              <FieldRef ID=”{822c78e3-1ea9-4943-b449-57863ad33ca9}” Name=”Modified_x0020_By” Hidden=”FALSE”/>              <FieldRef ID=”{4dd7e525-8d6b-4cb4-9d3e-44ee25f973eb}” Name=”Created_x0020_By” Hidden=”FALSE”/>              <FieldRef ID=”{8c0d0aac-9b76-4951-927a-2490abe13c0b}” Name=”PreviewOnForm”/>              <FieldRef ID=”{fa564e0f-0c70-4ab9-b863-0177e6ddd247}” Name=”Title” ShowInNewForm=”FALSE” ShowInFileDlg=”FALSE”/>              <FieldRef ID=”{c53a03f3-f930-4ef2-b166-e0f2210c13c0}” Name=”FileType”/>              <FieldRef ID=”{922551b8-c7e0-46a6-b7e3-3cf02917f68a}” Name=”ImageSize”/>              <FieldRef ID=”{7e68a0f9-af76-404c-9613-6f82bc6dc28c}” Name=”ImageWidth”/>              <FieldRef ID=”{1944c034-d61b-42af-aa84-647f2e74ca70}” Name=”ImageHeight”/>              <FieldRef ID=”{a5d2f824-bc53-422e-87fd-765939d863a5}” Name=”ImageCreateDate”/>              <FieldRef ID=”{9da97a8a-1da5-4a77-98d3-4bc10456e700}” Name=”Comments” ShowInNewForm=”FALSE” ShowInFileDlg=”FALSE”/>              <FieldRef ID=”{b9e6f3ae-5632-4b13-b636-9d1a2bd67120}” Name=”EncodedAbsThumbnailUrl”/>              <FieldRef ID=”{a1ca0063-779f-49f9-999c-a4a2e3645b07}” Name=”EncodedAbsWebImgUrl”/>              <FieldRef ID=”{7ebf72ca-a307-4c18-9e5b-9d89e1dae74f}” Name=”SelectedFlag”/>              <FieldRef ID=”{76d1cc87-56de-432c-8a2a-16e5ba5331b3}” Name=”NameOrTitle”/>              <FieldRef ID=”{de1baa4b-2117-473b-aa0c-4d824034142d}” Name=”RequiredField”/>              <FieldRef ID=”{b66e9b50-a28e-469b-b1a0-af0e45486874}” Name=”Keywords” ShowInNewForm=”FALSE” ShowInFileDlg=”FALSE”/>              <FieldRef ID=”{ac7bb138-02dc-40eb-b07a-84c15575b6e9}” Name=”Thumbnail”/>              <FieldRef ID=”{bd716b26-546d-43f2-b229-62699581fa9f}” Name=”Preview”/>              <FieldRef ID=”{1f43cd21-53c5-44c5-8675-b8bb86083244}” Name=”ThumbnailExists”/>              <FieldRef ID=”{3ca8efcd-96e8-414f-ba90-4c8c4a8bfef8}” Name=”PreviewExists”/>              <FieldRef ID=”{f39d44af-d3f3-4ae6-b43f-ac7330b5e9bd}” Name=”AlternateThumbnailUrl”/>            </FieldRefs>            <DocumentTemplate TargetName=”/_layouts/15/upload.aspx”/>            <XmlDocuments>              <XmlDocument NamespaceURI=”http://schemas.microsoft.com/sharepoint/v3/contenttype/forms”>PEZvcm1UZW1wbGF0ZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vc2hhcmVwb2ludC92My9jb250ZW50dHlwZS9mb3JtcyI+PERpc3BsYXk+RG9jdW1lbnRMaWJyYXJ5Rm9ybTwvRGlzcGxheT48RWRpdD5Eb2N1bWVudExpYnJhcnlGb3JtPC9FZGl0PjxOZXc+RG9jdW1lbnRMaWJyYXJ5Rm9ybTwvTmV3PjwvRm9ybVRlbXBsYXRlcz4=</XmlDocument>            </XmlDocuments>          </ContentType>          <ContentType ID=”0x01010100D50E45BD774B0D45BA56CB41A920A7D7″ Name=”Form” Group=”Document Content Types” Description=”Fill out this form.” Version=”1″ FeatureId=”{695b6570-a48b-4a8e-8ea5-26ea7fc1d162}”>            <Folder TargetName=”Forms/Form”/>            <FieldRefs>              <FieldRef ID=”{c042a256-787d-4a6f-8a8a-cf6ab767f12d}” Name=”ContentType”/>              <FieldRef ID=”{5f47e085-2150-41dc-b661-442f3027f552}” Name=”SelectFilename”/>              <FieldRef ID=”{8553196d-ec8d-4564-9861-3dbe931050c8}” Name=”FileLeafRef” Required=”TRUE”/>              <FieldRef ID=”{8c06beca-0777-48f7-91c7-6da68bc07b69}” Name=”Created” Hidden=”TRUE”/>              <FieldRef ID=”{28cf69c5-fa48-462a-b5cd-27b6f9d2bd5f}” Name=”Modified” Hidden=”TRUE”/>              <FieldRef ID=”{822c78e3-1ea9-4943-b449-57863ad33ca9}” Name=”Modified_x0020_By” Hidden=”FALSE”/>              <FieldRef ID=”{4dd7e525-8d6b-4cb4-9d3e-44ee25f973eb}” Name=”Created_x0020_By” Hidden=”FALSE”/>              <FieldRef ID=”{e52012a0-51eb-4c0c-8dfb-9b8a0ebedcb6}” Name=”Combine”/>              <FieldRef ID=”{086f2b30-460c-4251-b75a-da88a5b205c1}” Name=”ShowCombineView”/>              <FieldRef ID=”{5d36727b-bcb2-47d2-a231-1f0bc63b7439}” Name=”RepairDocument”/>              <FieldRef ID=”{11851948-b05e-41be-9d9f-bc3bf55d1de3}” Name=”ShowRepairView”/>              <FieldRef ID=”{4b1bf6c6-4f39-45ac-acd5-16fe7a214e5e}” Name=”TemplateUrl”/>              <FieldRef ID=”{cd1ecb9f-dd4e-4f29-ab9e-e9ff40048d64}” Name=”xd_ProgID”/>            </FieldRefs>            <DocumentTemplate TargetName=”Forms/Form/template.dotx”/>            <XmlDocuments>              <XmlDocument NamespaceURI=”http://schemas.microsoft.com/sharepoint/v3/contenttype/forms”>PEZvcm1UZW1wbGF0ZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vc2hhcmVwb2ludC92My9jb250ZW50dHlwZS9mb3JtcyI+PERpc3BsYXk+RG9jdW1lbnRMaWJyYXJ5Rm9ybTwvRGlzcGxheT48RWRpdD5Eb2N1bWVudExpYnJhcnlGb3JtPC9FZGl0PjxOZXc+RG9jdW1lbnRMaWJyYXJ5Rm9ybTwvTmV3PjwvRm9ybVRlbXBsYXRlcz4=</XmlDocument>            </XmlDocuments>          </ContentType>        </ContentTypes>        <Forms>          <Form Type=”DisplayForm” Name=”{F62DF496-96AC-47EC-923B-C85A77D77790}” Url=”Test Document Library/Forms/DispForm.aspx” Default=”TRUE” FormID=”0″/>          <Form Type=”EditForm” Name=”{833EB309-9AE9-49C3-A9C3-E4CE9E6F81B5}” Url=”Test Document Library/Forms/EditForm.aspx” Default=”TRUE” FormID=”0″/>          <Form Type=”NewForm” Name=”{72B72D78-E83D-4652-B723-0ECB85F12097}” Url=”Test Document Library/Forms/Upload.aspx” Default=”TRUE” FormID=”0″/>        </Forms>        <Security>          <ReadSecurity>1</ReadSecurity>          <WriteSecurity>1</WriteSecurity>          <SchemaSecurity>0</SchemaSecurity>        </Security>        <DocumentLibraryTemplate>Test Document Library/Forms/template.dotx</DocumentLibraryTemplate>        <Receivers>          <Receiver>            <Name>Content Following Item Updated Event Receiver 101</Name>            <Synchronization>2</Synchronization>            <Type>10002</Type>            <SequenceNumber>10000</SequenceNumber>            <Assembly>Microsoft.Office.Server.UserProfiles, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Assembly>            <Class>Microsoft.Office.Server.UserProfiles.ContentFollowingItemEventReceiver</Class>            <Data></Data>          </Receiver>        </Receivers>      </MetaData>    </List>    <List Name=”{592B2A0B-45C5-4A2D-9F05-04444E50150E}” Title=”Test1WithMultipleContentTypes” Description=”” Direction=”0″ BaseType=”0″ FeatureId=”{00BFEA71-DE22-43B2-A848-C05709900100}” ServerTemplate=”100″ Url=”Lists/Test1WithMultipleContentTypes” FolderCreation=”FALSE” EnableContentTypes=”TRUE” NavigateForFormsPages=”TRUE” BrowserFileHandling=”permissive” Version=”14″>      <MetaData>        <Views>          <View Name=”{C09088E3-0D25-4B40-9AA2-33033143CC0C}” DefaultView=”TRUE” MobileView=”TRUE” MobileDefaultView=”TRUE” Type=”HTML” DisplayName=”All Items” Url=”Lists/Test1WithMultipleContentTypes/AllItems.aspx” Level=”1″ BaseViewID=”1″ ContentTypeID=”0x” ImageUrl=”/_layouts/15/images/generic.png?rev=23″>            <XslLink Default=”TRUE”>main.xsl</XslLink>            <JSLink>clienttemplates.js</JSLink>            <RowLimit Paged=”TRUE”>30</RowLimit>            <Toolbar Type=”Standard”/>            <ViewFields>              <FieldRef Name=”LinkTitle”/>            </ViewFields>            <Query>              <OrderBy>                <FieldRef Name=”ID”/>              </OrderBy>            </Query>            <ParameterBindings>              <ParameterBinding Name=”NoAnnouncements” Location=”Resource(wss,noXinviewofY_LIST)”/>              <ParameterBinding Name=”NoAnnouncementsHowTo” Location=”Resource(wss,noXinviewofY_DEFAULT)”/>            </ParameterBindings>          </View>          <View Name=”{58A38F2B-BCFC-44F6-BD1C-5E44E014AFAF}” MobileView=”TRUE” Type=”HTML” DisplayName=”testview” Url=”Lists/Test1WithMultipleContentTypes/testview.aspx” Level=”1″ BaseViewID=”1″ ContentTypeID=”0x” ImageUrl=”/_layouts/15/images/generic.png?rev=23″>            <ViewFields>              <FieldRef Name=”EDRMSAction”/>              <FieldRef Name=”EDRMSActualCloseddate”/>              <FieldRef Name=”EDRMSAuditContact”/>              <FieldRef Name=”EDRMSD_TSpendValuerequested”/>              <FieldRef Name=”ItemChildCount”/>            </ViewFields>            <ViewData/>            <Query/>            <Aggregations Value=”Off”/>            <RowLimit Paged=”TRUE”>30</RowLimit>            <Mobile MobileItemLimit=”3″ MobileSimpleViewField=”EDRMSAction”/>            <XslLink Default=”TRUE”>main.xsl</XslLink>            <JSLink>clienttemplates.js</JSLink>            <Toolbar Type=”Standard”/>            <ParameterBindings>              <ParameterBinding Name=”NoAnnouncements” Location=”Resource(wss,noXinviewofY_LIST)”/>              <ParameterBinding Name=”NoAnnouncementsHowTo” Location=”Resource(wss,noXinviewofY_DEFAULT)”/>            </ParameterBindings>          </View>          <View Name=”{7D342A66-6550-413A-BAD0-B63FFE9C2E44}” MobileView=”TRUE” Type=”CALENDAR” Scope=”Recursive” DisplayName=”calendar test” Url=”Lists/Test1WithMultipleContentTypes/calendar test.aspx” Level=”1″ BaseViewID=”1″ ContentTypeID=”0x” ImageUrl=”/_layouts/15/images/generic.png?rev=23″>            <ViewFields>              <FieldRef Name=”EDRMSActualCloseddate”/>              <FieldRef Name=”EDRMSActualCloseddate”/>              <FieldRef Name=”Title”/>            </ViewFields>            <CalendarViewStyles>&lt;CalendarViewStyle  Title=39;Day39; Type=39;day39; Template=39;CalendarViewdayChrome39; Sequence=39;139; Default=39;FALSE39; /&gt;&lt;CalendarViewStyle  Title=39;Week39; Type=39;week39; Template=39;CalendarViewweekChrome39; Sequence=39;239; Default=39;FALSE39; /&gt;&lt;CalendarViewStyle  Title=39;Month39; Type=39;month39; Template=39;CalendarViewmonthChrome39; Sequence=39;339; Default=39;TRUE39; /&gt;</CalendarViewStyles>            <ViewData>              <FieldRef Name=”EDRMSAction” Type=”CalendarMonthTitle”/>              <FieldRef Name=”EDRMSCurrentstatus” Type=”CalendarWeekTitle”/>              <FieldRef Name=”EDRMSD_TSpendValuerequested” Type=”CalendarWeekLocation”/>              <FieldRef Name=”EDRMSCurrentstatus” Type=”CalendarDayTitle”/>              <FieldRef Name=”EDRMSD_TSpendValuerequested” Type=”CalendarDayLocation”/>            </ViewData>            <Query>              <Where>                <And>                  <DateRangesOverlap>                    <FieldRef Name=”EDRMSActualCloseddate”/>                    <FieldRef Name=”EDRMSActualCloseddate”/>                    <Value Type=”DateTime”>                      <Month/>                    </Value>                  </DateRangesOverlap>                  <Eq>                    <FieldRef Name=”EDRMSCurrentstatus”/>                    <Value Type=”Text”>Active</Value>                  </Eq>                </And>              </Where>            </Query>            <Aggregations Value=”Off”/>            <RowLimit>0</RowLimit>            <Mobile MobileItemLimit=”3″/>            <XslLink Default=”TRUE”>main.xsl</XslLink>            <JSLink>clienttemplates.js</JSLink>            <Toolbar Type=”Standard”/>            <ParameterBindings>              <ParameterBinding Name=”NoAnnouncements” Location=”Resource(wss,noXinviewofY_LIST)”/>              <ParameterBinding Name=”NoAnnouncementsHowTo” Location=”Resource(wss,noXinviewofY_DEFAULT)”/>            </ParameterBindings>          </View>        </Views>        <Fields>          <Field ID=”{03e45e84-1992-4d42-9116-26f756012634}” RowOrdinal=”0″ Type=”ContentTypeId” Sealed=”TRUE” ReadOnly=”TRUE” Hidden=”TRUE” DisplayName=”Content Type ID” Name=”ContentTypeId” DisplaceOnUpgrade=”TRUE” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”ContentTypeId” ColName=”tp_ContentTypeId” FromBaseType=”TRUE”/>          <Field ID=”{fa564e0f-0c70-4ab9-b863-0177e6ddd247}” Type=”Text” Name=”Title” DisplayName=”Title” Required=”TRUE” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”Title” FromBaseType=”TRUE” ColName=”nvarchar1″/>          <Field ID=”{34ad21eb-75bd-4544-8c73-0e08330291fe}” ReadOnly=”TRUE” Type=”Note” Name=”_ModerationComments” DisplayName=”Approver Comments” Hidden=”TRUE” CanToggleHidden=”TRUE” Filterable=”FALSE” Sortable=”FALSE” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”_ModerationComments” FromBaseType=”TRUE” ColName=”ntext1″/>          <Field ID=”{39360f11-34cf-4356-9945-25c44e68dade}” ReadOnly=”TRUE” Hidden=”TRUE” Type=”Text” Name=”File_x0020_Type” DisplaceOnUpgrade=”TRUE” DisplayName=”File Type” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”File_x0020_Type” FromBaseType=”TRUE” ColName=”nvarchar2″/>          <Field Type=”Note” Name=”EDRMSAction” ID=”{f4f3e946-d979-4ff5-8223-c8f01ebc3347}” Description=”” DisplayName=”Action” StaticName=”EDRMSAction” Group=”EDRMS” Hidden=”FALSE” Required=”FALSE” Sealed=”FALSE” ShowInDisplayForm=”TRUE” ShowInEditForm=”TRUE” ShowInListSettings=”TRUE” ShowInNewForm=”TRUE” SourceID=”{f52ffc71-99ff-42c2-ad9c-88f88574918c}” AllowDeletion=”TRUE” Customization=”” ColName=”ntext2″ RowOrdinal=”0″/>          <Field Type=”DateTime” Name=”EDRMSActualCloseddate” ID=”{e67580c2-9226-40bf-8f34-5973dba37397}” Description=”” DisplayName=”Actual Closed date” StaticName=”EDRMSActualCloseddate” Group=”EDRMS” Hidden=”FALSE” Required=”FALSE” Sealed=”FALSE” ShowInDisplayForm=”TRUE” ShowInEditForm=”TRUE” ShowInListSettings=”TRUE” ShowInNewForm=”TRUE” Format=”DateOnly” SourceID=”{f52ffc71-99ff-42c2-ad9c-88f88574918c}” AllowDeletion=”TRUE” Customization=”” ColName=”datetime1″ RowOrdinal=”0″/>          <Field Type=”Note” DisplayName=”Assurance Type_0″ StaticName=”p1ddcb168b464625aa2588fc1e161f6c” Name=”p1ddcb168b464625aa2588fc1e161f6c” ID=”{11bfcac9-af7d-48dc-b893-37fe198ac105}” ShowInViewForms=”FALSE” Required=”FALSE” CanToggleHidden=”TRUE” SourceID=”{f52ffc71-99ff-42c2-ad9c-88f88574918c}” AllowDeletion=”TRUE” Hidden=”TRUE” Customization=”” ColName=”ntext3″ RowOrdinal=”0″/>          <Field Type=”LookupMulti” DisplayName=”Taxonomy Catch All Column” StaticName=”TaxCatchAll” Name=”TaxCatchAll” ID=”{f3b0adf9-c1a2-4b02-920d-943fba4b3611}” ShowInViewForms=”FALSE” List=”{15c95bf2-06cb-45a2-b11e-e96180856bbd}” WebId=”39f2fce7-342b-4950-ad06-4a30a163b30f” Required=”FALSE” CanToggleHidden=”TRUE” ShowField=”CatchAllData” SourceID=”{f52ffc71-99ff-42c2-ad9c-88f88574918c}” Mult=”TRUE” Sortable=”FALSE” AllowDeletion=”TRUE” Sealed=”TRUE” Hidden=”TRUE” Version=”2″ Customization=”” ColName=”int1″ RowOrdinal=”0″/>          <Field Type=”LookupMulti” DisplayName=”Taxonomy Catch All Column1″ StaticName=”TaxCatchAllLabel” Name=”TaxCatchAllLabel” ID=”{8f6b6dd8-9357-4019-8172-966fcd502ed2}” ShowInViewForms=”FALSE” List=”{15c95bf2-06cb-45a2-b11e-e96180856bbd}” WebId=”39f2fce7-342b-4950-ad06-4a30a163b30f” Required=”FALSE” CanToggleHidden=”TRUE” ShowField=”CatchAllDataLabel” FieldRef=”{F3B0ADF9-C1A2-4b02-920D-943FBA4B3611}” SourceID=”{f52ffc71-99ff-42c2-ad9c-88f88574918c}” Mult=”TRUE” Sortable=”FALSE” AllowDeletion=”TRUE” Sealed=”TRUE” Hidden=”TRUE” ReadOnly=”TRUE” Version=”2″ Customization=””/>          <Field Type=”Text” Name=”EDRMSAuditContact” ID=”{978a583c-0ee7-4423-8db5-d63860d6f814}” Description=”” DisplayName=”Audit Contact” StaticName=”EDRMSAuditContact” Group=”EDRMS” Hidden=”FALSE” Required=”FALSE” Sealed=”FALSE” ShowInDisplayForm=”TRUE” ShowInEditForm=”TRUE” ShowInListSettings=”TRUE” ShowInNewForm=”TRUE” SourceID=”{f52ffc71-99ff-42c2-ad9c-88f88574918c}” AllowDeletion=”TRUE” Customization=”” ColName=”nvarchar3″ RowOrdinal=”0″/>          <Field Type=”Choice” Name=”EDRMSCurrentstatus” ID=”{30f91207-2921-489a-8d95-4aff394692b3}” Description=”” DisplayName=”Current status” StaticName=”EDRMSCurrentstatus” Group=”EDRMS” Hidden=”FALSE” Required=”FALSE” Sealed=”FALSE” ShowInDisplayForm=”TRUE” ShowInEditForm=”TRUE” ShowInListSettings=”TRUE” ShowInNewForm=”TRUE” Format=”Dropdown” SourceID=”{f52ffc71-99ff-42c2-ad9c-88f88574918c}” AllowDeletion=”TRUE” Customization=”” ColName=”nvarchar4″ RowOrdinal=”0″>            <Default>Open</Default>            <CHOICES>              <CHOICE>Open</CHOICE>              <CHOICE>Closed</CHOICE>              <CHOICE>In Prohgress</CHOICE>            </CHOICES>          </Field>          <Field Type=”Currency” Name=”EDRMSD_TSpendValuerequested” ID=”{db74e757-efb1-4735-b300-e232027c891a}” Description=”” DisplayName=”D  T Spend Value requested” StaticName=”EDRMSD_TSpendValuerequested” Group=”EDRMS” Hidden=”FALSE” Required=”FALSE” Sealed=”FALSE” ShowInDisplayForm=”TRUE” ShowInEditForm=”TRUE” ShowInListSettings=”TRUE” ShowInNewForm=”TRUE” SourceID=”{f52ffc71-99ff-42c2-ad9c-88f88574918c}” AllowDeletion=”TRUE” Customization=”” ColName=”float1″ RowOrdinal=”0″/>          <Field ID=”{1d22ea11-1e32-424e-89ab-9fedbadb6ce1}” ColName=”tp_ID” RowOrdinal=”0″ ReadOnly=”TRUE” Type=”Counter” Name=”ID” PrimaryKey=”TRUE” DisplayName=”ID” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”ID” FromBaseType=”TRUE”/>          <Field ID=”{c042a256-787d-4a6f-8a8a-cf6ab767f12d}” Type=”Computed” DisplayName=”Content Type” Name=”ContentType” DisplaceOnUpgrade=”TRUE” RenderXMLUsingPattern=”TRUE” Sortable=”FALSE” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”ContentType” Group=”_Hidden” PITarget=”MicrosoftWindowsSharePointServices” PIAttribute=”ContentTypeID” FromBaseType=”TRUE”>            <FieldRefs>              <FieldRef Name=”ContentTypeId”/>            </FieldRefs>            <DisplayPattern>              <MapToContentType>                <Column Name=”ContentTypeId”/>              </MapToContentType>            </DisplayPattern>          </Field>          <Field ID=”{28cf69c5-fa48-462a-b5cd-27b6f9d2bd5f}” ColName=”tp_Modified” RowOrdinal=”0″ ReadOnly=”TRUE” Type=”DateTime” Name=”Modified” DisplayName=”Modified” StorageTZ=”TRUE” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”Modified” FromBaseType=”TRUE”/>          <Field ID=”{8c06beca-0777-48f7-91c7-6da68bc07b69}” ColName=”tp_Created” RowOrdinal=”0″ ReadOnly=”TRUE” Type=”DateTime” Name=”Created” DisplayName=”Created” StorageTZ=”TRUE” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”Created” FromBaseType=”TRUE”/>          <Field ID=”{1df5e554-ec7e-46a6-901d-d85a3881cb18}” ColName=”tp_Author” RowOrdinal=”0″ ReadOnly=”TRUE” Type=”User” List=”UserInfo” Name=”Author” DisplayName=”Created By” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”Author” FromBaseType=”TRUE”/>          <Field ID=”{d31655d1-1d5b-4511-95a1-7a09e9b75bf2}” ColName=”tp_Editor” RowOrdinal=”0″ ReadOnly=”TRUE” Type=”User” List=”UserInfo” Name=”Editor” DisplayName=”Modified By” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”Editor” FromBaseType=”TRUE”/>          <Field ID=”{26d0756c-986a-48a7-af35-bf18ab85ff4a}” ColName=”tp_HasCopyDestinations” RowOrdinal=”0″ Sealed=”TRUE” Hidden=”TRUE” ReadOnly=”TRUE” Type=”Boolean” Name=”_HasCopyDestinations” DisplaceOnUpgrade=”TRUE” DisplayName=”Has Copy Destinations” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”_HasCopyDestinations” FromBaseType=”TRUE”/>          <Field ID=”{6b4e226d-3d88-4a36-808d-a129bf52bccf}” ColName=”tp_CopySource” RowOrdinal=”0″ Sealed=”TRUE” Hidden=”TRUE” ReadOnly=”TRUE” Type=”Text” Name=”_CopySource” DisplaceOnUpgrade=”TRUE” DisplayName=”Copy Source” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”_CopySource” FromBaseType=”TRUE”/>          <Field ID=”{d4e44a66-ee3a-4d02-88c9-4ec5ff3f4cd5}” ColName=”tp_Version” RowOrdinal=”0″ Hidden=”TRUE” ReadOnly=”TRUE” Type=”Integer” SetAs=”owshiddenversion” Name=”owshiddenversion” DisplayName=”owshiddenversion” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”owshiddenversion” FromBaseType=”TRUE”/>          <Field ID=”{f1e020bc-ba26-443f-bf2f-b68715017bbc}” ColName=”tp_WorkflowVersion” RowOrdinal=”0″ Hidden=”TRUE” ReadOnly=”TRUE” Type=”Integer” Name=”WorkflowVersion” DisplaceOnUpgrade=”TRUE” DisplayName=”Workflow Version” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”WorkflowVersion” FromBaseType=”TRUE”/>          <Field ID=”{7841bf41-43d0-4434-9f50-a673baef7631}” ColName=”tp_UIVersion” RowOrdinal=”0″ ReadOnly=”TRUE” Type=”Integer” Name=”_UIVersion” DisplaceOnUpgrade=”TRUE” DisplayName=”UI Version” Hidden=”TRUE” CanToggleHidden=”TRUE” Required=”FALSE” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”_UIVersion” FromBaseType=”TRUE”/>          <Field ID=”{dce8262a-3ae9-45aa-aab4-83bd75fb738a}” ColName=”tp_UIVersionString” RowOrdinal=”0″ ReadOnly=”TRUE” Type=”Text” Name=”_UIVersionString” DisplaceOnUpgrade=”TRUE” DisplayName=”Version” CanToggleHidden=”TRUE” Required=”FALSE” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”_UIVersionString” FromBaseType=”TRUE”/>          <Field ID=”{67df98f4-9dec-48ff-a553-29bece9c5bf4}” ColName=”tp_HasAttachment” RowOrdinal=”0″ Type=”Attachments” Name=”Attachments” DisplayName=”Attachments” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”Attachments” FromBaseType=”TRUE”/>          <Field ID=”{fdc3b2ed-5bf2-4835-a4bc-b885f3396a61}” ColName=”tp_ModerationStatus” RowOrdinal=”0″ ReadOnly=”TRUE” Type=”ModStat” Name=”_ModerationStatus” DisplayName=”Approval Status” Hidden=”TRUE” CanToggleHidden=”TRUE” Required=”FALSE” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”_ModerationStatus” FromBaseType=”TRUE”>            <CHOICES>              <CHOICE>0;#Approved</CHOICE>              <CHOICE>1;#Rejected</CHOICE>              <CHOICE>2;#Pending</CHOICE>              <CHOICE>3;#Draft</CHOICE>              <CHOICE>4;#Scheduled</CHOICE>            </CHOICES>            <Default>0</Default>          </Field>          <Field ID=”{503f1caa-358e-4918-9094-4a2cdc4bc034}” ReadOnly=”TRUE” Type=”Computed” Name=”Edit” Sortable=”FALSE” Filterable=”FALSE” DisplayName=”Edit” ClassInfo=”Icon” AuthoringInfo=”(link to edit item)” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”Edit” FromBaseType=”TRUE”>            <DisplayPattern>              <IfHasRights>                <RightsChoices>                  <RightsGroup PermEditListItems=”required”/>                </RightsChoices>                <Then>                  <HTML><![CDATA[<a href=”]]></HTML>                  <URL Cmd=”Edit”/>                  <HTML><![CDATA[” onclick=”EditLink(this, ]]></HTML>                  <Counter Type=”View”/>                  <HTML><![CDATA[);return false;” target=”_self”>]]></HTML>                  <HTML><![CDATA[<img border=”0″ alt=”]]></HTML>                  <HTML>Edit</HTML>                  <HTML><![CDATA[” src=”/_layouts/15/images/edititem.gif?rev=23″/>]]></HTML>                  <HTML><![CDATA[</a>]]></HTML>                </Then>                <Else>                  <HTML><![CDATA[160;]]></HTML>                </Else>              </IfHasRights>            </DisplayPattern>          </Field>          <Field ID=”{bc91a437-52e7-49e1-8c4e-4698904b2b6d}” ReadOnly=”TRUE” Type=”Computed” Name=”LinkTitleNoMenu” DisplayName=”Title” Dir=”” DisplayNameSrcField=”Title” AuthoringInfo=”(linked to item)” EnableLookup=”TRUE” ListItemMenuAllowed=”Prohibited” LinkToItemAllowed=”Prohibited” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”LinkTitleNoMenu” FromBaseType=”TRUE”>            <FieldRefs>              <FieldRef Name=”Title”/>              <FieldRef Name=”LinkFilenameNoMenu”/>            </FieldRefs>            <DisplayPattern>              <IfEqual>                <Expr1>                  <LookupColumn Name=”FSObjType”/>                </Expr1>                <Expr2>1</Expr2>                <Then>                  <Field Name=”LinkFilenameNoMenu”/>                </Then>                <Else>                  <HTML><![CDATA[<a onfocus=”OnLink(this)” href=”]]></HTML>                  <URL/>                  <HTML><![CDATA[” onclick=”EditLink2(this,]]></HTML>                  <Counter Type=”View”/>                  <HTML><![CDATA[);return false;” target=”_self”>]]></HTML>                  <Column HTMLEncode=”TRUE” Name=”Title” Default=”(no title)”/>                  <IfEqual>                    <Expr1>                      <GetVar Name=”ShowAccessibleIcon”/>                    </Expr1>                    <Expr2>1</Expr2>                    <Then>                      <HTML><![CDATA[<img src=”/_layouts/15/images/blank.gif?rev=23″ class=”ms-hidden” border=”0″ width=”1″ height=”1″ alt=”Use SHIFT+ENTER to open the menu (new window).”/>]]></HTML>                    </Then>                  </IfEqual>                  <HTML><![CDATA[</a>]]></HTML>                  <IfNew>                    <HTML><![CDATA[<img src=”/_layouts/1033/images/new.gif” alt=”]]></HTML>                    <HTML>New</HTML>                    <HTML><![CDATA[” class=”ms-newgif” />]]></HTML>                  </IfNew>                </Else>              </IfEqual>            </DisplayPattern>          </Field>          <Field ID=”{82642ec8-ef9b-478f-acf9-31f7d45fbc31}” ReadOnly=”TRUE” Type=”Computed” Name=”LinkTitle” DisplayName=”Title” DisplayNameSrcField=”Title” ClassInfo=”Menu” AuthoringInfo=”(linked to item with edit menu)” ListItemMenuAllowed=”Required” LinkToItemAllowed=”Prohibited” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”LinkTitle” FromBaseType=”TRUE”>            <FieldRefs>              <FieldRef Name=”Title”/>              <FieldRef Name=”LinkTitleNoMenu”/>              <FieldRef Name=”_EditMenuTableStart2″/>              <FieldRef Name=”_EditMenuTableEnd”/>            </FieldRefs>            <DisplayPattern>              <FieldSwitch>                <Expr>                  <GetVar Name=”FreeForm”/>                </Expr>                <Case Value=”TRUE”>                  <Field Name=”LinkTitleNoMenu”/>                </Case>                <Default>                  <HTML><![CDATA[

                                    ]]>                                    ]]></HTML>                  <HTML><![CDATA[

]]>                   ]]>                  ]]>                   ]]>                  ]]></HTML>                </Default>              </FieldSwitch>            </DisplayPattern>          </Field>          <Field ID=”{5f190d91-3dbc-4489-9878-3c092caf35b6}” Hidden=”TRUE” ReadOnly=”TRUE” Type=”Computed” Name=”LinkTitle2″ DisplayName=”Title” DisplayNameSrcField=”Title” ClassInfo=”Menu” AuthoringInfo=”(linked to item with edit menu) (old)” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”LinkTitle2″ FromBaseType=”TRUE”>            <FieldRefs>              <FieldRef Name=”Title”/>              <FieldRef Name=”LinkTitleNoMenu”/>              <FieldRef Name=”_EditMenuTableStart”/>              <FieldRef Name=”_EditMenuTableEnd”/>            </FieldRefs>            <DisplayPattern>              <FieldSwitch>                <Expr>                  <GetVar Name=”FreeForm”/>                </Expr>                <Case Value=”TRUE”>                  <Field Name=”LinkTitleNoMenu”/>                </Case>                <Default>                  <Field Name=”_EditMenuTableStart”/>                  <SetVar Name=”ShowAccessibleIcon” Value=”1″/>                  <Field Name=”LinkTitleNoMenu”/>                  <SetVar Name=”ShowAccessibleIcon” Value=”0″/>                  <Field Name=”_EditMenuTableEnd”/>                </Default>              </FieldSwitch>            </DisplayPattern>          </Field>          <Field ID=”{b1f7969b-ea65-42e1-8b54-b588292635f2}” ReadOnly=”TRUE” Type=”Computed” Sortable=”FALSE” Filterable=”FALSE” Name=”SelectTitle” Hidden=”TRUE” CanToggleHidden=”TRUE” DisplayName=”Select” Dir=”” AuthoringInfo=”(web part connection)” HeaderImage=”blank.gif” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”SelectTitle” FromBaseType=”TRUE”>            <FieldRefs>              <FieldRef Name=”ID”/>            </FieldRefs>            <DisplayPattern>              <IfEqual>                <Expr1>                  <GetVar Name=”SelectedID”/>                </Expr1>                <Expr2>                  <Column Name=”ID”/>                </Expr2>                <Then>                  <HTML><![CDATA[<img border=”0″ align=”absmiddle” style=”cursor: pointer” src=”/_layouts/15/images/rbsel.gif?rev=23″ alt=”]]></HTML>                  <HTML>Selected</HTML>                  <HTML><![CDATA[“/>]]></HTML>                </Then>                <Else>                  <HTML><![CDATA[<a href=”javascript:SelectField(‘]]></HTML>                  <GetVar Name=”View”/>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <Column Name=”ID”/>                  </ScriptQuote>                  <HTML><![CDATA[‘);return false;” onclick=”javascript:SelectField(‘]]></HTML>                  <GetVar Name=”View”/>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <Column Name=”ID”/>                  </ScriptQuote>                  <HTML><![CDATA[‘);return false;” target=”_self”>]]></HTML>                  <HTML><![CDATA[<img border=”0″ align=”absmiddle” style=”cursor: pointer” src=”/_layouts/15/images/rbunsel.gif?rev=23″  alt=”]]></HTML>                  <HTML>Normal</HTML>                  <HTML><![CDATA[“/>]]></HTML>                  <HTML><![CDATA[</a>]]></HTML>                </Else>              </IfEqual>            </DisplayPattern>          </Field>          <Field ID=”{50a54da4-1528-4e67-954a-e2d24f1e9efb}” Name=”InstanceID” DisplayName=”Instance ID” ColName=”tp_InstanceID” RowOrdinal=”0″ ReadOnly=”TRUE” Hidden=”TRUE” Type=”Integer” Min=”0″ Max=”99991231″ Filterable=”TRUE” Sortable=”TRUE” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”InstanceID” FromBaseType=”TRUE”/>          <Field ID=”{ca4addac-796f-4b23-b093-d2a3f65c0774}” ColName=”tp_ItemOrder” RowOrdinal=”0″ Name=”Order” DisplayName=”Order” Type=”Number” Hidden=”TRUE” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”Order” FromBaseType=”TRUE”/>          <Field ID=”{ae069f25-3ac2-4256-b9c3-15dbc15da0e0}” ColName=”tp_GUID” RowOrdinal=”0″ ReadOnly=”TRUE” Hidden=”TRUE” Type=”Guid” Name=”GUID” DisplayName=”GUID” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”GUID” FromBaseType=”TRUE”/>          <Field ID=”{de8beacf-5505-47cd-80a6-aa44e7ffe2f4}” ColName=”tp_WorkflowInstanceID” RowOrdinal=”0″ ReadOnly=”TRUE” Hidden=”TRUE” Type=”Guid” Name=”WorkflowInstanceID” DisplaceOnUpgrade=”TRUE” DisplayName=”Workflow Instance ID” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”WorkflowInstanceID” FromBaseType=”TRUE”/>          <Field ID=”{94f89715-e097-4e8b-ba79-ea02aa8b7adb}” Name=”FileRef” DisplaceOnUpgrade=”TRUE” ReadOnly=”TRUE” Hidden=”TRUE” Type=”Lookup” DisplayName=”URL Path” List=”Docs” FieldRef=”ID” ShowField=”FullUrl” JoinColName=”DoclibRowId” JoinRowOrdinal=”0″ JoinType=”INNER” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”FileRef” FromBaseType=”TRUE”/>          <Field ID=”{56605df6-8fa1-47e4-a04c-5b384d59609f}” Name=”FileDirRef” DisplaceOnUpgrade=”TRUE” ReadOnly=”TRUE” Hidden=”TRUE” Type=”Lookup” DisplayName=”Path” List=”Docs” FieldRef=”ID” ShowField=”DirName” JoinColName=”DoclibRowId” JoinRowOrdinal=”0″ JoinType=”INNER” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”FileDirRef” FromBaseType=”TRUE”/>          <Field ID=”{173f76c8-aebd-446a-9bc9-769a2bd2c18f}” Name=”Last_x0020_Modified” DisplaceOnUpgrade=”TRUE” ReadOnly=”TRUE” Hidden=”TRUE” DisplayName=”Modified” Type=”Lookup” List=”Docs” FieldRef=”ID” ShowField=”TimeLastModified” Format=”TRUE” JoinColName=”DoclibRowId” JoinRowOrdinal=”0″ JoinType=”INNER” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”Last_x0020_Modified” FromBaseType=”TRUE”/>          <Field ID=”{998b5cff-4a35-47a7-92f3-3914aa6aa4a2}” Name=”Created_x0020_Date” DisplaceOnUpgrade=”TRUE” ReadOnly=”TRUE” Hidden=”TRUE” DisplayName=”Created” Type=”Lookup” List=”Docs” FieldRef=”ID” ShowField=”TimeCreated” Format=”TRUE” JoinColName=”DoclibRowId” JoinRowOrdinal=”0″ JoinType=”INNER” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”Created_x0020_Date” FromBaseType=”TRUE”/>          <Field ID=”{30bb605f-5bae-48fe-b4e3-1f81d9772af9}” Name=”FSObjType” DisplaceOnUpgrade=”TRUE” ReadOnly=”TRUE” Hidden=”TRUE” ShowInFileDlg=”FALSE” Type=”Lookup” DisplayName=”Item Type” List=”Docs” FieldRef=”ID” ShowField=”FSType” JoinColName=”DoclibRowId” JoinRowOrdinal=”0″ JoinType=”INNER” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”FSObjType” FromBaseType=”TRUE”/>          <Field ID=”{423874f8-c300-4bfb-b7a1-42e2159e3b19}” Name=”SortBehavior” DisplaceOnUpgrade=”TRUE” ReadOnly=”TRUE” Hidden=”TRUE” ShowInFileDlg=”FALSE” Type=”Lookup” DisplayName=”Sort Type” List=”Docs” FieldRef=”ID” ShowField=”SortBehavior” JoinColName=”DoclibRowId” JoinRowOrdinal=”0″ JoinType=”INNER” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”SortBehavior” FromBaseType=”TRUE”/>          <Field ID=”{ba3c27ee-4791-4867-8821-ff99000bac98}” Name=”PermMask” DisplaceOnUpgrade=”TRUE” ReadOnly=”TRUE” Hidden=”TRUE” RenderXMLUsingPattern=”TRUE” ShowInFileDlg=”FALSE” Type=”Computed” DisplayName=”Effective Permissions Mask” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”PermMask” FromBaseType=”TRUE”>            <FieldRefs>              <FieldRef Name=”ID”/>            </FieldRefs>            <DisplayPattern>              <CurrentRights/>            </DisplayPattern>          </Field>          <Field ID=”{8553196d-ec8d-4564-9861-3dbe931050c8}” Hidden=”TRUE” ShowInFileDlg=”FALSE” ShowInVersionHistory=”FALSE” Type=”File” Name=”FileLeafRef” DisplaceOnUpgrade=”TRUE” DisplayName=”Name” AuthoringInfo=”(for use in forms)” List=”Docs” FieldRef=”ID” ShowField=”LeafName” JoinColName=”DoclibRowId” JoinRowOrdinal=”0″ JoinType=”INNER” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”FileLeafRef” FromBaseType=”TRUE”/>          <Field ID=”{4b7403de-8d94-43e8-9f0f-137a3e298126}” Name=”UniqueId” DisplaceOnUpgrade=”TRUE” ReadOnly=”TRUE” Hidden=”TRUE” ShowInFileDlg=”FALSE” Type=”Lookup” DisplayName=”Unique Id” List=”Docs” FieldRef=”ID” ShowField=”UniqueId” JoinColName=”DoclibRowId” JoinRowOrdinal=”0″ JoinType=”INNER” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”UniqueId” FromBaseType=”TRUE”/>          <Field ID=”{6d2c4fde-3605-428e-a236-ce5f3dc2b4d4}” Name=”SyncClientId” DisplaceOnUpgrade=”TRUE” Hidden=”TRUE” ReadOnly=”TRUE” DisplayName=”Client Id” ShowInFileDlg=”FALSE” Type=”Lookup” List=”Docs” FieldRef=”ID” ShowField=”SyncClientId” JoinColName=”DoclibRowId” JoinRowOrdinal=”0″ JoinType=”INNER” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”SyncClientId” FromBaseType=”TRUE”/>          <Field ID=”{c5c4b81c-f1d9-4b43-a6a2-090df32ebb68}” Name=”ProgId” DisplaceOnUpgrade=”TRUE” ReadOnly=”TRUE” Hidden=”TRUE” ShowInFileDlg=”FALSE” Type=”Lookup” DisplayName=”ProgId” List=”Docs” FieldRef=”ID” ShowField=”ProgId” JoinColName=”DoclibRowId” JoinRowOrdinal=”0″ JoinType=”INNER” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”ProgId” FromBaseType=”TRUE”/>          <Field ID=”{dddd2420-b270-4735-93b5-92b713d0944d}” Name=”ScopeId” DisplaceOnUpgrade=”TRUE” ReadOnly=”TRUE” Hidden=”TRUE” ShowInFileDlg=”FALSE” Type=”Lookup” DisplayName=”ScopeId” List=”Docs” FieldRef=”ID” ShowField=”ScopeId” JoinColName=”DoclibRowId” JoinRowOrdinal=”0″ JoinType=”INNER” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”ScopeId” FromBaseType=”TRUE”/>          <Field ReadOnly=”TRUE” ID=”{4ef1b78f-fdba-48dc-b8ab-3fa06a0c9804}” Hidden=”TRUE” Type=”Computed” Name=”HTML_x0020_File_x0020_Type” DisplaceOnUpgrade=”TRUE” DisplayName=”HTML File Type” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”HTML_x0020_File_x0020_Type” FromBaseType=”TRUE”>            <FieldRefs>              <FieldRef Name=”File_x0020_Type”/>            </FieldRefs>            <DisplayPattern/>          </Field>          <Field ID=”{3c6303be-e21f-4366-80d7-d6d0a3b22c7a}” Hidden=”TRUE” ReadOnly=”TRUE” Type=”Computed” Name=”_EditMenuTableStart” DisplaceOnUpgrade=”TRUE” DisplayName=”Edit Menu Table Start” ClassInfo=”Menu” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”_EditMenuTableStart” FromBaseType=”TRUE”>            <FieldRefs>              <FieldRef Name=”FileLeafRef”/>              <FieldRef Name=”FileDirRef”/>              <FieldRef Name=”FSObjType”/>              <FieldRef Name=”ID”/>              <FieldRef Name=”ServerUrl”/>              <FieldRef Name=”HTML_x0020_File_x0020_Type”/>              <FieldRef Name=”File_x0020_Type”/>              <FieldRef Name=”PermMask”/>              <FieldRef Name=”_HasCopyDestinations”/>              <FieldRef Name=”_CopySource”/>              <FieldRef Name=”ContentType”/>              <FieldRef Name=”ContentTypeId”/>              <FieldRef Name=”_ModerationStatus”/>              <FieldRef Name=”_UIVersion”/>            </FieldRefs>            <DisplayPattern>              <HTML><![CDATA[

                            ” id=”                            ” Url=”                            ” DRef=”                            ” Perm=”                            ” type=”                            ” Ext=”                            ” Icon=”                                              |                                            ” OType=”                            ” COUId=”              ” HCD=”                            ” CSrc=”                            ” MS=”                                                                                    ” UIS=”                                          ” SUrl=”              ]]>                                                                                                              ” id=”                                                                                                              ]]></HTML>              <HTML><![CDATA[

]]>               ]]>              ]]>               ]]>              ]]></HTML>            </DisplayPattern>          </Field>          <Field ID=”{9d30f126-ba48-446b-b8f9-83745f322ebe}” ReadOnly=”TRUE” Type=”Computed” Name=”LinkFilenameNoMenu” DisplaceOnUpgrade=”TRUE” DisplayName=”Name” Hidden=”TRUE” DisplayNameSrcField=”FileLeafRef” Filterable=”FALSE” AuthoringInfo=”(linked to document)” ListItemMenuAllowed=”Prohibited” LinkToItemAllowed=”Prohibited” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”LinkFilenameNoMenu” FromBaseType=”TRUE”>            <FieldRefs>              <FieldRef Name=”FileLeafRef”/>              <FieldRef Name=”FSObjType”/>              <FieldRef Name=”Created_x0020_Date”/>              <FieldRef Name=”FileRef”/>              <FieldRef Name=”File_x0020_Type”/>              <FieldRef Name=”HTML_x0020_File_x0020_Type”/>              <FieldRef Name=”ContentTypeId”/>              <FieldRef Name=”PermMask”/>            </FieldRefs>            <DisplayPattern>              <IfEqual>                <Expr1>                  <LookupColumn Name=”FSObjType”/>                </Expr1>                <Expr2>1</Expr2>                <Then>                  <FieldSwitch>                    <Expr>                      <GetVar Name=”RecursiveView”/>                    </Expr>                    <Case Value=”1″>                      <LookupColumn Name=”FileLeafRef” HTMLEncode=”TRUE”/>                    </Case>                    <Default>                      <SetVar Name=”UnencodedFilterLink”>                        <SetVar Name=”RootFolder”>                          <HTML>/</HTML>                          <LookupColumn Name=”FileRef”/>                        </SetVar>                        <SetVar Name=”SkipHost”>1</SetVar>                        <SetVar Name=”FolderCTID”>                          <FieldSwitch>                            <Expr>                              <ListProperty Select=”EnableContentTypes”/>                            </Expr>                            <Case Value=”1″>                              <Column Name=”ContentTypeId”/>                            </Case>                          </FieldSwitch>                        </SetVar>                        <FilterLink Default=”” Paged=”FALSE”/>                      </SetVar>                      <HTML><![CDATA[<a onfocus=”OnLink(this)” href=”]]></HTML>                      <GetVar Name=”UnencodedFilterLink” HTMLEncode=”TRUE”/>                      <HTML><![CDATA[” onmousedown=”javascript:VerifyFolderHref(this,event, ‘]]></HTML>                      <ScriptQuote NotAddingQuote=”TRUE”>                        <GetVar Name=”UnencodedFilterLink”/>                      </ScriptQuote>                      <HTML><![CDATA[‘,’]]></HTML>                      <HTML><![CDATA[‘,’]]></HTML>                      <ScriptQuote NotAddingQuote=”TRUE”>                        <ListProperty Select=”DefaultItemOpen”/>                      </ScriptQuote>                      <HTML><![CDATA[‘,’]]></HTML>                      <ScriptQuote NotAddingQuote=”TRUE”>                        <MapToControl>                          <Column Name=”HTML_x0020_File_x0020_Type”/>                          <HTML>|</HTML>                          <Column Name=”File_x0020_Type”/>                        </MapToControl>                      </ScriptQuote>                      <HTML><![CDATA[‘,’]]></HTML>                      <ScriptQuote NotAddingQuote=”TRUE”>                        <Column Name=”HTML_x0020_File_x0020_Type”/>                      </ScriptQuote>                      <HTML><![CDATA[‘,’]]></HTML>                      <HTML><![CDATA[‘)”]]></HTML>                      <HTML><![CDATA[” onclick=”return HandleFolder(this,event, ‘]]></HTML>                      <ScriptQuote NotAddingQuote=”TRUE”>                        <GetVar Name=”UnencodedFilterLink”/>                      </ScriptQuote>                      <HTML><![CDATA[‘,’]]></HTML>                      <ScriptQuote NotAddingQuote=”TRUE”>                        <ServerProperty Select=”HtmlTransform”/>                      </ScriptQuote>                      <HTML><![CDATA[‘,’]]></HTML>                      <HTML><![CDATA[‘,’]]></HTML>                      <HTML><![CDATA[‘,’]]></HTML>                      <HTML><![CDATA[‘,’]]></HTML>                      <ScriptQuote NotAddingQuote=”TRUE”>                        <ListProperty Select=”DefaultItemOpen”/>                      </ScriptQuote>                      <HTML><![CDATA[‘,’]]></HTML>                      <ScriptQuote NotAddingQuote=”TRUE”>                        <MapToControl>                          <Column Name=”HTML_x0020_File_x0020_Type”/>                          <HTML>|</HTML>                          <Column Name=”File_x0020_Type”/>                        </MapToControl>                      </ScriptQuote>                      <HTML><![CDATA[‘,’]]></HTML>                      <ScriptQuote NotAddingQuote=”TRUE”>                        <Column Name=”HTML_x0020_File_x0020_Type”/>                      </ScriptQuote>                      <HTML><![CDATA[‘,’]]></HTML>                      <HTML><![CDATA[‘,’]]></HTML>                      <HTML><![CDATA[‘,’]]></HTML>                      <ScriptQuote NotAddingQuote=”TRUE”>                        <UserID AllowAnonymous=”TRUE”/>                      </ScriptQuote>                      <HTML><![CDATA[‘,’]]></HTML>                      <ScriptQuote NotAddingQuote=”TRUE”>                        <ListProperty Select=”ForceCheckout”/>                      </ScriptQuote>                      <HTML><![CDATA[‘,’]]></HTML>                      <HTML><![CDATA[‘,’]]></HTML>                      <ScriptQuote NotAddingQuote=”TRUE”>                        <Field Name=”PermMask”/>                      </ScriptQuote>                      <HTML><![CDATA[‘);”>]]></HTML>                      <LookupColumn Name=”FileLeafRef” HTMLEncode=”TRUE”/>                      <IfEqual>                        <Expr1>                          <GetVar Name=”ShowAccessibleIcon”/>                        </Expr1>                        <Expr2>1</Expr2>                        <Then>                          <HTML><![CDATA[<img src=”/_layouts/15/images/blank.gif?rev=23″ class=”ms-hidden” border=”0″ width=”1″ height=”1″ alt=”Use SHIFT+ENTER to open the menu (new window).”/>]]></HTML>                        </Then>                      </IfEqual>                      <HTML><![CDATA[</a>]]></HTML>                    </Default>                  </FieldSwitch>                </Then>                <Else>                  <HTML><![CDATA[<a onfocus=”OnLink(this)” href=”]]></HTML>                  <Field Name=”ServerUrl” URLEncodeAsURL=”TRUE”/>                  <HTML><![CDATA[” onclick=”return DispEx(this,event,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <ServerProperty Select=”HtmlTransform”/>                  </ScriptQuote>                  <HTML><![CDATA[‘,’]]></HTML>                  <HTML><![CDATA[‘,’]]></HTML>                  <HTML><![CDATA[‘,’]]></HTML>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <ListProperty Select=”DefaultItemOpen”/>                  </ScriptQuote>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <MapToControl>                      <Column Name=”HTML_x0020_File_x0020_Type”/>                      <HTML>|</HTML>                      <Column Name=”File_x0020_Type”/>                    </MapToControl>                  </ScriptQuote>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <Column Name=”HTML_x0020_File_x0020_Type”/>                  </ScriptQuote>                  <HTML><![CDATA[‘,’]]></HTML>                  <HTML><![CDATA[‘,’]]></HTML>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <UserID AllowAnonymous=”TRUE”/>                  </ScriptQuote>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <ListProperty Select=”ForceCheckout”/>                  </ScriptQuote>                  <HTML><![CDATA[‘,’]]></HTML>                  <HTML><![CDATA[‘,’]]></HTML>                  <ScriptQuote NotAddingQuote=”TRUE”>                    <Field Name=”PermMask”/>                  </ScriptQuote>                  <HTML><![CDATA[‘)”>]]></HTML>                  <UrlBaseName HTMLEncode=”TRUE”>                    <LookupColumn Name=”FileLeafRef”/>                  </UrlBaseName>                  <IfEqual>                    <Expr1>                      <GetVar Name=”ShowAccessibleIcon”/>                    </Expr1>                    <Expr2>1</Expr2>                    <Then>                      <HTML><![CDATA[<img src=”/_layouts/15/images/blank.gif?rev=23″ class=”ms-hidden” border=”0″ width=”1″ height=”1″ alt=”Use SHIFT+ENTER to open the menu (new window).”/>]]></HTML>                    </Then>                  </IfEqual>                  <HTML><![CDATA[</a>]]></HTML>                  <IfNew Name=”Created_x0020_Date”>                    <HTML><![CDATA[<img src=”/_layouts/15/1033/images/new.gif” alt=”]]></HTML>                    <HTML>New</HTML>                    <HTML><![CDATA[” class=”ms-newgif” />]]></HTML>                  </IfNew>                </Else>              </IfEqual>            </DisplayPattern>          </Field>          <Field ID=”{5cc6dc79-3710-4374-b433-61cb4a686c12}” ReadOnly=”TRUE” Type=”Computed” Name=”LinkFilename” DisplaceOnUpgrade=”TRUE” Hidden=”TRUE” DisplayName=”Name” DisplayNameSrcField=”FileLeafRef” Filterable=”FALSE” ClassInfo=”Menu” AuthoringInfo=”(linked to document with edit menu)” ListItemMenuAllowed=”Required” LinkToItemAllowed=”Prohibited” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”LinkFilename” FromBaseType=”TRUE”>            <FieldRefs>              <FieldRef Name=”LinkFilenameNoMenu”/>              <FieldRef Name=”_EditMenuTableStart2″/>              <FieldRef Name=”_EditMenuTableEnd”/>            </FieldRefs>            <DisplayPattern>              <FieldSwitch>                <Expr>                  <GetVar Name=”FreeForm”/>                </Expr>                <Case Value=”TRUE”>                  <Field Name=”LinkFilenameNoMenu”/>                </Case>                <Default>                  <HTML><![CDATA[

                                    ]]>                                    ]]></HTML>                  <HTML><![CDATA[

]]>                   ]]>                  ]]>                   ]]>                  ]]></HTML>                </Default>              </FieldSwitch>            </DisplayPattern>          </Field>          <Field ID=”{224ba411-da77-4050-b0eb-62d422f13d3e}” Hidden=”TRUE” ReadOnly=”TRUE” Type=”Computed” Name=”LinkFilename2″ DisplaceOnUpgrade=”TRUE” DisplayName=”Name” DisplayNameSrcField=”FileLeafRef” Filterable=”FALSE” ClassInfo=”Menu” AuthoringInfo=”(linked to document with edit menu) (old)” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”LinkFilename2″ FromBaseType=”TRUE”>            <FieldRefs>              <FieldRef Name=”LinkFilenameNoMenu”/>              <FieldRef Name=”_EditMenuTableStart”/>              <FieldRef Name=”_EditMenuTableEnd”/>            </FieldRefs>            <DisplayPattern>              <FieldSwitch>                <Expr>                  <GetVar Name=”FreeForm”/>                </Expr>                <Case Value=”TRUE”>                  <Field Name=”LinkFilenameNoMenu”/>                </Case>                <Default>                  <Field Name=”_EditMenuTableStart”/>                  <SetVar Name=”ShowAccessibleIcon” Value=”1″/>                  <Field Name=”LinkFilenameNoMenu”/>                  <SetVar Name=”ShowAccessibleIcon” Value=”0″/>                  <Field Name=”_EditMenuTableEnd”/>                </Default>              </FieldSwitch>            </DisplayPattern>          </Field>          <Field ID=”{081c6e4c-5c14-4f20-b23e-1a71ceb6a67c}” Type=”Computed” ReadOnly=”TRUE” Name=”DocIcon” DisplaceOnUpgrade=”TRUE” DisplayName=”Type” TextOnly=”TRUE” ClassInfo=”Icon” AuthoringInfo=”(icon linked to document)” SourceID=”http://schemas.microsoft.com/sharepoint/v3″ StaticName=”DocIcon” FromBaseType=”TRUE”>            <FieldRefs>              <FieldRef Name=”File_x0020_Type”/>              <FieldRef Name=”FSObjType”/>              <FieldRef Name=”FileRef”/>              <FieldRef Name=”FileLeafRef”/>              <FieldRef Name=”HTML_x0020_File_x0020_Type”/>              <FieldRef Name=”PermMask”/>              <FieldRef Name=”IconOverlay”/>            </FieldRefs>            <DisplayPattern>              <SetVar Name=”DocIconImg”>                <SetVar Name=”DocIconAltText”>                  <IfEqual>                    <Expr1>                      <LookupColumn Name=”FSObjType”/>                    </Expr1>                    <Expr2>1</Expr2>                    <Then>                      <IfSubString>                        <Expr1>0x0120D5</Expr1>                        <Expr2>                          <Column Name=”ContentTypeId”/>                        </Expr2>                        <Then>                          <HTML>Document Collection: </HTML>                          <LookupColumn Name=”FileLeafRef” HTMLEncode=”TRUE”/>                        </Then>                        <Else>                          <HTML>Folder: </HTML>                          <LookupColumn Name=”FileLeafRef” HTMLEncode=”TRUE”/>                        </Else>                      </IfSubString>                    </Then>                    <Else>                      <LookupColumn Name=”Title” HTMLEncode=”TRUE”/>                    </Else>                  </IfEqual>                </SetVar>                <SetVar Name=”DocIconFileName”>                  <IfEqual>                    <Expr1>                      <Column Name=”IconOverlay”/>                    </Expr1>                    <Expr2/>                    <Then>                      <IfEqual>                        <Expr1>                          <LookupColumn Name=”FSObjType”/>                        </Expr1>                        <Expr2>1</Expr2>                        <Then>                          <IfEqual>                            <Expr1>                              <Column Name=”HTML_x0020_File_x0020_Type”/>                              <HTML>|</HTML>                              <Column Name=”File_x0020_Type”/>                            </Expr1>                            <Expr2>                              <HTML>|</HTML>                            </Expr2>                            <Then>                              <HTML>folder.gif</HTML>                            </Then>                            <Else>                              <SetVar Name=”FolderIconFromMap”>                                <MapToIcon>                                  <Column Name=”HTML_x0020_File_x0020_Type”/>                                  <HTML>|</HTML>                                  <Column Name=”File_x0020_Type”/>                                </MapToIcon>                              </SetVar>                              <IfEqual>                                <Expr1>                                  <GetVar Name=”FolderIconFromMap”/>                                </Expr1>                                <Expr2>                                  <MapToIcon/>                                </Expr2>                                <Then>                                  <HTML>folder.gif</HTML>                                </Then>                                <Else>                                  <GetVar Name=”FolderIconFromMap”/>                                </Else>                              </IfEqual>                            </Else>                          </IfEqual>                        </Then>                        <Else>                          <MapToIcon>                            <Column Name=”HTML_x0020_File_x0020_Type”/>                            <HTML>|</HTML>                            <Column Name=”File_x0020_Type”/>                          </MapToIcon>                        </Else>                      </IfEqual>                    </Then>                    <Else>                      <MapToIcon>                        <Column Name=”IconOverlay”/>                      </MapToIcon>                    </Else>                  </IfEqual>                </SetVar>                <HTML><![CDATA[<img border=”0″ alt=”]]></HTML>                <GetVar Name=”DocIconAltText”/>                <HTML><![CDATA[” title=”]]></HTML>                <GetVar Name=”DocIconAltText”/>                <HTML><![CDATA[” src=”/_layouts/15/images/]]></HTML>                <GetVar Name=”DocIconFileName”/>                <HTML><![CDATA[” />]]></HTML>              </SetVar>              <SetVar Name=”DocIconOverlayImg”>                <IfEqual>                  <Expr1>                    <Column Name=”IconOverlay”/>                  </Expr1>                  <Expr2/>                  <Then/>                  <Else>                    <HTML><![CDATA[<img class=”ms-vb-icon-overlay” alt=”*” src=”/_layouts/15/images/]]></HTML>                    <MapToOverlay>                      <Column Name=”IconOverlay”/>                    </MapToOverlay>                    <HTML><![CDATA[” />]]></HTML>                  </Else>                </IfEqual>              </SetVar>              <IfEqual>                <Expr1>                  <LookupColumn Name=”FSObjType”/>                </Expr1>                <Expr2>1</Expr2>                <Then>                  <FieldSwitch>                    <Expr>                      <GetVar Name=”RecursiveView”/>                    </Expr>                    <Case Value=”1″>                      <GetVar Name=”DocIconImg”/>                      <GetVar Name=”DocIconOverlayImg”/>                    </Case>                    <Default>                      <SetVar Name=”UnencodedFilterLink”>                        <SetVar Name=”RootFolder”>                          <HTML>/</HTML>                          <LookupColumn Name=”FileRef”/>                        </SetVar>                        <SetVar Name=”SkipHost”>1</SetVar>                        <SetVar Name=”FolderCTID”>                          <FieldSwitch>                            <Expr>                              <ListProperty Select=”EnableContentTypes”/>                            </Expr>                            <Case Value=”1″>                              <Column Name=”ContentTypeId”/>                            </Case>                          </FieldSwitch>                        </SetVar>                        <FilterLink Default=”” Paged=”FALSE”/>                      </SetVar>                      <FieldSwitch>                        <Expr>                          <GetVar Name=”FileDialog”/>                        </Expr>                        <Case Value=”1″>                          <GetVar Name=”DocIconImg”/>                          <GetVar Name=”DocIconOverlayImg”/>                        </Case>                        <Default>                          <HTML><![CDATA[<a href=”]]></HTML>                          <GetVar Name=”UnencodedFilterLink” HTMLEncode=”TRUE”/>                          <HTML><![CDATA[” onclick=”javascript:EnterFolder(‘]]></HTML>                          <ScriptQuote NotAddingQuote=”TRUE”>                            <GetVar Name=”UnencodedFilterLink”/>                          </ScriptQuote>                          <HTML><![CDATA[‘);javascript:return false;”>]]></HTML>                          <GetVar Name=”DocIconImg”/>                          <GetVar Name=”DocIconOverlayImg”/>                          <HTML><![CDATA[</a>]]></HTML>                        </Default>                      </FieldSwitch>                    </Default>                  </FieldSwitch>                </Then>                <Else>                  <HTML><![CDATA[<a onfocus=”OnLink(this)” href=”]]></HTML>                  <URL/>                  <HTML><![CDATA[” onclick=”GoToLink(this);return false;” target=”_self”>]]></HTML>                  <GetVar Name=”DocIconImg”/>                  <GetVar Name=”DocIconOverlayImg”/>                  <HTML><![CDATA[</a>]]></HTML>                </Else>              </IfEqual>            </DisplayPattern>          </Field>          <Field ID=“{105f76ce-724a-4bba-aece-f81f2fce58f5}” ReadOnly=“TRUE” Hidden=“TRUE” Type=“Computed” Name=“ServerUrl” DisplaceOnUpgrade=“TRUE” DisplayName=“Server Relative URL” Filterable=“FALSE” RenderXMLUsingPattern=“TRUE” SourceID=http://schemas.microsoft.com/sharepoint/v3&#8221; StaticName=“ServerUrl” FromBaseType=“TRUE”          <FieldRefs            <FieldRef Name=“FileRef”/>            </FieldRefs>            <DisplayPattern            <HTML>/</HTML>              <LookupColumn Name=“FileRef”/>            </DisplayPattern>          </Field>          <Field ID=“{7177cfc7-f399-4d4d-905d-37dd51bc90bf}” ReadOnly=“TRUE” Hidden=“TRUE” Type=“Computed” Name=“EncodedAbsUrl” DisplaceOnUpgrade=“TRUE” DisplayName=“Encoded Absolute URL” Filterable=“FALSE” RenderXMLUsingPattern=“TRUE” SourceID=http://schemas.microsoft.com/sharepoint/v3&#8221; StaticName=“EncodedAbsUrl” FromBaseType=“TRUE”          <FieldRefs            <FieldRef Name=“FileRef”/>            </FieldRefs>            <DisplayPattern            <HttpHost URLEncodeAsURL=“TRUE”/>              <HTML>/</HTML>              <LookupColumn Name=“FileRef” IncludeVersions=“TRUE” URLEncodeAsURL=“TRUE”/>            </DisplayPattern>          </Field>          <Field ID=“{7615464b-559e-4302-b8e2-8f440b913101}” ReadOnly=“TRUE” Hidden=“TRUE” Type=“Computed” Name=“BaseName” DisplaceOnUpgrade=“TRUE” DisplayName=“File Name” Filterable=“FALSE” RenderXMLUsingPattern=“TRUE” SourceID=http://schemas.microsoft.com/sharepoint/v3&#8221; StaticName=“BaseName” FromBaseType=“TRUE”          <FieldRefs            <FieldRef Name=“FileLeafRef”/>              <FieldRef Name=“FSObjType”/>            </FieldRefs>            <DisplayPattern            <IfEqual              <Expr1                <LookupColumn Name=“FSObjType”/>                </Expr1>                <Expr2>1</Expr2>                <Then                <LookupColumn Name=“FileLeafRef” HTMLEncode=“TRUE”/>                </Then>                <Else                <UrlBaseName HTMLEncode=“TRUE”                  <LookupColumn Name=“FileLeafRef”/>                  </UrlBaseName>                </Else>              </IfEqual>            </DisplayPattern>          </Field>          <Field ID=“{687c7f94-686a-42d3-9b67-2782eac4b4f8}” Name=“MetaInfo” DisplaceOnUpgrade=“TRUE” Hidden=“TRUE” ShowInFileDlg=“FALSE” Type=“Lookup” DisplayName=“Property Bag” List=“Docs” FieldRef=“ID” ShowField=“MetaInfo” JoinColName=“DoclibRowId” JoinType=“INNER” SourceID=http://schemas.microsoft.com/sharepoint/v3&#8221; StaticName=“MetaInfo” FromBaseType=“TRUE”/>          <Field ID=“{43bdd51b-3c5b-4e78-90a8-fb2087f71e70}” ColName=“tp_Level” RowOrdinal=“0” ReadOnly=“TRUE” Type=“Integer” Name=“_Level” DisplaceOnUpgrade=“TRUE” DisplayName=“Level” Hidden=“TRUE” Required=“FALSE” SourceID=http://schemas.microsoft.com/sharepoint/v3&#8221; StaticName=“_Level” FromBaseType=“TRUE”/>          <Field ID=“{c101c3e7-122d-4d4d-bc34-58e94a38c816}” ColName=“tp_IsCurrentVersion” DisplaceOnUpgrade=“TRUE” RowOrdinal=“0” ReadOnly=“TRUE” Type=“Boolean” Name=“_IsCurrentVersion” DisplayName=“Is Current Version” Hidden=“TRUE” Required=“FALSE” SourceID=http://schemas.microsoft.com/sharepoint/v3&#8221; StaticName=“_IsCurrentVersion” FromBaseType=“TRUE”/>          <Field ID=“{b824e17e-a1b3-426e-aecf-f0184d900485}” Name=“ItemChildCount” DisplaceOnUpgrade=“TRUE” ReadOnly=“TRUE” ShowInFileDlg=“FALSE” Type=“Lookup” DisplayName=“Item Child Count” List=“Docs” FieldRef=“ID” ShowField=“ItemChildCount” JoinColName=“DoclibRowId” JoinRowOrdinal=“0” JoinType=“INNER” SourceID=http://schemas.microsoft.com/sharepoint/v3&#8221; StaticName=“ItemChildCount” FromBaseType=“TRUE”/>          <Field ID=“{960ff01f-2b6d-4f1b-9c3f-e19ad8927341}” Name=“FolderChildCount” DisplaceOnUpgrade=“TRUE” ReadOnly=“TRUE” ShowInFileDlg=“FALSE” Type=“Lookup” DisplayName=“Folder Child Count” List=“Docs” FieldRef=“ID” ShowField=“FolderChildCount” JoinColName=“DoclibRowId” JoinRowOrdinal=“0” JoinType=“INNER” SourceID=http://schemas.microsoft.com/sharepoint/v3&#8221; StaticName=“FolderChildCount” FromBaseType=“TRUE”/>          <Field ID=“{6bfaba20-36bf-44b5-a1b2-eb6346d49716}” ColName=“tp_AppAuthor” RowOrdinal=“0” ReadOnly=“TRUE” Hidden=“FALSE” Type=“Lookup” List=“AppPrincipals” Name=“AppAuthor” DisplayName=“App Created By” ShowField=“Title” JoinColName=“Id” SourceID=http://schemas.microsoft.com/sharepoint/v3&#8221; StaticName=“AppAuthor” FromBaseType=“TRUE”/>          <Field ID=“{e08400f3-c779-4ed2-a18c-ab7f34caa318}” ColName=“tp_AppEditor” RowOrdinal=“0” ReadOnly=“TRUE” Hidden=“FALSE” Type=“Lookup” List=“AppPrincipals” Name=“AppEditor” DisplayName=“App Modified By” ShowField=“Title” JoinColName=“Id” SourceID=http://schemas.microsoft.com/sharepoint/v3&#8221; StaticName=“AppEditor” FromBaseType=“TRUE”/>        </Fields>        <ContentTypes        <ContentType ID=“0x0100C24F1844B7B3264B92EBC5B3F0110A9F” Name=“Item” Group=“List Content Types” Description=“Create a new list item.” Version=“0” FeatureId=“{695b6570-a48b-4a8e-8ea5-26ea7fc1d162}”          <Folder TargetName=“Item”/>            <FieldRefs            <FieldRef ID=“{c042a256-787d-4a6f-8a8a-cf6ab767f12d}” Name=“ContentType”/>              <FieldRef ID=“{fa564e0f-0c70-4ab9-b863-0177e6ddd247}” Name=“Title” Required=“TRUE” ShowInNewForm=“TRUE” ShowInEditForm=“TRUE”/>            </FieldRefs>            <XmlDocuments            <XmlDocument NamespaceURI=http://schemas.microsoft.com/sharepoint/v3/contenttype/forms&#8221;>PEZvcm1UZW1wbGF0ZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vc2hhcmVwb2ludC92My9jb250ZW50dHlwZS9mb3JtcyI+PERpc3BsYXk+TGlzdEZvcm08L0Rpc3BsYXk+PEVkaXQ+TGlzdEZvcm08L0VkaXQ+PE5ldz5MaXN0Rm9ybTwvTmV3PjwvRm9ybVRlbXBsYXRlcz4=</XmlDocument>            </XmlDocuments>          </ContentType>          <ContentType ID=“0x012000DF65443D88AF084791B2BCB044BE0BF7” Name=“Folder” Group=“Folder Content Types” Description=“Create a new folder.” Sealed=“TRUE” Version=“0” FeatureId=“{695b6570-a48b-4a8e-8ea5-26ea7fc1d162}”          <FieldRefs            <FieldRef ID=“{c042a256-787d-4a6f-8a8a-cf6ab767f12d}” Name=“ContentType”/>              <FieldRef ID=“{fa564e0f-0c70-4ab9-b863-0177e6ddd247}” Name=“Title” Required=“FALSE” Hidden=“TRUE”/>              <FieldRef ID=“{8553196d-ec8d-4564-9861-3dbe931050c8}” Name=“FileLeafRef” Required=“TRUE” Hidden=“FALSE”/>              <FieldRef ID=“{b824e17e-a1b3-426e-aecf-f0184d900485}” Name=“ItemChildCount”/>              <FieldRef ID=“{960ff01f-2b6d-4f1b-9c3f-e19ad8927341}” Name=“FolderChildCount”/>            </FieldRefs>            <XmlDocuments            <XmlDocument NamespaceURI=http://schemas.microsoft.com/sharepoint/v3/contenttype/forms&#8221;>PEZvcm1UZW1wbGF0ZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vc2hhcmVwb2ludC92My9jb250ZW50dHlwZS9mb3JtcyI+PERpc3BsYXk+TGlzdEZvcm08L0Rpc3BsYXk+PEVkaXQ+TGlzdEZvcm08L0VkaXQ+PE5ldz5MaXN0Rm9ybTwvTmV3PjwvRm9ybVRlbXBsYXRlcz4=</XmlDocument>            </XmlDocuments>          </ContentType>          <ContentType ID=“0x010041CFF0FB0E8DF3488B80375585352211004905F4EC8EC2044B8FBDDDA5030A8A0D” Name=“Audit” Group=“EDRMS Portfolio DB” Description=“Create a new list item.” ReadOnly=“TRUE” Version=“1”          <Folder TargetName=“Audit”/>            <FieldRefs            <FieldRef ID=“{c042a256-787d-4a6f-8a8a-cf6ab767f12d}” Name=“ContentType”/>              <FieldRef ID=“{fa564e0f-0c70-4ab9-b863-0177e6ddd247}” Name=“Title” Required=“FALSE” Hidden=“FALSE” ShowInNewForm=“TRUE” ShowInEditForm=“TRUE” ReadOnly=“FALSE” PITarget=“” PrimaryPITarget=“” PIAttribute=“” PrimaryPIAttribute=“” Aggregation=“” Node=“”/>            </FieldRefs>            <XmlDocuments            <XmlDocument NamespaceURI=“Microsoft.SharePoint.Taxonomy.ContentTypeSync”>PFNoYXJlZENvbnRlbnRUeXBlIHhtbG5zPSJNaWNyb3NvZnQuU2hhcmVQb2ludC5UYXhvbm9teS5Db250ZW50VHlwZVN5bmMiIFNvdXJjZUlkPSJkYWFhNjk3Ny02YzQwLTRmYjgtOGIwOC04NDk3YjcwN2JlMDgiIENvbnRlbnRUeXBlSWQ9IjB4MDEwMDQxQ0ZGMEZCMEU4REYzNDg4QjgwMzc1NTg1MzUyMjExIiBQcmV2aW91c1ZhbHVlPSJmYWxzZSIgLz4=</XmlDocument>              <XmlDocument NamespaceURI=http://schemas.microsoft.com/sharepoint/v3/contenttype/forms&#8221;>PEZvcm1UZW1wbGF0ZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vc2hhcmVwb2ludC92My9jb250ZW50dHlwZS9mb3JtcyI+PERpc3BsYXk+TGlzdEZvcm08L0Rpc3BsYXk+PEVkaXQ+TGlzdEZvcm08L0VkaXQ+PE5ldz5MaXN0Rm9ybTwvTmV3PjwvRm9ybVRlbXBsYXRlcz4=</XmlDocument>            </XmlDocuments>          </ContentType>          <ContentType ID=“0x01005A3C6BBD0C84504FA03752D3919FCB5D00D6851EFE1788A74EB97B1705C72B89B7” Name=“Audit Action” Group=“EDRMS Portfolio DB” Description=“Create a new list item.” ReadOnly=“TRUE” Version=“1”          <Folder TargetName=“Audit Action”/>            <FieldRefs            <FieldRef ID=“{c042a256-787d-4a6f-8a8a-cf6ab767f12d}” Name=“ContentType”/>              <FieldRef ID=“{fa564e0f-0c70-4ab9-b863-0177e6ddd247}” Name=“Title” Required=“FALSE” Hidden=“FALSE” ShowInNewForm=“TRUE” ShowInEditForm=“TRUE” ReadOnly=“FALSE” PITarget=“” PrimaryPITarget=“” PIAttribute=“” PrimaryPIAttribute=“” Aggregation=“” Node=“”/>              <FieldRef ID=“{f4f3e946-d979-4ff5-8223-c8f01ebc3347}” Name=“EDRMSAction”/>              <FieldRef ID=“{e67580c2-9226-40bf-8f34-5973dba37397}” Name=“EDRMSActualCloseddate”/>              <FieldRef ID=“{11bfcac9-af7d-48dc-b893-37fe198ac105}” Name=“p1ddcb168b464625aa2588fc1e161f6c” Hidden=“TRUE”/>              <FieldRef ID=“{f3b0adf9-c1a2-4b02-920d-943fba4b3611}” Name=“TaxCatchAll” Hidden=“TRUE”/>              <FieldRef ID=“{8f6b6dd8-9357-4019-8172-966fcd502ed2}” Name=“TaxCatchAllLabel” Hidden=“TRUE”/>              <FieldRef ID=“{978a583c-0ee7-4423-8db5-d63860d6f814}” Name=“EDRMSAuditContact”/>              <FieldRef ID=“{30f91207-2921-489a-8d95-4aff394692b3}” Name=“EDRMSCurrentstatus”/>              <FieldRef ID=“{db74e757-efb1-4735-b300-e232027c891a}” Name=“EDRMSD_TSpendValuerequested”/>            </FieldRefs>            <XmlDocuments            <XmlDocument NamespaceURI=“Microsoft.SharePoint.Taxonomy.ContentTypeSync”>PFNoYXJlZENvbnRlbnRUeXBlIHhtbG5zPSJNaWNyb3NvZnQuU2hhcmVQb2ludC5UYXhvbm9teS5Db250ZW50VHlwZVN5bmMiIFNvdXJjZUlkPSJkYWFhNjk3Ny02YzQwLTRmYjgtOGIwOC04NDk3YjcwN2JlMDgiIENvbnRlbnRUeXBlSWQ9IjB4MDEwMDVBM0M2QkJEMEM4NDUwNEZBMDM3NTJEMzkxOUZDQjVEIiBQcmV2aW91c1ZhbHVlPSJmYWxzZSIgLz4=</XmlDocument>              <XmlDocument NamespaceURI=http://schemas.microsoft.com/sharepoint/v3/contenttype/forms&#8221;>PEZvcm1UZW1wbGF0ZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vc2hhcmVwb2ludC92My9jb250ZW50dHlwZS9mb3JtcyI+PERpc3BsYXk+TGlzdEZvcm08L0Rpc3BsYXk+PEVkaXQ+TGlzdEZvcm08L0VkaXQ+PE5ldz5MaXN0Rm9ybTwvTmV3PjwvRm9ybVRlbXBsYXRlcz4=</XmlDocument>            </XmlDocuments>          </ContentType>          <ContentType ID=“0x010017AD3FB874451C4F8DD58309771F3D5800A446B1790750624282F9DFE39EF75A09” Name=“Audit Exception” Group=“EDRMS Portfolio DB” Description=“Create a new list item.” ReadOnly=“TRUE” Version=“1”          <Folder TargetName=“Audit Exception”/>            <FieldRefs            <FieldRef ID=“{c042a256-787d-4a6f-8a8a-cf6ab767f12d}” Name=“ContentType”/>              <FieldRef ID=“{fa564e0f-0c70-4ab9-b863-0177e6ddd247}” Name=“Title” Required=“FALSE” Hidden=“FALSE” ShowInNewForm=“TRUE” ShowInEditForm=“TRUE” ReadOnly=“FALSE” PITarget=“” PrimaryPITarget=“” PIAttribute=“” PrimaryPIAttribute=“” Aggregation=“” Node=“”/>            </FieldRefs>            <XmlDocuments            <XmlDocument NamespaceURI=“Microsoft.SharePoint.Taxonomy.ContentTypeSync”>PFNoYXJlZENvbnRlbnRUeXBlIHhtbG5zPSJNaWNyb3NvZnQuU2hhcmVQb2ludC5UYXhvbm9teS5Db250ZW50VHlwZVN5bmMiIFNvdXJjZUlkPSJkYWFhNjk3Ny02YzQwLTRmYjgtOGIwOC04NDk3YjcwN2JlMDgiIENvbnRlbnRUeXBlSWQ9IjB4MDEwMDE3QUQzRkI4NzQ0NTFDNEY4REQ1ODMwOTc3MUYzRDU4IiBQcmV2aW91c1ZhbHVlPSJmYWxzZSIgLz4=</XmlDocument>              <XmlDocument NamespaceURI=http://schemas.microsoft.com/sharepoint/v3/contenttype/forms&#8221;>PEZvcm1UZW1wbGF0ZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vc2hhcmVwb2ludC92My9jb250ZW50dHlwZS9mb3JtcyI+PERpc3BsYXk+TGlzdEZvcm08L0Rpc3BsYXk+PEVkaXQ+TGlzdEZvcm08L0VkaXQ+PE5ldz5MaXN0Rm9ybTwvTmV3PjwvRm9ybVRlbXBsYXRlcz4=</XmlDocument>            </XmlDocuments>          </ContentType>          <ContentType ID=“0x01001845946689C1004B9290F0B4BEBCB6E20072925977D27F5E42AC4CB9872A95396F” Name=“EDRMS Contacts” Group=“EDRMS Portfolio DB” Description=“Create a new list item.” ReadOnly=“TRUE” Version=“1”          <Folder TargetName=“EDRMS Contacts”/>            <FieldRefs            <FieldRef ID=“{c042a256-787d-4a6f-8a8a-cf6ab767f12d}” Name=“ContentType”/>              <FieldRef ID=“{fa564e0f-0c70-4ab9-b863-0177e6ddd247}” Name=“Title” Required=“FALSE” Hidden=“FALSE” ShowInNewForm=“TRUE” ShowInEditForm=“TRUE” ReadOnly=“FALSE” PITarget=“” PrimaryPITarget=“” PIAttribute=“” PrimaryPIAttribute=“” Aggregation=“” Node=“”/>            </FieldRefs>            <XmlDocuments            <XmlDocument NamespaceURI=“Microsoft.SharePoint.Taxonomy.ContentTypeSync”>PFNoYXJlZENvbnRlbnRUeXBlIHhtbG5zPSJNaWNyb3NvZnQuU2hhcmVQb2ludC5UYXhvbm9teS5Db250ZW50VHlwZVN5bmMiIFNvdXJjZUlkPSJkYWFhNjk3Ny02YzQwLTRmYjgtOGIwOC04NDk3YjcwN2JlMDgiIENvbnRlbnRUeXBlSWQ9IjB4MDEwMDE4NDU5NDY2ODlDMTAwNEI5MjkwRjBCNEJFQkNCNkUyIiBQcmV2aW91c1ZhbHVlPSJmYWxzZSIgLz4=</XmlDocument>              <XmlDocument NamespaceURI=http://schemas.microsoft.com/sharepoint/v3/contenttype/forms&#8221;>PEZvcm1UZW1wbGF0ZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vc2hhcmVwb2ludC92My9jb250ZW50dHlwZS9mb3JtcyI+PERpc3BsYXk+TGlzdEZvcm08L0Rpc3BsYXk+PEVkaXQ+TGlzdEZvcm08L0VkaXQ+PE5ldz5MaXN0Rm9ybTwvTmV3PjwvRm9ybVRlbXBsYXRlcz4=</XmlDocument>            </XmlDocuments>          </ContentType>          <ContentType ID=“0x010030AD093A85649846B59710F4D05342F80049E722FACD80644EBE748BF114D659F4” Name=“EDRMS Item” Group=“EDRMS Portfolio DB” Description=“Create a new list item.” ReadOnly=“TRUE” Version=“1”          <Folder TargetName=“EDRMS Item”/>            <FieldRefs            <FieldRef ID=“{c042a256-787d-4a6f-8a8a-cf6ab767f12d}” Name=“ContentType”/>              <FieldRef ID=“{fa564e0f-0c70-4ab9-b863-0177e6ddd247}” Name=“Title” Required=“FALSE” Hidden=“FALSE” ShowInNewForm=“TRUE” ShowInEditForm=“TRUE” ReadOnly=“FALSE” PITarget=“” PrimaryPITarget=“” PIAttribute=“” PrimaryPIAttribute=“” Aggregation=“” Node=“”/>            </FieldRefs>            <XmlDocuments            <XmlDocument NamespaceURI=“Microsoft.SharePoint.Taxonomy.ContentTypeSync”>PFNoYXJlZENvbnRlbnRUeXBlIHhtbG5zPSJNaWNyb3NvZnQuU2hhcmVQb2ludC5UYXhvbm9teS5Db250ZW50VHlwZVN5bmMiIFNvdXJjZUlkPSJkYWFhNjk3Ny02YzQwLTRmYjgtOGIwOC04NDk3YjcwN2JlMDgiIENvbnRlbnRUeXBlSWQ9IjB4MDEwMDMwQUQwOTNBODU2NDk4NDZCNTk3MTBGNEQwNTM0MkY4IiBQcmV2aW91c1ZhbHVlPSJmYWxzZSIgLz4=</XmlDocument>              <XmlDocument NamespaceURI=http://schemas.microsoft.com/sharepoint/v3/contenttype/forms&#8221;>PEZvcm1UZW1wbGF0ZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vc2hhcmVwb2ludC92My9jb250ZW50dHlwZS9mb3JtcyI+PERpc3BsYXk+TGlzdEZvcm08L0Rpc3BsYXk+PEVkaXQ+TGlzdEZvcm08L0VkaXQ+PE5ldz5MaXN0Rm9ybTwvTmV3PjwvRm9ybVRlbXBsYXRlcz4=</XmlDocument>            </XmlDocuments>          </ContentType>        </ContentTypes>        <Forms        <Form Type=“DisplayForm” Name=“{E6BC58D2-03C9-443E-A9E9-1457A0EE9170}” Url=“Lists/Test1WithMultipleContentTypes/DispForm.aspx” Default=“TRUE” FormID=“0”/>          <Form Type=“EditForm” Name=“{88B97F4D-A183-4D27-8360-37CB895D7412}” Url=“Lists/Test1WithMultipleContentTypes/EditForm.aspx” Default=“TRUE” FormID=“0”/>          <Form Type=“NewForm” Name=“{4373EC06-A519-496D-8712-E116E0E8D3BE}” Url=“Lists/Test1WithMultipleContentTypes/NewForm.aspx” Default=“TRUE” FormID=“0”/>        </Forms>        <Security        <ReadSecurity>1</ReadSecurity>          <WriteSecurity>1</WriteSecurity>          <SchemaSecurity>0</SchemaSecurity>        </Security>      </MetaData>    </List>  </Lists>

Update Search Result Web Part: Query Text and Result Source

I had to automate update of result source and query of a search result web part in a search page as part of deployment script to move changes from DEV to TEST, UAT and PROD.

The XML definition of a search result web part is

<webParts>
<webPart xmlns=”http://schemas.microsoft.com/WebPart/v3″&gt;
<metaData>
<type name=”Microsoft.Office.Server.Search.WebControls.ResultScriptWebPart, Microsoft.Office.Server.Search, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c” />
<importErrorMessage>Cannot import this Web Part.</importErrorMessage>
</metaData>
<data>
<properties>
<property name=”MaxPagesBeforeCurrent” type=”int”>4</property>
<property name=”ShowBestBets” type=”bool”>True</property>
<property name=”Height” type=”string” />
<property name=”AdvancedSearchPageAddress” type=”string”>advanced.aspx</property>
<property name=”AllowZoneChange” type=”bool”>True</property>
<property name=”UseSharedDataProvider” type=”bool”>False</property>
<property name=”ShowPreferencesLink” type=”bool”>True</property>
<property name=”EmptyMessage” type=”string” />
<property name=”ScrollToTopOnRedraw” type=”bool”>True</property>
<property name=”ShowDefinitions” type=”bool”>True</property>
<property name=”SelectedPropertiesJson” type=”string”>null</property>
<property name=”ShowViewDuplicates” type=”bool”>False</property>
<property name=”CatalogIconImageUrl” type=”string” />
<property name=”RepositionLanguageDropDown” type=”bool”>True</property>
<property name=”PreloadedItemTemplateIdsJson” type=”string”>[“~sitecollection/_catalogs/masterpage/Display Templates/Search/Group_Default.js”,”~sitecollection/_catalogs/masterpage/Display Templates/Search/Item_Default.js”,”~sitecollection/_catalogs/masterpage/Display Templates/Search/Item_Site.js”,”~sitecollection/_catalogs/masterpage/Display Templates/Search/Item_Word.js”,”~sitecollection/_catalogs/masterpage/Display Templates/Search/Item_PowerPoint.js”,”~sitecollection/_catalogs/masterpage/Display Templates/Search/Item_Person_CompactHorizontal.js”,”~sitecollection/_catalogs/masterpage/Display Templates/Search/Item_BestBet.js”,”~sitecollection/_catalogs/masterpage/Display Templates/Search/Item_WebPage.js”]</property>
<property name=”ResultsPerPage” type=”int”>10</property>
<property name=”EmitStyleReference” type=”bool”>True</property>
<property name=”ShowPaging” type=”bool”>True</property>
<property name=”ResultTypeId” type=”string” />
<property name=”ShowUpScopeMessage” type=”bool”>False</property>
<property name=”AllowMinimize” type=”bool”>True</property>
<property name=”AllowClose” type=”bool”>True</property>
<property name=”HelpMode” type=”helpmode”>Modeless</property>
<property name=”Title” type=”string”>Search Results</property>
<property name=”ShowResults” type=”bool”>True</property>
<property name=”MaxPagesAfterCurrent” type=”int”>1</property>
<property name=”ShowResultCount” type=”bool”>True</property>
<property name=”Hidden” type=”bool”>False</property>
<property name=”ItemTemplateId” type=”string” />
<property name=”ItemBodyTemplateId” type=”string”>~sitecollection/_catalogs/masterpage/Display Templates/Search/Item_CommonItem_Body.js</property>
<property name=”UseSimplifiedQueryBuilder” type=”bool”>False</property>
<property name=”HitHighlightedPropertiesJson” type=”string”>[“Title”,”Path”,”Author”,”SectionNames”,”SiteDescription”]</property>
<property name=”AvailableSortsJson” type=”string”>[{“name”:”Relevance”,”sorts”:[]},{“name”:”Date(Newest)”,”sorts”:[{“p”:”Write”,”d”:1}]},{“name”:”Date(Oldest)”,”sorts”:[{“p”:”Write”,”d”:0}]},{“name”:”Lifetime Views”,”sorts”:[{“p”:”ViewsLifeTime”,”d”:1}]},{“name”:”Recent Views”,”sorts”:[{“p”:”ViewsRecent”,”d”:1}]}]</property>
<property name=”DataProviderJSON” type=”string”>{“QueryGroupName”:”Default”,”QueryPropertiesTemplateUrl”:”sitesearch://webroot”,”IgnoreQueryPropertiesTemplateUrl”:false,”SourceID”:null,”SourceName”:null,”SourceLevel”:null,”CollapseSpecification”:””,”QueryTemplate”:”{searchboxquery}”,”FallbackSort”:null,”FallbackSortJson”:”null”,”RankRules”:null,”RankRulesJson”:”null”,”AsynchronousResultRetrieval”:false,”SendContentBeforeQuery”:true,”BatchClientQuery”:true,”FallbackLanguage”:-1,”FallbackRankingModelID”:””,”EnableStemming”:true,”EnablePhonetic”:false,”EnableNicknames”:false,”EnableInterleaving”:true,”EnableQueryRules”:true,”EnableOrderingHitHighlightedProperty”:false,”HitHighlightedMultivaluePropertyLimit”:-1,”IgnoreContextualScope”:false,”ScopeResultsToCurrentSite”:false,”TrimDuplicates”:true,”Properties”:{},”PropertiesJson”:”{}”,”ClientType”:”AllResultsQuery”,”UpdateAjaxNavigate”:true,”SummaryLength”:180,”DesiredSnippetLength”:90,”PersonalizedQuery”:false,”FallbackRefinementFilters”:null,”IgnoreStaleServerQuery”:true,”RenderTemplateId”:””,”AlternateErrorMessage”:null,”Title”:””}</property>
<property name=”ChromeState” type=”chromestate”>Normal</property>
<property name=”AllowHide” type=”bool”>True</property>
<property name=”AllowEdit” type=”bool”>True</property>
<property name=”StatesJson” type=”string”>{}</property>
<property name=”RenderTemplateId” type=”string” />
<property name=”ShowPersonalFavorites” type=”bool”>True</property>
<property name=”ShowSortOptions” type=”bool”>False</property>
<property name=”ChromeType” type=”chrometype”>None</property>
<property name=”AllowConnect” type=”bool”>True</property>
<property name=”HelpUrl” type=”string” />
<property name=”ShowLanguageOptions” type=”bool”>True</property>
<property name=”Description” type=”string”>Displays the search results and the properties associated with them.</property>
<property name=”ServerIncludeScriptsJson” type=”string”>null</property>
<property name=”TitleUrl” type=”string” />
<property name=”AlternateErrorMessage” type=”string” null=”true” />
<property name=”ShowAlertMe” type=”bool”>True</property>
<property name=”ShowDidYouMean” type=”bool”>True</property>
<property name=”QueryGroupName” type=”string”>Default</property>
<property name=”Width” type=”string” />
<property name=”ShowAdvancedLink” type=”bool”>True</property>
<property name=”ExportMode” type=”exportmode”>All</property>
<property name=”Direction” type=”direction”>NotSet</property>
<property name=”BypassResultTypes” type=”bool”>False</property>
<property name=”GroupTemplateId” type=”string” />
<property name=”TitleIconImageUrl” type=”string” />
<property name=”MissingAssembly” type=”string”>Cannot import this Web Part.</property>
</properties>
</data>
</webPart>
</webParts>

 

The webpart property DataProviderJSON needs to be updated. The property is  in Json format which is converted to JSON using PowerShell ConvertFrom-Json method. The PowerShell ConvertTo-Json method is used to convert back to JSON before updating the “DataProviderJSON ” property.

The properties SourceId and SourceName refer to the result source.

On SharePoint On Premises environment , the SourceId can be found from navigating to central administration>Manage Service Applications>Search Service application>Result Sources.editresultsource

The format of the URL is http:///_admin/search/EditResultSourceSSA.aspx?level=service&appid={c21b4115-4e78-4d93-a4e7-24a9472c9b19}&sourceid=886883b4%2Db44c%2D4870%2Da0ff%2D1c0f81b2d9c8

In SharePoint Online, navigate to SharePoint Admin>Search>Manage Result sources and click on the result source you wish to find Id. The URL format is

https://-admin.sharepoint.com/_layouts/15/searchadmin/EditResultSource.aspx?level=tenant&sourceid=203fba36-2763-4060-9931-911ac8c0583b&view=1

Extract and decode the sourceid parameter from the url.

To update the query text, the QueryTemplate  needs to be changed. In the example below it is set to value “contentclass:STS_Web contentclass:STS_Site -SPSiteURL:personal {searchboxquery}” which means returns all sites or web based on the search criteria.

Referring to my post “Add Refiners to Refinement web part“, I had to write a script in PowerShell using CSOM SharePoint assemblies to update the result web part property DataProviderJSON.

searchresultsquerytextselectaquery

Use the following script to call function UpdateSearchResultsDataProviderWebPart .

$ctx=New-Object Microsoft.SharePoint.Client.ClientContext($SiteCollectionUrl);
$ctx.Credentials = New-Object System.Net.NetworkCredential($Username, $password);
$rootWeb = $ctx.Web
$ctx.Load($rootWeb)
$ctx.ExecuteQuery();
UpdateSearchResultsDataProviderWebPart -ctx $ctx -pageUrl "/Search/Pages/SiteDirectory.aspx"

Add Refiner to Refinement Web Part using CSOM and PowerShell

The refinement web part present by default on a search results page help to narrow down search results. The inter connected web parts present in a search result page are

  1. Search Box Web Part
  2. Search Navigation
  3. Search Results
  4. Refinement Web Part

The refinement web part used refiners which are managed properties bound to crawled properties created by search crawl. The managed properties must be enabled as refiners to be able to use on the web part.

newrefineraddedtowebpart

By default, the refiners FileType, contentclass, contentTypeId, WebTemplate, DisplayAuthor and LastModifiedTime are available to select.

The XML definition of the webpart is

<webParts>
<webPart xmlns=”http://schemas.microsoft.com/WebPart/v3″&gt;
<metaData>
<type name=”Microsoft.Office.Server.Search.WebControls.RefinementScriptWebPart, Microsoft.Office.Server.Search, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c” />
<importErrorMessage>Cannot import this Web Part.</importErrorMessage>
</metaData>
<data>
<properties>
<property name=”StatesJson” type=”string”>{}</property>
<property name=”HelpUrl” type=”string” />
<property name=”ServerIncludeScriptsJson” type=”string”>null</property>
<property name=”Height” type=”string” />
<property name=”TitleUrl” type=”string” />
<property name=”SelectedRefinementControlsJson” type=”string”>{“refinerConfigurations”:[{“sortBy”:0,”sortOrder”:0,”maxNumberRefinementOptions”:21,”propertyName”:”FileType”,”type”:”Text”
,”displayTemplate”:”~sitecollection/_catalogs/masterpage/Display Templates/Filters/Filter_Default.js”,”displayName”:””,”useDefaultDateIntervals”:false,”aliases”:[“format”],”refinerSpecStringOverride”:””
,”intervals”:null},{“propertyName”:”contentclass”,”displayName”:null,”displayTemplate”:”~sitecollection/_catalogs/masterpage/Display Templates/Filters/Filter_Default.js”,”maxNumberRefinementOptions”:10
,”type”:”Text”,”refinerSpecStringOverride”:null,”useDefaultDateIntervals”:false,”isInherited”:false,”sortBy”:0,”sortOrder”:0,”intervals”:null,”aliases”:[“DAV:contentclass”]},{“propertyName”:”ContentTypeId”
,”displayName”:null,”displayTemplate”:”~sitecollection/_catalogs/masterpage/Display Templates/Filters/Filter_Default.js”,”maxNumberRefinementOptions”:15,”type”:”Text”,”refinerSpecStringOverride”:null
,”useDefaultDateIntervals”:false,”isInherited”:false,”sortBy”:0,”sortOrder”:0,”intervals”:null,”aliases”:null},{“propertyName”:”WebTemplate”,”displayName”:null
,”displayTemplate”:”~sitecollection/_catalogs/masterpage/Display Templates/Filters/Filter_Default.js”,”maxNumberRefinementOptions”:10,”type”:”Text”,”refinerSpecStringOverride”:null
,”useDefaultDateIntervals”:false,”isInherited”:false,”sortBy”:0,”sortOrder”:0,”intervals”:null,”aliases”:null},{“propertyName”:”DisplayAuthor”,”displayName”:null
,”displayTemplate”:”~sitecollection/_catalogs/masterpage/Display Templates/Filters/Filter_Default.js”,”maxNumberRefinementOptions”:9,”type”:”Text”,”refinerSpecStringOverride”:null
,”useDefaultDateIntervals”:false,”isInherited”:false,”sortBy”:0,”sortOrder”:0,”intervals”:null,”aliases”:null},{“propertyName”:”LastModifiedTime”,”displayName”:null
,”displayTemplate”:”~sitecollection/_catalogs/masterpage/Display Templates/Filters/Filter_SliderBarGraph.js”,”maxNumberRefinementOptions”:0,”type”:”DateTime”
,”refinerSpecStringOverride”:null,”useDefaultDateIntervals”:true,”isInherited”:false,”sortBy”:0,”sortOrder”:0,”intervals”:null,”aliases”:[“Write”,”FileWrite”,”DAV:getlastmodified”]},{“sortBy”:0
,”sortOrder”:0,”maxNumberRefinementOptions”:15,”propertyName”:”RefinableString00″,”type”:”Text”,”displayTemplate”:”~sitecollection/_catalogs/masterpage/Display Templates/Filters/Filter_Default.js”
,”displayName”:”Directorate”,”useDefaultDateIntervals”:false,”aliases”:null,”refinerSpecStringOverride”:””,”intervals”:null},{“sortBy”:0
,”sortOrder”:0,”maxNumberRefinementOptions”:15,”propertyName”:”RefinableString01″,”type”:”Text”,”displayTemplate”:”~sitecollection/_catalogs/masterpage/Display Templates/Filters/Filter_Default.js”
,”displayName”:”Status”,”useDefaultDateIntervals”:false,”aliases”:null,”refinerSpecStringOverride”:””,”intervals”:null}]}</property>
<property name=”AllowConnect” type=”bool”>True</property>
<property name=”RenderTemplateId” type=”string”>~sitecollection/_catalogs/masterpage/Display Templates/Filters/Control_Refinement.js</property>
<property name=”AllowZoneChange” type=”bool”>True</property>
<property name=”EmptyMessage” type=”string” />
<property name=”ExportMode” type=”exportmode”>All</property>
<property name=”AllowHide” type=”bool”>True</property>
<property name=”AllowEdit” type=”bool”>True</property>
<property name=”Description” type=”string”>This webpart helps the users to refine search results</property>
<property name=”AllowMinimize” type=”bool”>True</property>
<property name=”ChromeType” type=”chrometype”>None</property>
<property name=”ChromeState” type=”chromestate”>Normal</property>
<property name=”CatalogIconImageUrl” type=”string” />
<property name=”HelpMode” type=”helpmode”>Modeless</property>
<property name=”TitleIconImageUrl” type=”string” />
<property name=”Width” type=”string” />
<property name=”AlternateErrorMessage” type=”string” null=”true” />
<property name=”Hidden” type=”bool”>False</property>
<property name=”Title” type=”string”>Refinement</property>
<property name=”AllowClose” type=”bool”>True</property>
<property name=”MissingAssembly” type=”string”>Cannot import this Web Part.</property>
<property name=”UseManagedNavigationRefiners” type=”bool”>False</property>
<property name=”QueryGroupName” type=”string”>Default</property>
<property name=”EmitStyleReference” type=”bool”>True</property>
<property name=”Direction” type=”direction”>NotSet</property>
</properties>
</data>
</webPart>
</webParts>

To modify the collection of refiners the property “SelectedRefinementControlsJson” which is in Json format needs to be updated.

The property “SelectedRefinementControlsJson” is converted to JSON using PowerShell ConvertFrom-Json method before additional refiners are added. The PowerShell ConvertTo-Json method is used to convert back to JSON before updating the “SelectedRefinementControlsJson” property.

Metalogix Import From FileShare To SharePoint – Extract Folder Name from FilePath using CSOM PnP

I was evaluating the Metalogix tool for Migration from fileshare to SharePoint. The file share edition needs to be selected while installing the Metalogix content matrix tool. The good news is that it can fulfil the following requirements:

  • Migrate files recursively from within folders , i.e. flatten folder
  • Replace illegal characters with character specified
  • Handle duplicate by either overwriting file or not moving file
  • The CreatedBy, CreatedDate, ModifedBy and ModifiedDate file properties can be maintained by mapping these properties to SharePoint respective Out of the Box columns
  • Can apply custom filter on the following
    • Created Before
    • Created After
    • Modified Before
    • Modified After
    • File Size Max

MetalogixCustomFilters

  • Can migrate user permission as set on the folder/file from fileShare to SharePoint, however I could not find option how to map to SharePoint Groups.
  • Can migrate sub folders
  • Incremental migrate
  • Migration can be scheduled, in scenario where migration needs to be run out of office hours
  • Can extract custom properties on file using “Extracting MS Office File Properties”

I was stuck how to extract different level of folder names for nested folders. The folder names represent useful metadata which we wanted to migrate also.

I managed to extract the top level folder using RegEx expression. I created a new column “Folder” from the “Items View “tab for the file share location. Right clicking on the view brings the option “Extract Content from Property” .

MetalogixExtractContentFromProperty

I used Regex  [^\\]+(?=\\[^\\]+$) on the Metalogix [Source Url] column and extracted the result to column [Folder] created above.

MetalogixExtractFolderUsingRegex

After running the extraction, the column Folder is correctly populated with the folder name in which the file resides.

MetalogixExtractFolderName

I was trying to figure out how to retrieve various folder levels from a path and map them to different columns. Let’s say the folder structure is

\Server\First Level Folder\Second Level Folder\Third Level Folder\My File.extension

From the above method I managed to retrieve only [Third Level Folder] name.

If I want to retrieve [Second Level Folder], then I have to use a different regex together ^(?:[^\\]*\\){4}([^\\]*) with the regex above  [^\\]+(?=\\[^\\]+$)

The number {4} can be updated to get different folder levels.

The regex can be tested from Windows PowerShell and correct result is returned by applying both regex expressions.

TestRegexToRetrieveDifferentLevel

I created two additional columns [tmpLevel1] and [Level1] from the file share location [Items View] tab.

Using the  regex ^(?:[^\\]*\\){4}([^\\]*), I extracted the path into column [tmpLevel1] which is in the format ” \Server\First Level Folder\Second Level Folder\Third Level Folder”

MetalogixExtractFolderLevelUsingRegex

I repeated the process but this time using [^\\]+(?=\\[^\\]+$) on column [tmpLevel1] to save result in column [Level1].

MetalogixExtractFolderLevelFinalUsingRegex

The final results is now I have the third level and second level folder name.MetalogixExtractFolderLevelResultspng

The issue however is that the steps need to be repeated for each new file share location making the deployment steps quite cumbersome.

The other option is to keep the migration step simple mapping just Out of Box fields.

MetalogixFieldMappings

After files are migrated to SharePoint, the column [MigrationSourceURL] is created and populated by default in the library.

MetalogixMigrationSourceURL

Thus running the PowerShell using CSOM script below after migration the columns Level0 and Level1 can be populated with the folder names. The value from column “MigrationSourceURL” is retrieved for all documents and split into level 0 and level 1.

After running the script, the Level0 and Level1 columns are populated.

DocumentsLevel01AfterPWCSOM

Update Choice Field values using CSOM in PowerShell

I wanted a CSOM script in PowerShell to add a new value to a choice field in SharePoint. Most of the examples I found were in CSOM Managed Code (C#) but could not find anything in PowerShell.

I came up with the embedded code.

The client assemblies are referenced

  •  SharePoint Assemblies\Microsoft.SharePoint.Client.dll
  • SharePoint Assemblies\Microsoft.SharePoint.Client.Runtime.dll

I have created the function Add-ChoiceValueToField to contain the logic to add a value to a choice field.

The Field object has to be cast into FieldChoice to expose the Choices property. In PowerShell the CastTo method can be accessed using the MakeGenericMethod.

[Microsoft.SharePoint.Client.ClientContext].GetMethod("CastTo").MakeGenericMethod([Microsoft.SharePoint.Client.FieldChoice]).Invoke($ctx,$field)

I have used the  Load-CSOMProperties function from script Load-CSOMProperties.ps1  to load the existing property “Choices” which an immutable collection.  Load-CSOMProperties.ps1  is available from blog post Loading Specific Values Using Lambda Expressions and the SharePoint CSOM API with Windows PowerShell to help with querying object properties like Lambda expressions in C#.

Load-CSOMProperties -object $fieldChoice -propertyNames @("Choices") ;

I have saved the collection in an array object $FieldChoiceValues to which the existing choice values have been added. If the value to be added does not exist, then it is added to the array object  $FieldChoiceValues.

Finally the Field Choices property is updated with the array object $FieldChoiceValues

$fieldChoice.Choices = $FieldChoiceValues;
$fieldChoice.Update()

The function can be called as follows

Add-ChoiceValueToField -ctx $ctx -ListTitle "ListTestManually" -FieldName "TypeNum" -ChoiceValue "7"

 

JSOM SharePoint Online Create Term with custom shared and local properties

The sp.Taxonomy.js can be used to create a term in the taxonomy store. I wanted to create Shared Custom properties on the term. However the JavaScript library on MSDN  mentions only  the method setLocalCustomProperty which creates or updates a local custom property.

The SetCustomProperty is mentioned in MSDN to use in CSOM managed code to create or update shared custom property on a term. There is a lack of documentation how to use the method in JSOM.  Following the convention of method name in JavaScript ,i.e. camelCase , I called the  method on a term object in JavaScript and it worked.

term.setCustomProperty("ClientId",1234);

The JSOM code below provides a UI to specify the term to create. To test the code, copy and paste the code into a JavaScript file, upload the JavaScript file into the site and reference the JavaScript file from a Content Editor WebPart.

CreateTerm

When the button “Create Term” is clicked, the term is created with the shared and local custom property.

TermWithCustomProperties