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
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
975 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
524 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
2answers
1k views

Getting last three images with XSLListViewWebPart

I am trying to get the latest three images added to a picture library and put them on home page with XSLListViewWebPart but can't manage it to work. Here is the sample output I am trying to get: ...
1
vote
1answer
50 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
261 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
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
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
642 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
75 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
632 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
553 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
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
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
1k 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
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
1k 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
1k 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
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 ...
1
vote
0answers
35 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
50 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 = ...
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
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
142 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 ...
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" ...
1
vote
0answers
56 views

Is there an option to convert to XSLT view for Calendar Webpart?

I am trying to modify the calendar view of a document library. However, there doesnt seem to be an option for showing the name of the document on the calendar. I would like to have users click on the ...
1
vote
2answers
373 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
100 views

Will JSlink works in ListViewByQuery Control?

I added a ListViewByQuery control in my Application page. I added few ViewFields using SPQuery, I customized the rendering of those fields using JSlink, The fields are showing properly in ListView, ...
1
vote
1answer
48 views

How to Modify the Author name in Blog Categories (categories.aspx)?

I have copied blog.xsl and created Blogwrittenby.xsl to override the author name and display default author name. It works well for all other places except when we see categories. Any help would be ...
1
vote
0answers
128 views

Dynamically changed view of XsltListViewWebPart (in the custom form)

I have a form with custom XLV: <WebPartPages:XsltListViewWebPart ID="Xlv" runat="server" />, AFAIK, the view for this webpart is stored in the list as hidden. When user open form, the XLV query ...
1
vote
0answers
70 views

Remove ECB from XsltListViewWebPart

I have created XsltListViewWebPart programatically. I want to remove ecb on list items, I know this can be done by changing xsl of the webpart but I am getting null in it. Is there any way to do this? ...
1
vote
0answers
401 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 ...
1
vote
0answers
285 views

Connect XsltListViewWebPart with multiple providers

I have two lists defined: A: Projects (with a lookup column to B) B: Customer For list A I have two listviews: Open Projects Closed Projects Now I have a webpart page with three ...
1
vote
0answers
606 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 ...
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" ...
1
vote
0answers
526 views

Target Audience does not work with site SharePoint groups for XSLT List View web part

On some xsltlistview web parts, whenever I try to set the target audience to use one of the SharePoint site groups (These are groups created when you create a new site), it tells me that it does not ...
1
vote
0answers
159 views

xsltlistviewwebpart - view edit delete (ribbon) with filter

Is it possible to enable view, edit and delete (on the ribbon), when there is a filter applied? Thanks, David Esteves
1
vote
0answers
246 views

Disable Modal Dialogs from XSLTListView

i need to disable some modal dialogs for the form display in a listview. At the list settings I have disabled the modal dialog (NavigateForFormsPages="TRUE"). For the items of the list it works fine. ...
1
vote
1answer
156 views

Copying code over in Sharepoint Designer 2010 and changing it, deletes code from the original file, how can I fix this

Suppose I have two files, A, and B respectively. Everytime I copy xsl code from file A to B and modify the code in B and save it. The code in A gets removed (all except for the WebPartZone tags and a ...
1
vote
0answers
217 views

Web part only displays after refreshing page?

I've got a web part that displays one item in a list in a custom view. When going to the page that houses the web part, it errors, giving me a "Unable to display this Web Part. To troubleshoot ...
1
vote
0answers
456 views

XSLT Transform failed: 0x80004005 : Type Mismatch UrlDirName

I get the following error in sharePoint designer design mode when I add a thumbnail field to a xsltlistviewwebpart Any ideas on how to avoid? In addition, i want to modify the output of the ...
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(); ...
0
votes
2answers
332 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 ...
0
votes
2answers
3k views

How to add a XSLT List View Web Part into a Page Layout

How is it possible to add a XSLT List View Web Part into a Page Layout? I want to do this basically so that instead of adding the web parts I want to multiple pages, I can just apply the specific page ...
0
votes
1answer
689 views

xsltlistview overiding the column headings using Xsl Link

I have a listview webpart that used specific columns. Changing the names of the columns is not an option. Our users are insisting that the heading for these columns be updated, so I am thinking of ...
0
votes
4answers
2k views

Anonymous users denied access to XSL stylesheet

I have a XSLTListViewWebPart on a page and it is linked to an XSL stylesheet located in the Style Library. Anonymous users have read access to the Style Library. When a logged in user views the page, ...
0
votes
1answer
43 views

Displaying thumbnail preview of a document

I have an xslt list view webpart where I am displaying all the documents in a list. I want to implement on functionality where if user hover on a document link then I should display a small popup with ...