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

2
votes
1answer
1k views

Show Add New Item on XsltListViewWebPart programatically

I am trying to show the Add New Item link on an existing XlstListviewwebpart. But the code below is not working. I found this here: ...
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 ...
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
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 ...
0
votes
2answers
4k views

Unable to display this Web Part. To troubleshoot the problem, open this Web page … & Error: Reference to undefined entity 'nbsp'

I created a page in SharePoint Designer 2007 that use a SharePoint Library. I used the method of 'generating XSLT' from this page - How to customize the header titles of the List Views web part ...
1
vote
1answer
146 views

SharePoint Web Parts can not be connected via hyperlink fields

In short: I'm trying to filter an XSLTListViewWebPart based on what is selected in another XSLTListViewWebPart. Using a String field as connection this is working fine. Using a hyperlink field no data ...
2
votes
1answer
329 views

XSL Transform impacting other Web Parts

I have on my SharePoint page an XSL List View Web Part linked to an XSLT file via the "XSL Link" property. Here is the content of the XSLT: <?xml version="1.0" encoding="utf-8"?> ...
0
votes
0answers
755 views

List View Webpart with Thumbnail View

I have a Picture library and I use the default Thumbnails view. So I created a List View WebPart on the home page and the items are all messed up. Instead of showing in a nice and tidy grid, there are ...
1
vote
2answers
604 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" ...
2
votes
2answers
1k views

Adding webpart to filter view by code is not working

I need to add a new page in a new doc library. That works fine. In the page I need to add a webpart to filter list data from a view bases on 3 columns from the view. The following code is not ...
3
votes
2answers
1k views

XsltListViewWebPart forgetting current web when being rendered on Layouts page

I'm adding a very simple XsltListViewWebPart to an application page. Like so: XsltListViewWebPart lvWebPart = new XsltListViewWebPart { ChromeType = PartChromeType.None, ListUrl = "/somesite/list" }; ...
2
votes
1answer
903 views

XsltListViewWebPart remembering state in cookie not working properly

I have a XsltListViewWebpart that shows a tree structure with nodes. I made a jquery script that sets a cookie which persists the state of the nodes (expanded/collapsed) between postbacks. I added ...
0
votes
1answer
118 views

Column that show the title of an item and point to a lookup value?

I have two lists, let's say "Parent" and "Child". There is a lookup in "child" list that point to "parent". In a custom view of Child list, I'd like to have the title of "Child" display, with a link ...
0
votes
1answer
763 views

Condition on hidden field in xsl?

I have a custom xsl file that I use to show items in bold when a boolean fields equals to false. I've set up the xsl using SharePoint Designer, then I exported the Xsl node in a xsl file. I deploy ...
7
votes
2answers
6k views

XSLT Get Current date or Today in XSLT

Help please can anyone advise how I get current date, or today method in xslt 1.o SharePoint
2
votes
1answer
830 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 ...
3
votes
1answer
1k views

Xsl view, web relative link?

I have a custom list definition that defines some view. These views are linked to a custom xsl file because of some formatting rules (red row when field X equals Y). In this xsl, I'd like to add a ...
2
votes
1answer
2k views

sharepoint link not working in IE but working in Firefox

I have a problem with one of the links in a column of my XsltListViewWebpart. It's working perfectly fine in Firefox, but when I click it in IE, nothing happens. The code for the link is: <a ...
1
vote
2answers
618 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 ...
2
votes
1answer
2k views

Define XSLTListViewWebPart Custom DataSource

I'm currently working on a personal project which main goal is to create simple and customizable dashboards for everyday life. In order to avoid wrong way, I would like to know how to do to bind a ...
1
vote
0answers
597 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 ...
3
votes
2answers
9k views

Defining custom views in a list's schema.xml file

I have create a custom list definition, with a content type. In the schema.xml, I'd like to define two views : All items (the default one, generated by Visual Studio) My items (the same view with a ...
0
votes
1answer
477 views

Creating a custom View for List with custom UI

