SharePoint 2010 Lists tp_fields - not in XML? - sharepoint

I have a requirement to report directly on SharePoint data, and I am looking to use the tp_fields data from Lists table to get the mapping between the SQL column name (nvarchar1, nvarchar2,ntext1,int1 etc.) and SharePoint list column name. I will then create some SQL views which represents my data in a more understandable format (that mirrors the SharePoint list.)
This should be in XML format within tp_fields, however I just get the below:
0xA8A930310C000000B4260000789CD55A896EDB4812FD152E77334880698B47F38A6D011E1F13617D04B193 (...but much, much longer!)
Any ideas how to convert this to the XML? Or what the issue is? From my research, the tp_fields should contain a direct mapping between nvarchar1 and SharePoint list field name. But all of the examples I can find for this are around SP 2007 - has something changed between the 2? Is there anywhere else I can find this mapping?
Thanks,

SharePoint 2010 compresses that tp_Fields column now. There are answers elsewhere that show how to decompress it. For example:
How could I find the fields of a SharePoint list from database in SharePoint 2010?
or
SharePoint 2010 Content database

Related

Creating a Dropdown list based in another field in same form - Sharepoint 2013 List

Guys!
I have a Sharepoint List, and I'm struggling to customize the webpart to include a new Item.
The need is to create a Dropbox that changes values based in another field in same webform.
Here in this list, I select the Coordinator list, but the problem is I really don't know how to show in Analyst field just the analysts from the coordinator I just choose.
Note: We are using a workspace in Sharepoint 2013, and due adm restrictions we can only use the regular settings, so we can't create custom HTML webparts for example.

sharepoint 2010 export to excel filtered list

i have a custom list in sharepoint portal. i filtered it and export it but it displayed all item in excel. it ignored filtered results. i searched and found sharepoint 2010 doesn't allow get filtered data to excel. After that i found this link: http://www.codeproject.com/Articles/400720/SharePoint-2010-Export-Selected-Items-to-Excel and i tried it but it didn't work. i don't understand why. Is there any way export filtered list to excel in sharepoint 2010?
The link you reference only exports "selected" items---ones your put a check next to. With some moderate effort, you could modify the code to only export "filtered" items, but I have found it to be much easier to create views. When you create a view, it will only export the records that appear in that view.
Another approach would be to use the GetListItems Web service to retrieve the items you need to export.

How to edit external lists in sharepoint designer 2013

I currently have a simple external content type that displays a very small sql table on a external list in my SharePoint site. The problem is I have a date of birth field that gets formatted with the DateTime type instead of the Date type that is used when I created the SQL table. The biggest issue I am facing is the lack of designer view in SharePoint Designer 2013 that was included in 2010. Since I am forced to work with the source code, how do I go about formatting the date of birth fields so that it is displayed in simple Date format example: 01/01/2001. And also prevent the time from showing when adding or entering a new record to the list.
You could use a SELECT LEFTSQL statement to pull just the relevant information. Are you familiar with this method?
For clarification, here's an example:
CDate(Left([FieldName],10)
While being sure to change [FieldName] to match the field's name in your table.

content query webpart in sharepoint 2013 fetches only Title

The content query webpart in sharepoint 2013 fetches only Title. I am pointing to a Content type using it. Even though it contains many columns still Content Query displays only Title.
How can I customize it to point to some columns in that content type?
Also is there any other alternative to get data of columns of a particular content type?
Yes. You need to modify the itemstyle.xsl in the style library, and add a new template that can pull through the columns of your items.

Transfer of ITEMS from one Sharepoint List to another Sharepoint List

I bring in some data from one Sharepoint List and then need to move it across to another Sharepoint list. When I do this is SSIS I lose the orginally formatting like the new paragraph . Any way to preserve the formatiing ? I take a list from Sharepoint List from 2007 into a sql server database, do some processing and realise that I need this row in another sharepoint list so chute it out using the sharepoint destination SSIS task. Overview of what I am doing .

Resources