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
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
26 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
79 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
140 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
1answer
350 views

2013 App View List of Host Web with ListViewWebPart

Is it somehow possible to use the XsltListViewWebPart in the SharePoint-Hosted App to view and manipulate a List of the Hostweb? <WebPartPages:WebPartZone runat="server" FrameType="TitleBarOnly" ...
2
votes
0answers
217 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
675 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
189 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
587 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
534 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
694 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
489 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
8k 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
766 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
2k 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
614 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
96 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
2answers
800 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
1answer
808 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
1k 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
285 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
1answer
843 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
231 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
141 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
976 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
942 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
1k 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
2answers
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
145 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
591 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
263 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
11 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 ...
1
vote
1answer
42 views

XsltListViewWebPart when sorting retrieves all the data instead of from the Query

I've been trying out the XsltListViewWebPart for SharePoint Foundation 2013. So far I have been able to display my list according the the CAML query defined. Here is my acsx code below: ...
1
vote
1answer
29 views

XSLT not passing via javascript function

I'm using a DFWP and customising to send values to javascript function. I've managed to pass certain types of variables from XSLT to Javascript using the below code. <a><xsl:attribute ...
1
vote
0answers
53 views

Can you make an XSLT group by itself through lookup?

Recently I figured out this nice grouping template that I will paste below. Now I am wondering: my list is really simple: Title Parent (= lookup to Title of this list) I would like to this list to ...
1
vote
1answer
129 views

Connecting Web Parts - No Provider Schema

This is in an on-premise SP 2013 environment I am trying to connect a list view web part to a data form web part. (I want the list view web part to get filter values from the data form webpart). ...
1
vote
0answers
53 views

Move Custom list form between environments(Dev, UAT, PROD)

Environment : SharePoint 2010 Enterprise I have created custom list forms(new, edit, disp) in my development environment. In the CustomEditForm I have inserted XSLTListView webpart(Child List) below ...
1
vote
0answers
52 views

Adding a XsltListViewWebPart to a custom web part page causes an issue

Currently we are developing a custom page with many of the for-mentioned web parts added via the module file related to the default.aspx page. Nothing major special seems to work nicely. However ...
1
vote
0answers
266 views

XsltListViewWebPart: select default view

I'm trying to configure an XsltLisViewWebPart for deployment to a SharePoint site. I'm provisioning the views beforehand using: List oList = clientContext.Web.Lists.GetByTitle(list.Title); ...
1
vote
0answers
115 views

Find Zone ID of list view webpart remotely

How to find the ZoneID of a list view webpart remotely? We can use any means to get the information; CSOM, JSON, web services or hacks. But we cannot use server-side code. We can know any information ...
1
vote
2answers
479 views

XsltListViewWebPart provisioning of Community Discussion list is incorrect

I'm creating a SharePoint 2013 sandbox solution. On a Community site, OTB you have the Community Discussion list displayed on the home page. The view is based on Subject view. This gives you the graph ...
1
vote
1answer
235 views

How to find out number of distinct rows when using XSLT data view web aprt

Hi i know that we can find number of rows in XSLT data view web part by using this expression <xsl:variable name="Rows" select="/dsQueryResponse/Rows/Row"/> <xsl:value-of ...