I'm trying to create a custom view for a list with custom UI. The following is my code: list.Views.Add("List View", coll, Query, 10, true, false); list.Update(); SPView view = list.Views["List ...
6
votes
2answers
10k views

how to customize xlstviewwebpart in sharepoint designer 2010?

i have try to editing xlstviewwebpart for editing customize.but havnt getting any clues for my scenario. i want to change title link in edit mode instead of display mode in webpart pages. when ...
0
votes
1answer
1k views

Using a list view to filter another list view

I have two lists; List A and List B. List B has a lookup column to List A. I want to filter List B based on the value in the field that looks up A. This can of course be done using the default OOTB ...
2
votes
2answers
2k 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
851 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 ...
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
0answers
315 views

Pass parent ID to new child list item in “inline edit” mode of ListViewWebPart

I'm trying to set up a 1:Many relationship between items in a parent list. In the EditForm for the parent item, I've inserted a XsltListViewWebPart for the child list, and set up filtering on the ...
1
vote
0answers
168 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
2
votes
1answer
421 views

Is it possible to update .Webpart file and reflect the change on all uses of a webpart

I have a webpart that is a modified XSLT list view webpart in SharePoint 2010. I exported the webpart as a file and uploaded it to the webpart gallery manually. If the user adds this webpart to ...
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" ...
0
votes
2answers
546 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 ...
4
votes
1answer
1k 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 ...
2
votes
3answers
1k views

Pass a SharePoint list item value to a ListViewWebPart query

I'm stuck with the following Problem: The Task: I do have a custom SharePoint form which displays an entry from one of my SharePoint lists. On that Form I am using a ListViewWebPart to show the ...
1
vote
0answers
271 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
172 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 ...
0
votes
2answers
212 views

two xslt list vew webparts

Is it possible to send different parameters like "rootfolder" (usually fount in the url as a get-parameter) to two different xslt list view webparts on one single page? How can I achieve this?
2
votes
2answers
2k views

Issue trying to customize xslt layout of a list view

This is probably simple but here goes. I want to customize the xslt layout of a list view. The idea is to add a header to the top which shows the name of the list. Here is what I have so far. ...
1
vote
1answer
265 views

Opening videos in browser with XsltListViewWebPart

I created a Document Center site which has its own Content Query Web Parts. When I upload a video file to this document center, the Content Query Web Parts are playing the videos in browser with modal ...
2
votes
0answers
701 views

Filtering a XsltListViewWebPart that has "Send Row of Data To“ connection doesn’t work?

Filtering of a XsltListViewWebPart is absolutely no problem when you change the webPart.XmlDefinition property like this: var xml = new XmlDocument(); ...
3
votes
1answer
2k views

2007 ListViewWebPart to 2010 XSLTListViewWebPart

After migrating from SharePoint 2007 to 2010 we found a few issues in the migrated document libraries, some styles were looking wierd and the biggest problem is that the "Add New Item" button is not ...
2
votes
2answers
4k views

How to programmatically set the Explicit attribute of a ViewField?

According to what little official documentation there is, you're supposed to use SPView.ViewData to set things such as the Explicit attribute of a ViewField, presumably by doing something like this: ...
1
vote
1answer
2k 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 ...
4
votes
2answers
4k views

XSLT ListView web part grouping and filtering

I have a web page in sharepoint 2010 on which I have added a document library using a XSLT ListView web part in sharepoint designer. I created a parameter that gets its value from the URL and is used ...
1
vote
3answers
2k 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 ...
0
votes
1answer
798 views

deploy XSLT list view webpart using “AllUserWebPart” through a feature from the solution package

I am trying to deploy custom pages from feature. I came to know that the webparts(oob or custom) are to be deployed from the elements file using the "AllUserWebPart" wherein we have to include the ...
1
vote
0answers
230 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 ...
2
votes
4answers
6k views

How can I filter a calendar (ListViewWebPart) web part?

I've entered a lookup field to a calendar list that corresponds with the values in a list of links. I would like to show only calendar entries on the web part that correspond with the selected link. ...