Solved

Sharepoint 2010 customize XSLT Listview Web Part

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Work Over Net is a new and very powerful collaboration product. With its new easy interface it is becoming very competitive to other similar products like webex and office interactive. WON 2010 have the standard business tools needed for multi-offic…
The Scenario: Let’s say you have a quote worksheet in Excel that you use to work up sales figures and such for your clients. You utilize SharePoint to manage and keep track of these documents. You would like values from your worksheet to populate Sh…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

756 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