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

1
vote
1answer
428 views

Paging in XsltListViewWebPart is not working perfectly when added programmatically

I want to place a list view of the document library using XsltListViewWebPart. My is as below: using (SPSite site = new SPSite("XXX/")) { using (SPWeb web = site.OpenWeb()) { SPFile ...
0
votes
1answer
21 views

Alternate List Row Color in WebPart Content Query

XSL File : Created Custom Template Style <xsl:template name="Custom" match="Row[@Style='Custom']" mode="itemstyle"> <xsl:variable name="SafeLinkUrl"> ...
2
votes
1answer
994 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 ...
3
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 ...
0
votes
3answers
398 views

XSLT Listview webpart not showing site column lookup values

The Problem: We have a top level site that contains various lists of data. The information in these lists are exposed to subsites using site lookup columns. In our subsites we have various lists that ...
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 ...
0
votes
0answers
28 views

GroupBy in list data view

I want GroupBy on my list items in SharePoint 2013, First, I do that with create ListDataView with SharePoint designer. Is there any way that I can group more than two fields? I found just some ways ...
2
votes
3answers
245 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"; ...
0
votes
1answer
508 views

Unable to create valid SPDataSource Select Command

I am to use SharePoint Designer, no custom c# code. Currently using a SharePoint:SPDataSource on a DVWP to show a list. When the SelectCommand is blank it works fine but I will need to create dynamic ...
0
votes
1answer
340 views

Filter Parameter from Visual Web Part to XSLT or DataForm Web Part

I have a scenario where from Visual Web Part I need to send filter parameter to XSLTListView or DataForm Web Part on the same page! If I use Query String then I need to Response.Redirect and that will ...
0
votes
1answer
572 views

How to edit xslt for thumbnail view of Asset Library.?

I have added an XsltListViewWebPart which refers to the Asset Library in the site. I have given reference of AssetPick.xslt for thumbnail view for that web part. I want to put the Title in place of ...
0
votes
1answer
80 views

Cant add list view webpart through XML

I'm trying to add a listview webpart to my default page of my sandboxed solution for SharePoint 2013 in Office 365. I'm using a ONET file to define my webtemplate based on the STS template. Among ...
0
votes
0answers
16 views

SP13: Dataview Webpart &nbsp

I have a Dataview Webpart that is used in a page that originated in SP07 however was migrated to 2013 version. Looking at the xsl script there are no hard spaces are indicated by using &nbsp or ...
0
votes
0answers
17 views

BCS list view webpart filters

I've added a list view webpart to a page and created a query string parameter which filters the data based on a finder method provided via the ECT. I also want users to have the ability to further ...
3
votes
2answers
99 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.
1
vote
0answers
26 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 ...
0
votes
1answer
289 views

Sharepoint 2010 grouped xsltlistview with custom XSL does not show items when initial settings for group is 'fold'

Following problem : I have a xsltListView (auto created on a publishing site). I have editted the default view and copied the stylesheet to a new .xsl file and placed it into the style lybrary. On ...
1
vote
0answers
34 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 ...
4
votes
1answer
888 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 ...
3
votes
1answer
66 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 ...
0
votes
0answers
35 views

Compound filtering SharePoint 2010 list with Partial Postback to page

I am filtering a SharePoint 2010 list as explained in the below link, http://dcsharepointchick.blogspot.in/2013/05/filter-sharepoint-list-with-partial-postback.html Now I need to add one more filter ...
7
votes
5answers
2k 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 ...
0
votes
0answers
54 views

Increase Column width in SharePoint Designer 2010

I am trying to increase the column width through SharePoint Designer. I dragged the column to desired width in AllItems.aspx. However, if I save it I cannot find the change in the respective list. ...
0
votes
3answers
62 views

hiding duplicates in a SharePoint view

I have a list with the following information: I have attempted to create a table of contents by grouping results in the following manner: However, as you can see, I have duplicated results in ...
0
votes
0answers
30 views

Custom List View Link always changes

my custom list view xsl's path is between tags. For example: <XslLink>http://blahblah/site/customview.xslt</XslLink> But after a while it changes as ...
0
votes
0answers
72 views

Sharepoint 2013 List WYSIWYG Designer views

We need to offer our users a way to freeform format Custom List fields anywhere on a SharePoint page. The designer can not be InfoPath, SharePoint Designer or Reporting Services. Design experience ...
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 ...
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
2answers
494 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 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 ...
0
votes
0answers
37 views

Edit Column in XsltListViewWebPart from code behind

I would like to edit the columns of a XsltListViewWebPart. I want to add a Column like "Sum" which shows a calculated value (maybe including fetched data from different lists). That's why I would like ...
0
votes
1answer
94 views

How to provision XsltListviewwebpart programmatically

I want to add Xsltlistviewwebpart with some pre difened property(like list,view,zoneid) and also apply xsl to it.Does anyone has any example/code sample to show how can it be achieved. Thanks for ...
1
vote
2answers
570 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" ...
0
votes
3answers
6k 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(); ...
0
votes
1answer
73 views

asp Update Panel with timer control updates XSLTListViewWebPart

I have used one user control in SharePoint master page which will automatically refresh on every five seconds ( I have used asp Update Panel and asp timer control for doing this) And I have one ...
1
vote
2answers
790 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
0answers
184 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
2answers
290 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 ...
0
votes
0answers
38 views

dsQueryResponse : Single line text is automatically wrapped in anchor tag

I am trying to customized the view of list using XSL. I have a single line text filed named 'LinkUrl' which has value like http://someurl The problem is that dsResponseRow is not outputs the raw ...
1
vote
0answers
81 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 ...
0
votes
0answers
169 views

XsltListViewWebPart not working in Sharepoint 2013

I am having an issue with getting the XsltListViewWebPart working in Sharepoint 2013 installed on a Windows Server 2012. The Sharepoint error log is this: Area : SharePoint Foundation ...
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 ...
0
votes
0answers
4 views

Unable to get selected items using JavaScript from XsltListViewWebPart on Publishing page after published [duplicate]

I have placed xslt list view web part on publishing page. And above that I have placed one content editor web part to get selected items from the view. My JavaScript is: var ctx = ...
4
votes
1answer
295 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 ...
0
votes
0answers
49 views

Filtered List View XSLT Web Part empty when the page loads first time

I've added two date pickers 'From' and 'To' in a SharePoint list view through SharePoint Designer and assign the values from the datepicker to two hidden fields. I use these hidden fields as ...
1
vote
1answer
482 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 ...
2
votes
1answer
68 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:
0
votes
0answers
58 views

How to apply alternate colors to filtered table rows using XSLT

Hi i am able to apply alternate colors to table rows when i am not applying any filter using: <xsl:when test="position() mod 2 != 0"> But when i apply filter of unique values, i will get ...
1
vote
1answer
146 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 ...
1
vote
1answer
331 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 ...