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

0
votes
1answer
191 views

Updating List View Web Part property in page

I have a List View web part (In the page > Add web part > App > document library name). I need to update the TitleUrl property of this web part through C# code. The SaveChanges() method below works ...
5
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 ...
3
votes
3answers
2k 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.
0
votes
0answers
10 views

Is it possible to use custom XSL and still use the “Display search box” option"?

I have found that if I specify any custom XSL on a ListView web part, it is no longer possible to see the "File a file" search box shown below: When the value of "XSL Link" is blank, I can see the ...
1
vote
1answer
28 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 ...
3
votes
1answer
462 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" ...
5
votes
1answer
3k 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
57 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 ...
1
vote
0answers
13 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 ...
0
votes
1answer
417 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"> ...
1
vote
0answers
31 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 ...
0
votes
0answers
14 views

Sharepoint 2010 XSLT Customization Lost on Save

I have a page with a XsltListViewWebPart. That is displaying a list with People objects (Person, Department, Email, Phone). I am trying to override the Email to be an actual mailto instead of loading ...
0
votes
1answer
757 views

Unable to create valid SPDataSource Select Command

I am to use SharePoint Designer, no custom c# code. I am 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 ...
0
votes
0answers
14 views

Check if the user is in a specific SP security group in the XSL for a DVWP?

I know it is possible to see if the user has access to the list with ddwrt:IfHasRights but I'm wondering if there is a way to check if a user is part of a specific security group? I'd like to be able ...
1
vote
0answers
883 views

SharePoint 2010 OOTB filtering and sorting is not working in XsltListViewWebPart in Arabic

I am working on a multilingual site in English and Arabic. I have some pages with XsltListViewWebPart to view custom lists with no more than 12 fields to display. These are connecting webparts and ...
0
votes
0answers
30 views

DVWP, XSLT, XML, plain text fields with HTML string not rendering as HTML string and not HTML the browser renders

I have a list with a multiple lines of text field set to plain text. For each item in the list, for that field I have HTML string like <b>hi</b>. I'm rendering the list using a DVWP with ...
0
votes
2answers
149 views

Declaritively hide a task list's timeline

I am trying to hide a task list's timeline declaritively, either in the View or XSLTListViewWebPart. The XLSTListViewWebPart is being added via a module and file, like so: <File Url="default.aspx" ...
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
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
0answers
52 views

Date format in XSLT List View web part

I have a list with a calculated column which adds 5 days to the Created date. The date calculates correctly on the list but when displayed via XSLT it subtracts 1 day. I have found many different ...
0
votes
0answers
92 views

Web Part error: One of the properties of the Web Part has an incorrect format

I get the following error: One of the properties of the Web Part has an incorrect format. Windows SharePoint Services cannot deserialize the Web Part. Check the format of the properties and try ...
3
votes
2answers
68 views

Site Columns JSLink doesn't work in custom XSLTListViewWebPart

I have a site column (Status) that I've added JSLink to, that runs my custom JavaScript. This works fine on lists. The JavaScript changes the text to a colored image. I've then created a Visual Web ...
1
vote
1answer
89 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
37 views

Date field won't show with ItemStyle.xsl

I'm pretty new user of SharePoint and i work with SharePoint 2010. I try to show the "StartDate" column of a page in my XSL template but it won't show. I put the column in the webpart configuration ...
0
votes
1answer
87 views

Dynamic filtering an XsltListViewWebPart

I want an XsltListViewWebPart filtered based on some custom metadata derived from the current user. Following Claudio Brotto’s article ...
0
votes
0answers
17 views

How to lock certain rows in sharepoint web access list?

How to lock certain rows in sharepoint web access list? It would be useful to lock the rows whichever is completed and to eliminate the further updating. Thanks
1
vote
0answers
43 views

CQWP not showning fields to display

My Content Query Web Part does not display anything under "fields to display" I've been adding custom xsl:template <xsl:template name='MyStyle' match="Row[@Style='MyStyle']" mode='itemstyle'> ...
0
votes
1answer
68 views

Setting maximum height limit for webpart

I am using XSL Stylesheet for styling a list view web part. In the webpart properties I can set the height as fixed or not. I want to be able to set a fixed height of maximum limit eg. 200px. What I ...
0
votes
1answer
110 views

Default XSLT List View filter when the page loads

I have a web page that is a customized list item form that contains editable "master" entry details and an XSLT list view for showing associated "detail" records. I am struggling with properly ...
0
votes
0answers
36 views

RSS Viewer Customization to remove some of the text rendered - SharePoint 2010

