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
15
votes
5answers
14k views

Add Document Library XsltListViewWebPart using CSOM or web services

How to add a document library XsltListViewWebPart (or list view web part) on page using CSOM with SP2013 when we do not want to use the in-built view with "Name, Modified, Modified By" fields? Custom ...
13
votes
1answer
495 views

How does calculated field value form in pageInfo

Using paging in XsltListViewWebPart there are some rules, which form pageInfo attributes and which we can see in the query string. Here is the short example, what I mean. Paged=TRUE&p_SortColumn=...
11
votes
3answers
16k views

Sharepoint Designer 2013, XSLT List View Options ribbon option is not showing

So I'm wondering if this is a bug or not. I have an ordinary Wiki Page, also tried making an Article Page. Once this page is made, I add an XsltListViewWebPart that points to a list, which is fine, ...
11
votes
4answers
11k views

Filters on a large list exceeding throttle limit

On a SharePoint 2010 Server installation, I have a list with more than 5000 items. I created an indexed column and a view based on this column which is returning 100 items only, so far less than the ...
9
votes
2answers
11k 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
8
votes
2answers
15k 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 link ...
8
votes
3answers
2k 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 ...
7
votes
2answers
2k views

How can I get the ID of the connected Item of ListView?

I have three connected ListView web parts on an application page, and I want to be able to access the item that is selected in each web part. This is not selected as in the "checkboxes" but rather, ...
7
votes
2answers
3k views

Error with /_layouts/assetportalbrowser.aspx

The AssetPortalBrowser.aspx page is throwing an error when rendering list or library content (screenshot and ULS output below). This happens regardless of the site opened from or the list/library you ...
6
votes
4answers
2k views

Search in List view on publishing page layout

UPDATE after trying the OOTB list app: I have a strange issue with placing a list view web part on a publishing page layout. The searchbox is displaying, but when I search it does not load any ...
6
votes
2answers
18k 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 ...
6
votes
4answers
11k 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
2answers
859 views

JSLINK to remove rows from list view webpart

I'm trying to remove rows from a list view webpart using JSLINK, I used the code from this link Remove rows from list view webpart, I'm able to remove the rows as expected but this is affecting the ...
6
votes
1answer
2k views

Page Layout html xsltlistviewwebpart with custom view

GOAL: I am trying to create a custom page layout based on a custom content type that contains 3 xsltlistviewwebparts which use custom views that were created for the lists in the browser. I have ...
6
votes
3answers
3k 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" ...
6
votes
1answer
2k 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 ...
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 ...
5
votes
3answers
14k views

Create a document library thumbnails view

Is there an easy way to create a thumbnail view for document libraries in SP 2013? hopefully a no-code method.
5
votes
2answers
891 views

(Calendar) list views disappear from view selector menu of list view webpart

Me and my colleague are having a problem with disappearing programatically created (Calendar) list views. After the creation of the site, the views are created correctly and are displayed in the view ...
4
votes
2answers
6k 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 ...
4
votes
2answers
9k views

Sharepoint 2013 JSLINK template with view grouping rendering

I'm looking for a tutorial or documentation on how to create a JSLINK rendering template that will perform view grouping rendering. I need to use this in connection with the list view webpart, where I ...
4
votes
3answers
22k 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 ...
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 ...
4
votes
2answers
782 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 ...
4
votes
1answer
2k views

Get ID of item in ListView Web Part

How can I get the ID of an item in a ListView Web Part, on hover? I need this ID to fetch some columns from the list, and show them in a tooltip box. Can I get the whole thing done using javascript/...
4
votes
1answer
3k 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 ...
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> &...
4
votes
1answer
422 views

ECB Menu HTML/JavaScript Getting Indexed By Google

I have an XsltListViewWebPart on a publishing page. I am using custom XSL to style the view; I am not even using the ECB menu. Why is Google indexing the ECB menu's HTML & JavaScript? When i ...
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 ...
4
votes
2answers
4k 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 ...
3
votes
1answer
8k views

How to view xml code of a list view

I have created a view of list by following manner Created a new page Opened the page in edit mode clicked on add a web part Chose List and Libraries Clicked on list that is already created. I ...
3
votes
3answers
14k views

Creating an XsltListViewWebPart programmatically: Columns & toolbar

I add an XsltListViewWebpart to a page in an event receiver like this: public void CreateWebPart(SPList documentsList, SPLimitedWebPartManager wpm) { var documentsWP = new XsltListViewWebPart(); ...
3
votes
1answer
2k 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
2k 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
2answers
7k 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" match="FieldRef[@Name=...
3
votes
1answer
1k views

How to Hide search box from xsltlistviewwebpart?

We are Migrated the VS solution form 2013 to 2016. Sharepoint 2013 site searchbox are not displaying. But in 2016 site all site pages searchbox are displaying. (only searchbox present in ...
3
votes
2answers
624 views

How to add listview webpart to subsite, while list is available in top level site?

I have a list on the top level site collection. I would like to show the list items in a webpart on the welcome page of a subsite. I have implemented this already in a CQWP(content query webpart). But ...
3
votes
1answer
3k 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
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 ...
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. ...
3
votes
1answer
899 views

XSLT conditional statements

I have a simple list with 3 columns: Title, URL, Color. The Color column is a choose column with two options: yellow or lightgreen. I am using the XSLT List View Web Part . I am trying to create an ...
3
votes
1answer
1k 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. ...
3
votes
0answers
269 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
295 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
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,...
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
965 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
910 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
1answer
917 views

How to Display list from a subsite in parent site inside a web part programatically

I have to display a list (located in a subsite) in the welcome page of the parent site. (Inside a WebPart most likely) I don't have acess to sharepoint designer and i have SharePoint 2013. Besides, ...
2
votes
2answers
16k views

How to add a XSLT List View Web Part into a Page Layout

How is it possible to add a XSLT List View Web Part into a Page Layout? I want to do this basically so that instead of adding the web parts I want to multiple pages, I can just apply the specific page ...