Solved

Sharepoint 2010 customize XSLT Listview Web Part

Posted on 2011-03-16
3
2,641 Views
Last Modified: 2012-06-21
I want to use an XSLTListView web part to present a filtered list of documents. I want the document title, not filename to link to the document.  I know this is possible in XSLT but I'm not sure where to start.
0
Comment
Question by:daronjsmith
  • 2
3 Comments
 
LVL 15

Expert Comment

by:dp_expert
ID: 35154672
Hello

When you have the XSLT Listview web part simply open the "Datasource details" pane. THere you will see list of all the columns and you can see what is the internal name of the column with the title. THen simply replace in the link column the filename to the title and you are done.
0
 

Author Comment

by:daronjsmith
ID: 35155588
I'm not sure I'm following you when you say "when you have the .. webpart open" do you mean in SPD, visual studio?  I'm not seeing the datasource details pane.

Thank you.
0
 
LVL 15

Accepted Solution

by:
dp_expert earned 500 total points
ID: 35156415
I meant the SPD 2010. There is an easier way, without opiening the "Data source details"
First open the page where you have this view.
You need to click on the list view, then in the ribbon pick , in the "List View Tools" pick the "Design" tab
Open "design tab"Turn on XSLT view customization Change to XSLT viewIn the view itself click on the column you want to modify and double click in the object breadcrumb at the bottom the last "XSL:value-of" node.Picking the field to change the sourceNext delete the value ont the "Edit the XPAth expression" and in the "Select field to insert" double-click on the field you want to insert.  
change-field.png
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
SharePoint 2016 2 46
SharePoint 2013 open PDF in adobe 5 183
OneDrive 4 74
Sharepoint 2013 won't open, even in safe mode 26 41
I recently came across an issue with a MOSS 2007 deployment where access into some sub-sites were denied, even for the MOSS farm administrators. A bit of background to the setup of this MOSS farm; this was a three server setup, consisting of a fr…
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now