Solved

Sharepoint 2010 customize XSLT Listview Web Part

Posted on 2011-03-16
3
2,692 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Suggested Solutions

Last week I faced a strange issue recently, i have deployed SharePoint 2003 servers for one project and one of the requirements was to open SharePoint site from same server. when i was trying to open site from the same server i was getting authentic…
The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

710 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