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
2answers
587 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
873 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
116 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
738 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
760 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
609 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
576 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
475 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
997 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 ...
1
vote
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
838 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
312 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
166 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
413 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
527 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
979 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
268 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
171 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
211 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
258 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
690 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
3k 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
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 ...
0
votes
1answer
793 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
226 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. ...
6
votes
4answers
8k views

How do I change the underlying list in an XsltListViewWebPart?

I have a list of lists and an empty XsltListViewWebPart. When the user clicks on a list in the list of lists, I'd like to show that list inside the XsltListViewWebPart. How can I change the underlying ...
0
votes
4answers
3k 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
2answers
550 views

Get ID for selected item in connected web part

I have an XSLTListView (RoleAssignments list) web part that is connected to another XSLTListview (Authorities list) web part which provides a filtered listing based on the selected role. I need to get ...
2
votes
1answer
1k views

How do I show single/multiple attachments from a XsltListViewWebPart of a list?

SharePoint 2007, trying to display attachments via an XsltListViewWebPart. Doesn't seem clear on how to accomplish this via designer.
2
votes
1answer
486 views

aggregate data source and pseudo join?

Is it possible to use the aggregatedatasource to show all "parents" and theirs "children" where at least one "children" is created by the current user ? To be more clear, imagine the following : ...
3
votes
0answers
593 views

Filtering an XLV with a Managed Metadata Field in a Publishing Page Layout

I have a custom Page Layout which inherits from Enterprise Wiki, with an additional column of type Managed Metadata. In SharePoint Designer, I place this field as a control onto my customised page ...
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
1k 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 ...