Creating custom view in SharePoint 2010 with new column and row headings - sharepoint

I have a simple list where I am entering a name, a timeframe, and a tag. I'd like to create a custom view of this data where timeframe becomes column heading and tag is the row definition and the name is displayed in grid. What's the simplest way to accomplish this?

Use a Content Query Web Part to display the list.
You can add a custom item template to the ITEMSTYLE.XSL file in Style Library/XSL Style Sheets directory. With a simple structure like you are describing you can easily pivot and format the data.
For general syntax and an overview take a look at Heather Solomon's post: http://www.heathersolomon.com/blog/articles/CustomItemStyle.aspx
Another good link with relevant info:
http://kyleschaeffer.com/sharepoint/sharepoint-2010-item-styles-and-ddwrt/

Related

Search Display Template in Tabular Form with specified columns

What is the starting point to create a search display template in a table format and be able to specify which columns you want to display. Presently, the default format only shows the title, description, and link in a 3 row list. I would like to change this to have title, description, link in 3 columns (table format) and be able to add or remove more columns.
What I have managed till now is create a search page for Tasks, that only searches for files of that specific content type. Now I want to be able to decide which columns are shown in the resulting view and if possible show them in a tabular format.
I was thinking about finding a similar template and try edit the HTML to make it look as I want it. Is there a similar template? Or perhaps a ready template which I missed?
Thanks!
There was indeed a similar template, very similar to what I needed:
Displaying SharePoint 2013 Search Results in a Table
The table template html files are also provided for under an MIT License.

Sharepoint 2013 search result in table

I tried finding information on customizing the display result view without success.
I need to display the search result in a table in place of the list.
in my column of the result, I need the library and some common information between the different library.
Look at this template. Don't worry about "People Directory".
did you try creating a display template. That should let you customize the search results into any shape or form including tabular
http://office.microsoft.com/en-us/office365-sharepoint-online-enterprise-help/change-how-search-results-look-by-using-result-types-and-display-templates-HA104057444.aspx
http://blogs.technet.com/b/speschka/archive/2012/07/23/using-query-rules-result-types-and-display-templates-for-a-custom-search-sales-report-in-sharepoint-2013.aspx

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.

Sharepoint: Person column in custom list

I have a Person field in my custom list. I want to have a view that will show multiple fields from that Person instead of the one I had to choose when creating the Person column.
So basically I want to have one column for Person and then in the view see Name, title, email, phone. All of those are valid choices but I can only pick one right now.
I really want to avoid typing in the username lookup for each column I choose to display.
This is SP 2007
It sounds like you need to create a custom fieldtype (with a fieldcontrol) that inherits from the userfield but in viewmode renders out the different columns you need. Is that something along the lines you are looking for?
http://www.sharepointblogs.com/nicksevens/archive/2007/08/31/create-custom-field-types-for-sharepoint.aspx
Note: This link is broken
You probably want a Computed Field. Note that this is not a Calculated Column. A Computed Field is what is used to display the same data is different ways. In SharePoint there is a Title field, but there is also a "Title (linked to item with edit menu)" computed field as well as a "Title (linked to item)" computed field.
See midway down this link for more details. I'm not sure if it will have all of the power that you need, but if it does it is almost certainly what you are looking for if you don't mind getting into the Schema XML file a little.
Could you use a DataView web part for this? If it's just a question of viewing the data that might be suitable.
Came across this thread and thought I'd add a tip. This suggestion is clearly not for every use case, but may work well in situations where you're managing a list rather than allowing manual inputs (verified to work with SP 2013):
Create a spreadsheet with columns to match your SharePoint list that contains multiple profile fields. (for example: name, phone number, email address)
In the spreadsheet, enter the same email address in all of the person/group field types in that row. (e.g., boss#company.com, boss#company.com, boss#company.com)
Select and copy the row(s) you wish to transfer to SharePoint.
In SharePoint, change the list view to "Quick Edit" and paste the row(s) into the grid.
SharePoint will process each field and convert the email address to the profile value you selected during the list setup.

Sharepoint : Is there a webpart filter that supports wildcards?

I have a document library with a custom column named "compound" which is just text.
I want to put a filter (input text box) on that document library page so the view shows only the items where the compound column contains my typed-in text. Optimally, wildcards such as * or ? or full regular expressions could be supported... but for now, I just need a "contains".
The out-of-the-box text filter seems to only support an exact match.
The result output would be identical to what I would see if I created a new view, and added a filter with a "contains" clause.
Third party solutions are acceptable.
KWizCom has a filter web part that looks like it might do what you want:
KWizCom SharePoint List Filter Plus
Another option to try is using a SharePoint Designer Data View Web Part. I believe you can write the filter with a "contains" from SPD.
I know you can set up this kind of filter more easily if you add the normal List View to a page, and the edit it with SharePoint Designer. In SPD, you can set up a "begins with" filter. Here's a discussion where someone suggested the same thing.

Resources