SharePoint 2013 Migration Issue: List UI is of 2010

Published by on

When you migrate from SharePoint 2010 to SharePoint 2013 , you will find that some of the custom lists that were created from list schema programmatically in 2010 still have 2010 UI in your new 2013 sites whereas other lists has 2013 UI .

Resolution 1

a. Go to the list schema from browser by typing <<current site URL>>/_vti_bin/owssvr.dll?Cmd=ExportList&List=<List GUID>. You can get list GUID from address bar by navigating to List settings page of the list/library. URL will look like http://<myURL>/_vti_bin/owssvr.dll?Cmd=ExportList&List=%7B6547BD5E%2D65B0%2D4652%2DB33B%2D856E78917E45%7D

b. Search for BaseViewID=”1“. Check if the view Node has below node:<JSLink>clienttemplates.js</JSLink>

c. If not, go to the project which contain your list definition, go to the list definition>schema.xml

d. Search for BaseViewID=”1″, add <JSLink>clienttemplates.js</JSLink> just above the <ViewFields> node. Below is the sample code

<View BaseViewID="1" Type="HTML" WebPartZoneID="Main" DisplayName="$Resources:core,All_Documents;" DefaultView="TRUE" MobileView="True" MobileDefaultView="True" SetupPath="pages\viewpage.aspx" ImageUrl="/_layouts/15/images/dlicon.png" Url="Forms/AllItems.aspx">
 <Toolbar Type="Standard" />
 <XslLink Default="TRUE">main.xsl</XslLink>
 <RowLimit Paged="TRUE">30</RowLimit>
 <JSLink>clienttemplates.js</JSLink>
 <ViewFields>
 <FieldRef Name="Field1"></FieldRef>
 <FieldRef Name="Filed2"></FieldRef><FieldRef Name="Filed3"></FieldRef></ViewFields>

e. Save the project and deploy it to your farm. Now, when you will navigate to the list from browser,you will find that the list has 2013 UI.

Resolution 2:

a. If <JSLink> node was already present as mentioned in step 2 then there can be other possibility of the list having 2010 UI. It may also be possible that few of the views are of 2010 and other are from 2013. To troubleshoot further go to the list and check the list view which is in 2010

b. Go to list settings page and navigate to the view that you just checked in the previous step. That is the List view which has 2010 UI

c. Expand the “Style” section of the view. In View style , select “Default” and click Ok.

d. UI of the list view will now be of 2013. For all such views where View Style is different from “Default” can be fixed by following these steps

 3,029 total views,  2 views today

Care to Share?

0 Comments

Leave a Reply