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

3
votes
1answer
21 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
20 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 ...
0
votes
0answers
12 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
24 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
14 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
23 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 ...
0
votes
0answers
17 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
44 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 ...
2
votes
1answer
101 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
45 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
0answers
63 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); ...
0
votes
0answers
30 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
48 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
85 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 ...
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 = ...
1
vote
2answers
141 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 ...
4
votes
1answer
136 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
24 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 ...
2
votes
1answer
57 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:
1
vote
1answer
241 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 ...
0
votes
0answers
38 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
80 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
198 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 ...
0
votes
1answer
75 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 ...
0
votes
1answer
39 views

Data view web part joined subview fails due to extra characters in ID field

I created a joined subview in a data view web part however it is failing to find any matching items because one of my join columns IdeaID. is bringing in additional characters (see image below). ...
0
votes
1answer
32 views

XML code for List view

I am trying to create a list view using xslt style sheet coding. I find out how write xslt with help of w3schools. But in order to write xslt coding i have to see the xml code of list view . Any one ...
0
votes
0answers
35 views

Time Zone calculations

On SharePoint 2010, so I am limited to XSLT 1.0. I have a list that contains locations (@Title) and time offsets in relation to GMT (@TimeOffset) and want to calculate the current date and time for ...
0
votes
1answer
93 views

How to use XSLT in sharepoint

Hi i am new to XSLT coding in share point, but i know that we can use XSLT coding to create a list view with more sty-lings. I have a list named "detailsOfEmployee" with columns ...
0
votes
0answers
27 views

How do I make the Followed documents page show title instead of filename?

In every user's personal site there's a page FollowedContent.aspx. This page have a XSLTListViewWebPart called "social" which have the property GhostedXSLLink="main.xsl". I want to modify it so that ...
0
votes
0answers
101 views

XslLink doesn't work

I create a webpart on my page. And I give style to the webpart with xslt file. And I'm linked this xslt file in my page. But xslt file doesn't work. This is my code: ...
0
votes
0answers
64 views

ListView exception on custom aspx page

I have a button "Upload file", which allows me to upload files to my custom folder inside some document library. I want to add a listview for that library, to see which files were already uploaded. ...
1
vote
1answer
51 views

Filter XSLT ListView with metadats as tags

My goals A documents library has a Metadata column. In a webpart page, user selects (through select2) several metadatas as tags. the tag(s) (one or many) are sent to a XSLT ListView XSLT ...
3
votes
1answer
330 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 ...
1
vote
0answers
139 views

How to read XSLT list item of a list view web part in SharePoint designer 2010 using jquery

I have a requirement to get data from one list(e.g., A) and display in some other list's (e.g. B) custom display form(e.g. CustomDispForm.aspx). Here I am going to do this with the help of jQuery SP ...
1
vote
1answer
231 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 ...
1
vote
1answer
170 views

Unable to paging in XSLTListViewWebPart programmatically

I want to display the document library's view on the page. To do so, I am using XsltListViewWebpart. My code is: XsltListViewWebPart documentView = new XsltListViewWebPart(); documentView.ListId = ...
4
votes
0answers
57 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. ...
0
votes
0answers
32 views

SharePoint Xslt List View webpart day/month wrong order

Ive created a conditional format if a SharePoint date column (LiveExpiry <= Today). The dates visible in the LiveExpiry column are of format 15/04/2015 (day,month,year) UK However the conditonal ...
1
vote
1answer
26 views

List view for FastSearch result with xslt in SharePoint 2010

Can SharePoint FAST search result be populated in list view web part (document library list view web part) using xslt? Is it possible?
1
vote
0answers
133 views

Multiple filter value webpart connection problem

We currently try to connect a custom webpart with a list view webpart. The aim is to send multiple filter values to the list view. The problem we have is that the list view does only use the FIRST ...
1
vote
1answer
508 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
93 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 ...
0
votes
0answers
77 views

XsltListViewWebPart Title gets repeated when editing wiki page

I have added xsltlistviewebpart in sharepoint wiki page I have used following code to added xsltlistviewebpart in wiki page SPFile file = newWeb.GetFile("SitePages/Community%20Home.aspx"); ...
0
votes
1answer
54 views

Want to show item from another list to a different List view

I am modifying a view of List A. My view page is colorcode.aspx and I have one more List B which items need to shown in the View page of colorcode.aspx. I want to know using xsl:value-of select="" ...
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 ...
0
votes
0answers
119 views

XSLT and decimal-format

I have a customized Xslt List View wepart and I want to format a field of type number as a European currency. The euro format requires a comma as a grouping-separator and a point as a ...
1
vote
1answer
192 views

External List : XsltListViewWebPart not loading view (Team Site)

Scenario: I have external list and I want to show specific view on team sites homepage. I add XsltListViewWebPart with featurereceiver because I can init specific settings and view to it when creating ...
1
vote
1answer
156 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" ...
0
votes
0answers
122 views

How to change the header column's DisplayName and font of listviewwebpart?

I'm not able to change the column header in my XsltListViewWebPart. I have modified view and added the display name property. But its not working! How can I change the text, font etc of my header row ...
0
votes
1answer
139 views

(Calendar) list views disappear from view selector menu of list view webpart

Me and my colleague are having a problem with disappearing programatically created (Calendar) list views. After the creation of the site, the views are created correctly and are displayed in the view ...