In SharePoint 2003 and 2007, there was an AllLists table in which there was a column named tp_Fields containing xml containing all the fields for a specific list.
the xml example stored in the tp_Fields column will be displayed in a SharePoint list with three fields:
<FieldRef Name="ContentTypeId" /> <FieldRef Name="_ModerationComments" ColName="ntext1" /> <FieldRef Name="WebPartTypeName" ColName="nvarchar9" />
We have an application that reads from this column using C # code, for example.
var tpFields = (String) drView["tp_Fields"];
In SharePoint 2010, the data type of this column has changed to varbinary and contains only some binary data!
(I know that the ideal / recommended solution was to use SharePoint web services or the SharePoint object model and not rely on base tables, but unfortunately we have an existing application and we will need to work with it in 2010 as well. , we donβt have to redesign everything!)
How can I find out which fields from a SharePoint list in my database in SharePoint 2010? or, if possible, how to convert this varbinary column to its equivalent xml as before?
I hope the question is clear (little hope for its tbh capability).
Thanks,
source share