Questions tagged [xslt-list-view-web-part]

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.

109 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
0answers
674 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 ...
4
votes
1answer
4k views

When adding a WebPart I get “List does not exist” error in SharePoint 2013

I created a list (Promoted Links) and exported the list as a WebPart using SPD and added the list to the gallery. But whenever I try to add the list to another page or site, I get the "List does ...
3
votes
0answers
266 views

Change a single line of text field to rich text?

I am having this issue: SharePoint 2013 - Custom View linkToItem=“TRUE” - Prevent Character Encoding in Link Text It sounds like I need to change the field to rich text. The field currently is a "...
3
votes
0answers
274 views

Apply filters to a list view placed on a page as webpart based on loggeed in user, also how to export the current view to excel

Given below my scenario, I have a list named User Configuration which stores user and country detail User (People or group field) | Country (Dropdown choice field) ---------------------------------...
3
votes
0answers
2k views

How to use parameter binding in list view web part

We usually use parameter binding in DVWP for eg to get server variables. Does any body has idea how to do it for xslt list view web part. I need to fetch looged on user id in list view web part for ...
3
votes
0answers
959 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 ...
3
votes
1answer
909 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" ...
2
votes
0answers
47 views

Reply as Anonymous(Unknown User) in SharePoint Community forum?

I have a SharePoint Community Site. Our Management believes users are not giving genuine replies due to lack of anonymity. So we need to provide a functionality to "Reply as anonymous" in a community ...
2
votes
0answers
84 views

Adding a ListViewWebpart to the Pagelayout.html/.aspx

I've been trying to add a ListViewWebpart to a page layout without success for some days now. I am using a SharePoint 2013 Standard Server with enabled publishing features. I also use the Oslo ...
2
votes
0answers
158 views

Return QueryString(ID) as an integer

I actually have a custom dispform with a XsltListViewWebPart. This list has a column called RootId. I need to filter data from this list based on the ID set in the page's URL. I can query the ID in my ...
2
votes
1answer
49 views

Context menu id not coming in xsltlistviewwebpart?

I had created a SharePoint list with two different views with a groupby query and two different custom list view WebParts with these two views. In one of the WebPart the context menu is available but ...
2
votes
0answers
320 views

SPO - Render ListView in XsltListViewWebPart and Query(limit rows to current user)

I created following listView through Visual Studio in my List on SharePoint-Hosted Add-in project: Where i created listView - Generated xml like this: <View BaseViewID="2" Name="2930629c-f218-...
2
votes
0answers
176 views

SharePoint Dataform and List view web part disappears from Site Pages

I have Created Data Form web part in SharePoint Designer 2013 and it was working fine. But when i check out the page and check in again it disappears from the page. Same happens with the List View ...
2
votes
2answers
332 views

Using an XsltListViewWebPart in a Page Layout, pointing to a relatively located list

I am trying to create a page layout with an XsltListViewWebPart that, no matter what site collection or subsite you're on, so long as that web has a list with that name, it will use it. At the moment,...
2
votes
1answer
78 views

How to modify the default list view?

I would like to know how to modify the standard SharePoint 2010 list view in order to increase columns width for instance. I already read the articles talking about using SharePoint Designer to ...
2
votes
0answers
108 views

Extremely complicated XSLT for a huge list of information

Which, I realize, is not the greatest title in the world, but I'm not sure what else to call this. So, the list data looks a little like this: More or less. Basically, a set of products are ...
2
votes
1answer
996 views

SharePoint 2010 Javascript JSOM creating a List View Web Part using javascript

I was able to follow along and add a Content Editor web part to a page using javascript from MSDN here. I am now interested in trying to find a way to add a List View or Data View web part to a page ...
2
votes
1answer
516 views

How to use XsltListViewWebPart with folders

I have an XsltListViewWebPart on a custom page that works fine for a SharePoint 2010 library. My problem is that I need to tell this web part to list only documents in a subFolder of the library. How ...
2
votes
1answer
1k views

