XsltListViewWebPart class in Microsoft SharePoint Foundation derives from the XSL-based DataFormWebPart class. It replaces the ListViewWebPart class as the default view type in list views, although it generates equivalent HTML for the same view settings.

learn more… | top users | synonyms

2
votes
2answers
5k views

ddwrt:FormatDate is reverting date parts

I'm using a custom XSLT file to format the oob created column to not show time, only date. I have this code : <xsl:template name="FieldRef_ValueOf.Created" ...
2
votes
1answer
135 views

Displaying View: Dropdown in LVWP Toolbar

So I'm trying to figure out why when I go into a specific list on the right side I have the "View" Dropdown, but when I am on a page with a List view web part with Show Toolbar it does not have the ...
2
votes
1answer
336 views

XSL Transform impacting other Web Parts

I have on my SharePoint page an XSL List View Web Part linked to an XSLT file via the "XSL Link" property. Here is the content of the XSLT: <?xml version="1.0" encoding="utf-8"?> ...
2
votes
1answer
917 views

DVWP sorting the data with xslt and removing the duplicates

I'm working with SharePoint 2007. I try to modify the DVWP with the XSLT. The web part pulls the data from the list, what i want to do is just sort the data and show the results. - I can't sort the ...
2
votes
3answers
1k views

Pass a SharePoint list item value to a ListViewWebPart query

I'm stuck with the following Problem: The Task: I do have a custom SharePoint form which displays an entry from one of my SharePoint lists. On that Form I am using a ListViewWebPart to show the ...
2
votes
0answers
66 views

Extremely complicated XSLT for a huge list of information

Which, I realize, is not the greatest title in the world, but I'm not sure what else to call this. So, the list data looks a little like this: More or less. Basically, a set of products are ...
2
votes
1answer
56 views

How to use XsltListViewWebPart with folders

I have an XsltListViewWebPart on a custom page that works fine for a SharePoint 2010 library. My problem is that I need to tell this web part to list only documents in a subFolder of the library. How ...
2
votes
1answer
255 views

PreSaveItem() function not firing for save on XsltListViewWebPart

I have 2 web parts on the page, a DataFormWebPart and a XsltListViewWebPart. I'm trying to do some custom validation for the XsltListViewWebPart and would like to do it on the presave event. ...
2
votes
1answer
96 views

How to diplay the cumulative total on the XSLT List View webpart in SharePoint 2010?

I want to diplay the cumulative total on the XSLT List View webpart in SharePoint 2010 as below, is that possible? Default view: Expected View:
2
votes
0answers
180 views

XsltListViewWebPart cross site view unexpected error

We are programmatically adding an XsltListViewWebpart to a SPWeb in SharePoint 2013 Server. The web part is configured to show tasks from a list and view on another spweb. It works fine until it ...
2
votes
0answers
239 views

XsltListViewWebPart provisioning discrepancy SPLimitedWebPartManager AddWebPart versus manually adding

I've exported a XsltListViewWebPart with all of my settings to a .webpart file. I have added this to the webpart gallery in several site collections, I can edit a page add the webpart and it somehow ...
2
votes
0answers
808 views

How to use parameter binding in list view web part

We usually use parameter binding in DVWP for eg to get server variables. Does any body has idea how to do it for xslt list view web part. I need to fetch looged on user id in list view web part for ...
2
votes
0answers
213 views

ListViewWebPart FilterString not working?

I'm having some major hair pulling trying to get this to work, basically, I dynamically create a PublishingPage and insert a ListViewWebPart in it and target a List I have, all is fine, but the ...
2
votes
0answers
671 views

Modify XsltListViewWebPart XmlDefinition property not works as expected, filtering

I have got list with subfolders. I would like filter list items in current subfolder using additional caml query. I would like to add filtering functionality by modifing caml query. I try to update ...
2
votes
2answers
588 views

search result xml to list view?

is there an option how to render the search results xml like list view look&feel? For example I would like to configure that ok, this column should be rendered like a linktitle field type with all ...
2
votes
2answers
1k views

Adding webpart to filter view by code is not working

I need to add a new page in a new doc library. That works fine. In the page I need to add a webpart to filter list data from a view bases on 3 columns from the view. The following code is not ...
2
votes
0answers
734 views

