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

7
votes
2answers
5k views

XSLT Get Current date or Today in XSLT

Help please can anyone advise how I get current date, or today method in xslt 1.o SharePoint
7
votes
5answers
1k views

Add Document Library XsltListViewWebPart using CSOM or web services

How to add a document library XsltListViewWebPart (or list view web part) on page using CSOM with SP2013 when we do not want to use the in-built view with "Name, Modified, Modified By" fields? Custom ...
7
votes
2answers
353 views

How can I get the ID of the connected Item of ListView?

I have three connected ListView web parts on an application page, and I want to be able to access the item that is selected in each web part. This is not selected as in the "checkboxes" but rather, ...
7
votes
2answers
3k views

Error with /_layouts/assetportalbrowser.aspx

The AssetPortalBrowser.aspx page is throwing an error when rendering list or library content (screenshot and ULS output below). This happens regardless of the site opened from or the list/library you ...
6
votes
2answers
8k views

how to customize xlstviewwebpart in sharepoint designer 2010?

i have try to editing xlstviewwebpart for editing customize.but havnt getting any clues for my scenario. i want to change title link in edit mode instead of display mode in webpart pages. when ...
6
votes
4answers
7k views

How do I change the underlying list in an XsltListViewWebPart?

I have a list of lists and an empty XsltListViewWebPart. When the user clicks on a list in the list of lists, I'd like to show that list inside the XsltListViewWebPart. How can I change the underlying ...
6
votes
3answers
1k views

Show created field with only date in XSL

I have a custom XSL file I linked in one my view. I would like to display the created field value as a date only. By now I have this xsl template : <xsl:template name="FieldRef_ValueOf.Created" ...
6
votes
3answers
1k views

Why don't folders work when adding an XsltListViewWebPart to the page via code?

I have an issue with adding an XsltListViewWebPart to a page for a Document Library. When I do it using the code below everything works fine unless I create a folder and upload a document there. Such ...
5
votes
0answers
74 views

How does calculated field value form in pageInfo

Using paging in XsltListViewWebPart there are some rules, which form pageInfo attributes and which we can see in the query string. Here is the short example, what I mean. ...
4
votes
1answer
862 views

XsltListViewWebPart stuck on loading

We are currently running SharePoint 2010 Server SP1 + June CU. Our site collections were migrated using database attach method from SP2007. When we configure 2 or more XsltListViewWebPart that point ...
4
votes
2answers
3k views

XSLT ListView web part grouping and filtering

I have a web page in sharepoint 2010 on which I have added a document library using a XSLT ListView web part in sharepoint designer. I created a parameter that gets its value from the URL and is used ...
4
votes
1answer
199 views

Page Layout html xsltlistviewwebpart with custom view

GOAL: I am trying to create a custom page layout based on a custom content type that contains 3 xsltlistviewwebparts which use custom views that were created for the lists in the browser. I have ...
4
votes
1answer
213 views

ECB Menu HTML/JavaScript Getting Indexed By Google

I have an XsltListViewWebPart on a publishing page. I am using custom XSL to style the view; I am not even using the ECB menu. Why is Google indexing the ECB menu's HTML & JavaScript? When i ...
4
votes
1answer
1k views

Content Query Web Part: Lookup Column Value and XSL

There is a List with Lookup field. And there is a CQWP web part which uses this list as a Source and uses custom XSL style added to Itemstyle.xsl. And there is a problem how to render this field as a ...
4
votes
2answers
3k views

Provision XSLTListViewWebPart with <AllUsersWebPart> or <View> and customize the XslLink

I've created some custom List Definitions (aka List Templates) and am provisioning List Instances of them into my site. I am then provisioning Pages (Wiki/WebPartPages) that refer to the lists/views ...
3
votes
1answer
1k views

Xsl view, web relative link?

I have a custom list definition that defines some view. These views are linked to a custom xsl file because of some formatting rules (red row when field X equals Y). In this xsl, I'd like to add a ...
3
votes
2answers
1k views

XsltListViewWebPart forgetting current web when being rendered on Layouts page

I'm adding a very simple XsltListViewWebPart to an application page. Like so: XsltListViewWebPart lvWebPart = new XsltListViewWebPart { ChromeType = PartChromeType.None, ListUrl = "/somesite/list" }; ...
3
votes
2answers
460 views

Sharepoint Designer 2013, XSLT List View Options ribbon option is not showing

So I'm wondering if this is a bug or not. I have an ordinary Wiki Page, also tried making an Article Page. Once this page is made, I add an XsltListViewWebPart that points to a list, which is fine, ...
3
votes
2answers
8k views

Defining custom views in a list's schema.xml file

I have create a custom list definition, with a content type. In the schema.xml, I'd like to define two views : All items (the default one, generated by Visual Studio) My items (the same view with a ...
3
votes
2answers
37 views

Create a document library thumbnails view

Is there an easy way to create a thumbnail view for document libraries in SP 2013? hopefully a no-code method.
3
votes
1answer
42 views

XSLT conditional statements

I have a simple list with 3 columns: Title, URL, Color. The Color column is a choose column with two options: yellow or lightgreen. I am using the XSLT List View Web Part . I am trying to create an ...
3
votes
1answer
406 views