Updating List View Web Part property in page

I have a List View web part (In the page > Add web part > App > document library name). I need to update the TitleUrl property of this web part through C# code. The SaveChanges() method below works ...
2
votes
1answer
115 views

How to diplay the cumulative total on the XSLT List View webpart in SharePoint 2010?

I want to diplay the cumulative total on the XSLT List View webpart in SharePoint 2010 as below, is that possible? Default view: Expected View:
2
votes
0answers
328 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 ...
2
votes
0answers
295 views

XsltListViewWebPart provisioning discrepancy SPLimitedWebPartManager AddWebPart versus manually adding

I've exported a XsltListViewWebPart with all of my settings to a .webpart file. I have added this to the webpart gallery in several site collections, I can edit a page add the webpart and it somehow ...
2
votes
0answers
272 views

ListViewWebPart FilterString not working?

I'm having some major hair pulling trying to get this to work, basically, I dynamically create a PublishingPage and insert a ListViewWebPart in it and target a List I have, all is fine, but the ...
2
votes
0answers
844 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(); xml.LoadXml(...
1
vote
2answers
20 views

How can I make the 'modified date' column of a list reflect when the contents of folder were last modified, not the folder itself?

I am using SharePoint online for work. I have a subsite with 2 WebParts, both of which are lists (XsltListViewWebPart). Each list has folders, with each folder having a number of documents within. ...
1
vote
1answer
727 views

The “XsltListViewWebPart” Web Part appears to be causing a problem. Unable to find the specified file

I have a SharePoint Online Site Classic team site template. I also have 1 blogs site as subsite underneath it. On top level site i am using content query webpart to publish blog items from blogs ...
1
vote
1answer
37 views

How to edit the source for an xsltListViewWebPart?

I have found an old xsltListViewWebPart that displays images to resemble a picture library. I'm completely unfamiliar with xsltListViewWebParts and I cannot find an option where the source for the ...
1
vote
0answers
102 views

Handling copy paste events in SharePoint 2013 JSGrid

Any idea how we can handle the copy paste events into the JSGrid. In IE we can copy from excel and paste(like in excel). I need to validate some columns on bulk paste. However none of the handlers are ...
1
vote
0answers
234 views

List View Web Part View Query contains issue

I am having a requirement where I need to filter List View Web Part data. For this I am using connected filter web part (text). The column I need to filter is also of type text, but I need to check ...
1
vote
0answers
42 views

how i can hide/remove links named (share on facebook ,Digg this ,etc) from my RSS viewer web part

I have added a RSS viewer web part to my team site, and i added this custom XSL (code copies from here http://sonnyeom.com/wordpress/simplified-rss-xsl-for-sharepoint-rss-viewer/.), to display only ...
1
vote
0answers
414 views

SharePoint List view which is filtered based on the Query String shows no items when pagination is used

I have created one view of a custom list. The item limit of this view is 5. It is filtered based on the value as shown in below image: I have added a web part of this view in a page and bound it with ...
1
vote
0answers
142 views

Custom property for the Content Query Web Part SharePoint 2013

I have to create Custom Property with the Content Query Web Part. I need this Property for the limit the number of rows to display and rotation time with CQWP. How to add those properties in the ...
1
vote
0answers
281 views

How to set calendar view in list view web part using CSOM in share point 2013

I have a calendar type of list in which I have set up overlays. When manually I add the same calendar list in the list view web part, it shows me all the events and the overlays in the web part. I ...
1
vote
0answers
76 views

Not working javascript: Dropdown menu filtering a List (Sharepoint 2007)

I have a list with multiple MenuTypes (MenuA, MenuB) I use a dropdown menu to filter these lists. I get an info from the active directory, so I can filter which menuType will be shown to the user. ...
1
vote
0answers
533 views

Is it possible to edit list views or add xslt without SharePoint Designer?

Is it possible to edit list views or add xslt without SharePoint Designer? SP Designer is blocked, but I have visual studio. I noticed I can see the "advanced edit" portions of the AllItems page, but ...
1
vote
0answers
250 views

String manipulation in ItemStyle.xsl file for Content query web part

i have image tag in ItemStyle.xsl file with my custom style template, here i have set image "src" attribute <img height="220px;"> <xsl:attribute name="src"> ...
1
vote
0answers
32 views

Put filter on list column using XSL

I want to customize the design of the web part using XSL. But when I apply the XSL file in XSL Link(Miscellaneous) during Edit Page the default behavior of filter disappears. How can I do this in XSL ...
1
vote
0answers
385 views

SP Designer 2013 bind parameter to item name

Trying to bind a parameter to the name of the item. I've found all kinds of examples of how to bind to the query string: <ParameterBinding Name="myParam" Location="QueryString(ID)" DefaultValue="0"...
1
vote
0answers
229 views

How to pass ID of selected row in custom list view web part in label of share point 2013

I have created a XsltListViewWebPart using server side object. Now I have to pass the ID of the selected item into a label. I want to pass the ID without JavaScript. This is my code for provider ...
1
vote
1answer
924 views

How to prevent column filter/sort PopUp menu in List View (XsltListViewWebPart) from being “cut off” when the web part has a fixed width/height

(This is for SharePoint 2013.) I am having a hard time figuring out the "css magic" to prevent the "Pop Up" menu (than appears when you click on a Column in a List View) from "cut off". Basically, ...
1
vote
1answer
504 views

SharePoint 2013 search center result displays the html code from a multiple text line field

I have a list library that contain two columns: Title: Single line of text field type Body: Multiple lines of text field type I am experiencing a problem related to the way search results from the ...
1
vote
0answers
53 views

Image Rendition option not available for XsltListViewWebPart

I have added my custom image library web part on my default home page programmatically. Now when I tried in default view of image libary. It shows image rendition option as below: It will not show ...
1
vote
0answers
227 views

Sharepoint Custom List conditional formatting date comparison

I am having an issue when creating conditional formatting using SharePoint Designer 2010. When the @Complete_x0020_Date is less than or equal to @Negotiated_x0020_Date, it will color the @...
1
vote
0answers
350 views

Date format in XSLT List View web part

I have a list with a calculated column which adds 5 days to the Created date. The date calculates correctly on the list but when displayed via XSLT it subtracts 1 day. I have found many different ...
1
vote
1answer
150 views

Date field won't show with ItemStyle.xsl

I'm pretty new user of SharePoint and i work with SharePoint 2010. I try to show the "StartDate" column of a page in my XSL template but it won't show. I put the column in the webpart configuration ...
1
vote
1answer
226 views

CQWP not showning fields to display

My Content Query Web Part does not display anything under "fields to display" I've been adding custom xsl:template <xsl:template name='MyStyle' match="Row[@Style='MyStyle']" mode='itemstyle'> &...
1
vote
0answers
62 views

Sorting by column heading in a grouped DVWP

I have created a data view in SharePoint Designer and applied 3 sorts, with the first one being a group function. Additionally, I have turned on the ability to sort by column heading. When the page ...
1
vote
2answers
520 views

XsltListViewWebPart when sorting retrieves all the data instead of from the Query

I've been trying out the XsltListViewWebPart for SharePoint Foundation 2013. So far I have been able to display my list according the the CAML query defined. Here is my acsx code below: <...
1
vote
1answer
224 views

XSLT not passing via javascript function

I'm using a DFWP and customising to send values to javascript function. I've managed to pass certain types of variables from XSLT to Javascript using the below code. <a><xsl:attribute name="...
1
vote
0answers
319 views

Can you make an XSLT group by itself through lookup?

Recently I figured out this nice grouping template that I will paste below. Now I am wondering: my list is really simple: Title Parent (= lookup to Title of this list) I would like to this list to ...