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
323 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
0answers
10 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
0answers
24 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 ...
3
votes
2answers
364 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, ...
2
votes
2answers
2k 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" ...
0
votes
0answers
18 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
29 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: ...
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 ...
1
vote
2answers
530 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
2answers
384 views

Create external list without link to the item

I've got an External Item List (from a SQL Database source) and it works OK. However, it doesn't seem to matter what I do, I cannot remove the "link to item" from the first column. I'd like the list ...
0
votes
0answers
29 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. ...
5
votes
3answers
401 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 ...
2
votes
1answer
938 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 ...
2
votes
2answers
189 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 ...
1
vote
2answers
374 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 ...
0
votes
2answers
464 views

How to use XmlDefinitionLink & CAML to reuse View definitions in multiple XsltListViewWebPart controls?

This is what I want to achieve (in SharePoint 2010): A custom page containing 2 XsltListViewWebPart Both of them rendering the same list data, but with different XSLT definition for display I ...
1
vote
2answers
1k 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
35 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
107 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 ...
2
votes
2answers
407 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 ...
1
vote
1answer
21 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
36 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
65 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
54 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 = ...
3
votes
0answers
26 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
18 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 ...
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 ...
0
votes
1answer
731 views

Sharepoint 2013 Discussion Board OOB Webpart on a publishing page causes the Edit Page functionality not to work/function after publishing the page

Discussion Board OOB Webpart (xsltListViewWebpart) on a publishing page causes the Edit Page functionality not to work/function after publishing the page. Steps to reproduce: Create a Site ...
1
vote
1answer
2k views

dataform webpart button redirect new ID after saving

I have two DataFormWebparts on a page, one for creating new objects, one to edit them. The Webpart that creates them has this button : <input type="button" value="Save" name="btnSave0" ...
1
vote
0answers
70 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
144 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
68 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 ...
5
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 ...
0
votes
0answers
36 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
30 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="" ...
0
votes
0answers
43 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 ...
0
votes
3answers
4k 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
131 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
69 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
81 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
91 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 ...
1
vote
2answers
1k 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
1answer
51 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 ...
2
votes
1answer
496 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 ...
0
votes
0answers
20 views

different query for same view showing on different page as list view web part

If you have three pages and want to add Documents library as list view web part to these three pages with different query (Programmatically), Do you need to create three different views for Documents ...
0
votes
2answers
91 views

Listviewwebpart doesn't render the data and shows “RENDER FAILED”

I have created a custom solution and used listviewwebpart to display the data. It works fine if I have only one webpart added on a page but as soon as I add another webpart I get RENDER FAILED error ...
1
vote
1answer
554 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" ...
0
votes
0answers
30 views

Update a Document Library List View web part asynchronously on clicking a folder

I've a document library List View webpart in a webpart page. and I enabled Asynchronous update on that list, I've folders in that library, when I click on the paging links the partial post back is ...
0
votes
0answers
185 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. ...
0
votes
0answers
26 views

SPFieldChoice not showing correctly in view

We have an SPFieldChoice "ApprovalStatus" and are showing it in a view through the following xslt: <td> <xsl:value-of select="@ApprovalStatus"/> </td> The thing is that it ...