Solved

Sharepoint 2010 customize XSLT Listview Web Part

Posted on 2011-03-16
3
2,654 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

914 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

12 Experts available now in Live!

Get 1:1 Help Now