The xslt-list-view-web-part tag has no wiki summary.
6
votes
2answers
2k 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
6
votes
3answers
5k 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 ...
6
votes
3answers
453 views
Show created field with only date in XSL
I have a custom XSL file I linked in one my view. I would like to display the created field value as a date only.
By now I have this xsl template :
<xsl:template name="FieldRef_ValueOf.Created"
...
4
votes
2answers
5k 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 ...
4
votes
2answers
2k 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 ...
3
votes
1answer
806 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 ...
3
votes
2answers
585 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" };
...
3
votes
1answer
987 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 ...
3
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 ...
2
votes
1answer
280 views
How to Fetch Data from .ICS file in Sharepoint 2010 ?
How to fetch data from iCalendar file in sharepoint 2010 webpart ?
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.
...
2
votes
1answer
198 views
How to change column title for a view, but not modify the list?
SP2010. I have a list that works fine, and I don't want to modify or rename any of it's columns. Why? I've got plenty of Ajax queries hitting that list, and don't want to break what works.
But, this ...
2
votes
1answer
303 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 ...
2
votes
1answer
571 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 ...
2
votes
1answer
1k 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 ...
2
votes
1answer
1k 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 ...
2
votes
2answers
3k 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:
...
2
votes
1answer
723 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
81 views
Displaying View: Dropdown in LVWP Toolbar
So I'm trying to figure out why when I go into a specific list on the right side I have the "View" Dropdown, but when I am on a page with a List view web part with Show Toolbar it does not have the ...
2
votes
1answer
641 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:
...
2
votes
1answer
254 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"?>
...
2
votes
1answer
482 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
946 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 ...
2
votes
3answers
3k 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. ...
2
votes
1answer
151 views
Cross-Site XsltListView WebPart throws Exceptions
I Created a site with a XsltListView Webpart displaying list content from another site in the same site collection. I created it using Sharepoint Designer by exporting the Webpart from the original ...
2
votes
2answers
386 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 ...
2
votes
2answers
640 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 ...
2
votes
0answers
483 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();
...
2
votes
1answer
342 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 :
...
2
votes
0answers
456 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 ...
2
votes
2answers
143 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 ...
2
votes
1answer
2k 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 ...
1
vote
3answers
891 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
415 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
3answers
1k 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
2answers
275 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
524 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
2answers
38 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
1answer
947 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
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
839 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
917 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
778 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
0answers
14 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
183 views
SharePoint 2010 List Grouping Expand/Collapse Sequence Bug
I've run into a bug with a List web part that has me stumped.
Bug description: Using the web part and XSL specified below, expanding groups may result in items from the wrong group being shown. ...
1
vote
0answers
314 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
1answer
738 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"
...
1
vote
0answers
189 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
267 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
1answer
707 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 ...

