We’re rewarding the question askers & reputations are being recalculated! Read more.

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.

Filter by
Sorted by
Tagged with
0
votes
1answer
391 views

How to make Person/Group and Look-up column values non-clickable in SharePoint 2013 list views

I'm using SharePoint 2013 Enterprise. For a SharePoint 2013 XSL List View Web Part, I need for the person/group column value, as well as look-up column value to be non-clickable. I have seen multiple ...
0
votes
1answer
520 views

Rename Title field in list definition SP 2013

Similar questions have been asked before but none of the solutions have worked so far for me. The list I am working with is part of an add-in so no settings menu is available. I am trying to rename ...
1
vote
1answer
41 views

Unable to remove title field from list definition

I am working with a list integrated into my SharePoint Add-in. Normally, to remove the title column, I would go into the list settings menu and work with the column that way. The issue is that from ...
0
votes
1answer
64 views

Viewing List Data via CQWP, need XSLT to modify the content look in CQWP Webpart

Viewing List Data via CQWP, need XSLT to modify the content look in CQWP Webpart Detailed explanation: I've created a List and its working fine. Created a CQWP webpart to fetch the List data and ...
3
votes
1answer
533 views

Create ListView with InplaceSearch on TeamSite from XML

TL;DR Version Cant create a webpart with searchbox (InplaceSearchEnabled) from XML and even cant modify it afterwards via SSOM to make it work. Setting the value over the UI works fine. Problem ...
0
votes
1answer
58 views

Cannot filter imported XSLTListViewWebPart

I am having difficulty getting filters to stick on my XSLTListViewWebPart (XLV) using Sharepoint Designer 2010. I am working on a single site collection that contains two sub-sites, a Document Center ...
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. ...
4
votes
1answer
548 views

Using Author in CAML Join

I'm trying to join my list and the users joining by the author (in a related element listview - XsltListViewWebPart): <Query> <Where> <Eq> &...
3
votes
2answers
343 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 ...
1
vote
0answers
544 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
1answer
1k views

CQWP error:- The web part references an untrusted XSL file

I've created Announcement CQWP. I've deploy wsp on local site root http://pc99 its working fine. but when I'm trying to use it on site http://pc99/sites/Test/Pages/Home.aspx It shows error: The ...
1
vote
0answers
252 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
393 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"...
0
votes
1answer
372 views

Update XsltListViewWebPart.ViewGuid Property on Page Load

I have a web part page with two XsltListViewWebPart web parts on it. Both are the same web parts pointing to the same Tasks list. I'm trying to update the view of both web parts and have the below ...
0
votes
2answers
96 views

Change the text of a td based on its content in SharePoint 2013 (XSLT)

I have web part showing a data view, in in which of the columns get its value like this: <td> <xsl:value-of select="@Closing_x0020_Date"/> </td> This works just fine, but now the ...
0
votes
1answer
431 views

XsltListViewWebPart with dynamic query