Get ID of item in ListView Web Part

How can I get the ID of an item in a ListView Web Part, on hover? I need this ID to fetch some columns from the list, and show them in a tooltip box. Can I get the whole thing done using ...
3
votes
1answer
384 views

SharePoint 2010 List Grouping Expand/Collapse Sequence Bug

I've run into a bug with a List web part that has me stumped. Bug description: Using the web part and XSL specified below, expanding groups may result in items from the wrong group being shown. ...
3
votes
1answer
2k views

2007 ListViewWebPart to 2010 XSLTListViewWebPart

After migrating from SharePoint 2007 to 2010 we found a few issues in the migrated document libraries, some styles were looking wierd and the biggest problem is that the "Add New Item" button is not ...
3
votes
0answers
574 views

Filtering an XLV with a Managed Metadata Field in a Publishing Page Layout

I have a custom Page Layout which inherits from Enterprise Wiki, with an additional column of type Managed Metadata. In SharePoint Designer, I place this field as a control onto my customised page ...
2
votes
1answer
693 views

How to Fetch Data from .ICS file in Sharepoint 2010 ?

How to fetch data from iCalendar file in sharepoint 2010 webpart ?
2
votes
2answers
2k views

Issue trying to customize xslt layout of a list view

This is probably simple but here goes. I want to customize the xslt layout of a list view. The idea is to add a header to the top which shows the name of the list. Here is what I have so far. ...
2
votes
2answers
988 views

Sharepoint 2013 JSLINK template with view grouping rendering

I'm looking for a tutorial or documentation on how to create a JSLINK rendering template that will perform view grouping rendering. I need to use this in connection with the list view webpart, where I ...
2
votes
1answer
4k views

How to change column title for a view, but not modify the list?

SP2010. I have a list that works fine, and I don't want to modify or rename any of it's columns. Why? I've got plenty of Ajax queries hitting that list, and don't want to break what works. But, this ...
2
votes
1answer
389 views

Is it possible to update .Webpart file and reflect the change on all uses of a webpart

I have a webpart that is a modified XSLT list view webpart in SharePoint 2010. I exported the webpart as a file and uploaded it to the webpart gallery manually. If the user adds this webpart to ...
2
votes
2answers
4k views

How to programmatically set the Explicit attribute of a ViewField?

According to what little official documentation there is, you're supposed to use SPView.ViewData to set things such as the Explicit attribute of a ViewField, presumably by doing something like this: ...
2
votes
4answers
6k views

How can I filter a calendar (ListViewWebPart) web part?

I've entered a lookup field to a calendar list that corresponds with the values in a list of links. I would like to show only calendar entries on the web part that correspond with the selected link. ...
2
votes
1answer
802 views

XsltListViewWebPart remembering state in cookie not working properly

I have a XsltListViewWebpart that shows a tree structure with nodes. I made a jquery script that sets a cookie which persists the state of the nodes (expanded/collapsed) between postbacks. I added ...
2
votes
1answer
2k views

sharepoint link not working in IE but working in Firefox

I have a problem with one of the links in a column of my XsltListViewWebpart. It's working perfectly fine in Firefox, but when I click it in IE, nothing happens. The code for the link is: <a ...
2
votes
1answer
2k views

Define XSLTListViewWebPart Custom DataSource

I'm currently working on a personal project which main goal is to create simple and customizable dashboards for everyday life. In order to avoid wrong way, I would like to know how to do to bind a ...
2
votes
1answer
951 views

How do I show single/multiple attachments from a XsltListViewWebPart of a list?

SharePoint 2007, trying to display attachments via an XsltListViewWebPart. Doesn't seem clear on how to accomplish this via designer.
2
votes
2answers
167 views

How to add a listviewwebpart by code

In my current production code, we have the following that was working perfectly fine: XsltListViewWebPart clientInfoWebPart = new XsltListViewWebPart(); clientInfoWebPart.Title = "Client Info"; ...
2
votes
2answers
270 views

How can I put a web part on an application page that can be deployed to any site?

I have an XSLTListViewWebPart on an application page. Why I use visual studio to deploy it to the development site, it works fine, but when I use central administration to activate the feature on ...
2
votes
1answer
273 views

Cross-Site XsltListView WebPart throws Exceptions

I Created a site with a XsltListView Webpart displaying list content from another site in the same site collection. I created it using Sharepoint Designer by exporting the Webpart from the original ...
2
votes
2answers
1k views

Adding caml query to the view in XSLTListViewWebpart

I am programmatically adding a list on the site page. The list is being added however the query that I am using for the view has no effect, Please find below the code I am using: using ...
2
votes
2answers
3k 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
120 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
929 views

Show Add New Item on XsltListViewWebPart programatically

I am trying to show the Add New Item link on an existing XlstListviewwebpart. But the code below is not working. I found this here: ...
2
votes
1answer
323 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
636 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
1answer
64 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
1answer
748 views

Filters on a large list exceeding throttle limit

On a SharePoint 2010 Server installation, I have a list with more than 5000 items. I created an indexed column and a view based on this column which is returning 100 items only, so far less than the ...
2
votes
0answers
103 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
190 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 ...