I am trying to customize the way the items from an RSS feed is displayed in my RSS viewer web part. I would like to prevent the web part from showing everything after the ellipses (...). For example ...
0
votes
0answers
31 views

How to pre-configure a ListView WebPart for Documents Library to be included in a custom Page Layout which is to be used across sub sites?

I need to include a document webpart in a page layout. Also, I need to pre-configure it with parameters like Row Limit, JS Link, ToolBar Type etc. to reduce end users work. It should refer to the ...
2
votes
1answer
780 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 ...
3
votes
2answers
8k 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
0answers
93 views

Web Part Connection doesn't work on XsltListViewWebPart after closing the Edit Form

After we migrated from SharePoint 2010 to 2013, we are facing a weird issue with a web part connection on XsltListViewWebParts. The Scenario We have implemented a web part which displays a combobox, ...
0
votes
1answer
175 views

Using xsl stylesheet with List View Web Part to display custom text

I am using a custom xsl stylesheet in Sharepoint 2013 listview webpart using the "XSL Link" property. The list view shows some items based on a filter. I want to display custom text such as "No ...
1
vote
1answer
26 views

Add new announcement link viewable by permissions

I created a Content query web part on my home page which is from an announcement list from a sub site. I wanted to add the "Add new Announcement" link below it, but only viewable to those who have ...
0
votes
1answer
45 views

Prevent XSLTListViewWebPart from removing selected items on page click

I am using an XSLTWebPart in SharePoint 2013 and when the user clicks on other elements of the page (outside the web part) certain sections trigger the webpart losing all selected items. I am ...
1
vote
0answers
22 views

Sorting by column heading in a grouped DVWP

I have created a data view in SharePoint Designer and applied 3 sorts, with the first one being a group function. Additionally, I have turned on the ability to sort by column heading. When the page ...
0
votes
1answer
144 views

SharePoint 2010 Javascript JSOM creating a List View Web Part using javascript

I was able to follow along and add a Content Editor web part to a page using javascript from MSDN here. I am now interested in trying to find a way to add a List View or Data View web part to a page ...
0
votes
1answer
132 views

Pagination not working with XSLTViewWebpart when created using Powershell

I am having similar issue as mentioned in below URL's. Paging in XsltListViewWebPart is not working perfectly when added programmatically Why don't folders work when adding an ...
0
votes
1answer
181 views

How to create XsltListviewWebpart on Sharepoint Wepart page using visual studio?

My requirement is, I want to add one Sharepoint webpartpage in my visual studio solution, which deploys to /Pages library, where I want to show data from three different lists of same site. After ...
1
vote
0answers
36 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 ...
0
votes
0answers
82 views

Inactive buttons in list tools tab ribbon - xlstlistviewwebpart on application page

I am adding XsltListViewWebPart to application page from behind code. I want to have fully functional ribbon there for this list view. I have also custom ribbon tab action and custom context menu ...
0
votes
0answers
48 views

SOAP AddWebPart: XsltListViewWebPart for a Picture or Document Library

I am trying to add list webparts to a webpartpage via SOAP/REST. I am using the AddWebPart or AddWebPartToZone Methods of the webpartpages.asmx Webservice. this works (almost to full content) for ...
0
votes
0answers
182 views

Modifying an XsltListViewWebPart on a display form of a custom list causes the view to change and only display the attachment and title fields

We are running SharePoint 2010 Enterprise and I am using SharePoint Designer 2010. I have created a main list (default Tasks template) and a related list (custom). On the display form of the main ...
0
votes
0answers
368 views

XSLTListViewWebPart is not working in SharePoint 2013

I have migrated my site from SharePoint 2010 to SharePoint 2013 and changed the layout as well. Then I figured out that the pages which contains XSLTListVeiwWebpart stopped working as expected. ...
2
votes
1answer
160 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. ...
0
votes
0answers
25 views

SharePoint xsltview grouping items

I have web part where I do grouping of items. "Group by content type" gives me 5 groups. Can i somehow add another "group by" but only under 2 of the 5 groups i have at the moment. Just adding another ...
0
votes
0answers
71 views

Pagination problem when using ParameterBinding to filter a list

I've been following this article to filter my list by binding the filter value to a parameter found in the URL. The filtering works fine but my problem is when I click on the next page, it shows no ...
0
votes
1answer
100 views

Changes made to XSLTListViewWebPart in SharePoint Designer not showing on page

I am trying to learn, through trial and error, how to get values from parameters that are declared in the ParameterBindings section in an XSLTListViewWebPart through SharePoint Designer. I have ...