I have to prepare .aspx page with XsltListViewWebPart, which query depends on currently logged user. The query is complicated (querying over 3 lists..., I must find my juniors in Department user ...
1
vote
0answers
231 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 ...
0
votes
1answer
268 views

Filtering a simple list data source?

I'm using SharePoint Designer for SharePoint 2010. I created a new site page. On this page, I added a simple DataView via the designer (XsltListViewWebPart) that pulls all items from a list in the ...
0
votes
1answer
77 views

Changing XSL View not working

I have on my site a Business Data Connectivity list with a field which equals some urls. I found some internet links to change the url text to the image which the text points on. But it's not working....
0
votes
1answer
83 views

Discussion List showing wrong thread

I have a relatively large discussion list (~2000 discussions with ~8000 replies). Clicking through on any discussion in the discussion list does not take me to the correct thread, rather it surfaces ...
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 ...
1
vote
1answer
955 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, ...
0
votes
1answer
2k views

Programmatically add XsltListViewWebPart to Community Homepage

As you may know, when you create a Community site, it automatically creates a discussion list which is added to /SitePages/Community Home.aspx which looks like so. I am trying to replace this with ...
1
vote
2answers
3k views

Grouped List View won't paginate properly

I have built a view of my document library where the items are grouped by a couple of columns. It is set to display 3 groups per page, and display items in batches of 10. In the Library, this works as ...
1
vote
1answer
727 views

Why updating of InplaceSearchEnabled of the listview webpart does not reflect on the page?

We have a script that generates pages that contains list view web part. The script sets the InplaceSearchEnabled of the web part true, but when we check the pages, the search box does not appear. I ...
1
vote
1answer
511 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 ...
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 ...
1
vote
0answers
54 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
232 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
1answer
67 views

Sharepoint 2010 XSLT Customization Lost on Save

I have a page with a XsltListViewWebPart. That is displaying a list with People objects (Person, Department, Email, Phone). I am trying to override the Email to be an actual mailto instead of loading ...
1
vote
0answers
352 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 ...
4
votes
2answers
781 views

Site Columns JSLink doesn't work in custom XSLTListViewWebPart

I have a site column (Status) that I've added JSLink to, that runs my custom JavaScript. This works fine on lists. The JavaScript changes the text to a colored image. I've then created a Visual Web ...
1
vote
1answer
151 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 ...
0
votes
1answer
2k views

Dynamic filtering an XsltListViewWebPart

I want an XsltListViewWebPart filtered based on some custom metadata derived from the current user. Following Claudio Brotto’s article http://blog.claudiobrotto.com/2012/extending-base-xslt-web-parts-...
1
vote
1answer
231 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'> &...
0
votes
1answer
769 views

Default XSLT List View filter when the page loads

I have a web page that is a customized list item form that contains editable "master" entry details and an XSLT list view for showing associated "detail" records. I am struggling with properly ...
1
vote
1answer
1k views

Display multi-select lookup using XSLT List View webpart

I have a list with two lookup columns. Each allow multiple selections. I will say right of the bat that I am limited by admins to only using the XSLT List View web part. The DataView Web part not ...
0
votes
1answer
362 views

Setting maximum height limit for webpart

I am using XSL Stylesheet for styling a list view web part. In the webpart properties I can set the height as fixed or not. I want to be able to set a fixed height of maximum limit eg. 200px. What I ...
1
vote
1answer
71 views

Add new announcement link viewable by permissions

I created a Content query web part on my home page which is from an announcement list from a sub site. I wanted to add the "Add new Announcement" link below it, but only viewable to those who have ...
0
votes
1answer
144 views

Prevent XSLTListViewWebPart from removing selected items on page click

I am using an XSLTWebPart in SharePoint 2013 and when the user clicks on other elements of the page (outside the web part) certain sections trigger the webpart losing all selected items. I am ...
1
vote
0answers
63 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 ...
2
votes
1answer
1k 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 ...
0
votes
1answer
647 views

Pagination not working with XSLTViewWebpart when created using Powershell

I am having similar issue as mentioned in below URL's. Paging in XsltListViewWebPart is not working perfectly when added programmatically Why don't folders work when adding an ...
0
votes
1answer
3k views

Using xsl stylesheet with List View Web Part to display custom text

I am using a custom xsl stylesheet in Sharepoint 2013 listview webpart using the "XSL Link" property. The list view shows some items based on a filter. I want to display custom text such as "No ...
0
votes
1answer
2k views

How to create XsltListviewWebpart on Sharepoint Wepart page using visual studio?

My requirement is, I want to add one Sharepoint webpartpage in my visual studio solution, which deploys to /Pages library, where I want to show data from three different lists of same site. After ...
2
votes
1answer
521 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 ...
3
votes
1answer
1k views

PreSaveItem() function not firing for save on XsltListViewWebPart

I have 2 web parts on the page, a DataFormWebPart and a XsltListViewWebPart. I'm trying to do some custom validation for the XsltListViewWebPart and would like to do it on the presave event. ...