Filtering a XsltListViewWebPart that has "Send Row of Data To“ connection doesn’t work?

Filtering of a XsltListViewWebPart is absolutely no problem when you change the webPart.XmlDefinition property like this: var xml = new XmlDocument(); ...
2
votes
1answer
539 views

aggregate data source and pseudo join?

Is it possible to use the aggregatedatasource to show all "parents" and theirs "children" where at least one "children" is created by the current user ? To be more clear, imagine the following : ...
1
vote
3answers
10k views

Creating an XsltListViewWebPart programmatically: Columns & toolbar

I add an XsltListViewWebpart to a page in an event receiver like this: public void CreateWebPart(SPList documentsList, SPLimitedWebPartManager wpm) { var documentsWP = new XsltListViewWebPart(); ...
1
vote
1answer
2k views

How to view xml code of a list view

I have created a view of list by following manner Created a new page Opened the page in edit mode clicked on add a web part Chose List and Libraries Clicked on list that is already created. I ...
1
vote
3answers
1k views

Search in List view on publishing page layout

UPDATE after trying the OOTB list app: I have a strange issue with placing a list view web part on a publishing page layout. The searchbox is displaying, but when I search it does not load any ...
1
vote
3answers
3k views

Hide column in xslt view

I've got an xslt list view. I have one column that should be used in the xslt calculation (shown as a row tooltip) but it should not be visible as a column in the list. Question: Must the column be ...
1
vote
3answers
1k views

content query web part versus custom web part

In a publishing site, I want to create a webpart that display the result of a query with a custom display (a kind of rotator). As the goal of the web part is to be reusable and must be quite simply ...
1
vote
2answers
637 views

format text as date in XsltListViewWebpart

I have an issue and I cannot find any documentation on it. I have a XsltListViewWebpart with a column called Dates that contains a few years in each row. Currently they appear as: 2008 2009 2010 ...
1
vote
1answer
121 views

Unable to access an XsltListViewWebPart in codebehind!

I have created a XsltListViewWebPart using the designer and copied the same page to a site page. This has been deployed from the visual studio. Now, I have added a code behind file. But, I'm not able ...
1
vote
1answer
1k views

How to customize the XsltListViewWebPart?

I would like to have submission feature on the List List structure would be Mon-Fri is considered as a week, user would be asked to select the current week's Friday from the calendar. It ...
1
vote
2answers
2k views

How to update 'asynchronous update' enabled listview programatically using javascript

I'm have a page in which one custom visual webpart and one listview webpart. I've have some custom checkboxes and dropdowns in my visual webpart, I'm making an ajax request and when i select the ...
1
vote
2answers
305 views

Filter list data based on page Url

I have a relatively small SharePoint list. When a user comes to the list page I want a generalized list to display with a search box. I want this list to have no parameters or variables attached to it ...
1
vote
2answers
2k views

SHAREPOINT ERROR: value does not fall within expected range

I am a newbie here, need your help :-( So here is my problem: I have 2 Sharepoint servers A and B Server A using SQl server 2008 R2 Server B using SQL server 2005 SP4 Both using Sharepoint ...
1
vote
2answers
2k views

LinkFilename - display text from other field

I have document library with column LinkFilename which renders link to document, where text is the name of the file. Is it possible to modify column is such way, that it will still render link to ...
1
vote
3answers
2k views

List view loses focus when additional webpart added to page

I have a list page to which I need to add an additional webpart (in this case, a more powerful filter). However, the ribbon doesn't appear because the listview does not have focus. This is easily ...
1
vote
1answer
969 views

Hide dropdown from XSLT List View WebPart

I have added a XSLT List view webpart to a sharepoint master using SPD 2010( in PlaceHolderLeftNavBarTop content placeholder ). The datasource for this list view webpart is a Links library. I have ...
1
vote
1answer
22 views

Grouped List View won't paginate properly

I have built a view of my document library where the items are grouped by a couple of columns. It is set to display 3 groups per page, and display items in batches of 10. In the Library, this works as ...
1
vote
1answer
152 views

Display multi-select lookup using XSLT List View webpart

I have a list with two lookup columns. Each allow multiple selections. I will say right of the bat that I am limited by admins to only using the XSLT List View web part. The DataView Web part not ...
1
vote
1answer
403 views

How to embed OOTB web part in a user control?

I'm planning to create a Visual Web Part. In the Visual Web Part's user control, I plan to embed an OOTB XSLTListViewWebPart, preferably through a declarative manner (in the .ascx). Has anyone done ...
1
vote
1answer
196 views

How do I modify the elements.xml for the default.aspx page using powershell or C#?

On SharePoint 2010, I have a site template solution created by saving a site as a template. Recently I modified the template in Visual Studio - I needed to change the markup for several ...
1
vote
1answer
1k views

XsltListViewWebPart Specifying Paging

I have an XsltListViewWebPart for which I programmatically intercept and replace the <Query> in it's XmlDefinition property. This works fine, and the list displays the correct data based on my ...
1
vote
1answer
1k views

Modifying XSL in xsltlistviewwebpart to render SharePoint 2010 ListItems as <ul> and <li> instead of <Table><tr><td>

I am trying to achieve what is mentioned in the title, but having trouble, need help. I am modifying the following templates 1. <xsl:template name="View_Default_RootTemplate" mode="RootTemplate" ...
1
vote
2answers
2k views

Changes are not reflected on XsltListViewWebPart when changing vwstyles.xsl

I have a question regarding the vwstyles.xsl for XsltListViewWebPart. Basically I have a strange behavior, when I change the vwstyles.xls but not directly but by the fldtype_somename.xsl, the changes ...
1
vote
1answer
164 views

SharePoint Web Parts can not be connected via hyperlink fields

In short: I'm trying to filter an XSLTListViewWebPart based on what is selected in another XSLTListViewWebPart. Using a String field as connection this is working fine. Using a hyperlink field no data ...
1
vote
2answers
630 views

Custom XSLT for taxonomy field in xsltlistviewwepbart for SharePoint 2010

I'm trying to modify the out-of-the-box rendering of the xslt list view webpart to collapse the terms, and show (..more) if there are more than 1 term in the field. I already did this for an "Authors" ...
1
vote
2answers
2k views

How can I use XSL, but with no toolbar, when using XsltListViewWebPart with a custom view?

I have the following XsltListViewWebPart on a custom application page: <WebPartPages:XsltListViewWebPart runat="server" Title="My Documents" ListUrl="Lists/MyDocuments" ...
1
vote
1answer
273 views

Opening videos in browser with XsltListViewWebPart

I created a Document Center site which has its own Content Query Web Parts. When I upload a video file to this document center, the Content Query Web Parts are playing the videos in browser with modal ...
1
vote
1answer
2k views

How do i display filtered list row counts on their own

I have a list and I want to produce a count of items (rows) in the list filtered by a value (lets say its fruit type) in one of the fields. easy enough to create a view that shows this, choose your ...
1
vote
3answers
2k views

Expected hex 0x in '{0xdddddddd, etc}' in XsltListViewWebPart

I have a slight glitch in a webpart. On the webpart, after the page loads, the first time you click on a row, this error pops up. You can navigate to a different tab on the same page or click another ...
1
vote
2answers
1k views

Ribbon not available for list item in dynamically created XsltListViewWebPart

The situation is the following. I'm creating an XsltListViewWebPart during the Page LifeCycle which is added to the page Controls collection (or UserControl Controls collection). The ...
1
vote
0answers
23 views

How to prevent column filter/sort PopUp menu in List View (XsltListViewWebPart) from being “cut off” when the web part has a fixed width/height

(This is for SharePoint 2013.) I am having a hard time figuring out the "css magic" to prevent the "Pop Up" menu (than appears when you click on a Column in a List View) from "cut off". Basically, ...
1
vote
1answer
41 views

SharePoint 2013 search center result displays the html code from a multiple text line field

I have a list library that contain two columns: Title: Single line of text field type Body: Multiple lines of text field type I am experiencing a problem related to the way search results from ...
1
vote
0answers
18 views

Image Rendition option not available for XsltListViewWebPart

I have added my custom image library web part on my default home page programmatically. Now when I tried in default view of image libary. It shows image rendition option as below: It will not show ...
1
vote
0answers
42 views

Sharepoint Custom List conditional formatting date comparison

I am having an issue when creating conditional formatting using SharePoint Designer 2010. When the @Complete_x0020_Date is less than or equal to @Negotiated_x0020_Date, it will color the ...