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
3
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 ...
0
votes
1answer
738 views

XSLT output of XML not showing on SPS WEBPART for RSS Feeds

XSLT code been used to showcase CSS content in SPS 2013 via OOTB - XML Webpart. Tested my XSLT on w3school with the required XML file and output looks great. However, doesnt shows when placed in the ...
0
votes
1answer
714 views

Error caused after adding XSLT list web part to page with Document Library web part

I am trying to apply a xslt list view from one site to a bunch of other sites. This is a filtered calendar web part in list style not calendar view, so I cant use an overlay. I am adding the web part ...
0
votes
1answer
740 views

Changes made to XSLTListViewWebPart in SharePoint Designer not showing on page

I am trying to learn, through trial and error, how to get values from parameters that are declared in the ParameterBindings section in an XSLTListViewWebPart through SharePoint Designer. I have ...
0
votes
1answer
2k views

Alternate List Row Color in WebPart Content Query

XSL File : Created Custom Template Style <xsl:template name="Custom" match="Row[@Style='Custom']" mode="itemstyle"> <xsl:variable name="SafeLinkUrl"> <xsl:call-...
1
vote
1answer
1k 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
1k 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 ...
4
votes
1answer
5k 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 ...
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
16 views

XsltListViewWebpart error in quick edit mode (modern view)

We have a site collection which has been migrated from SharePoint 2013 to 2019 recently and we have a list there. When I switch to quick edit mode in the list, I get the XsltListViewWebpart error. ...
0
votes
1answer
667 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
0answers
14 views

Filter XsltListViewWebPart using logged user department

I am Working on SP2016 OnPremise and trying to filter a XsltListViewWebPart with the department of the logged user. I defined the following Query: <Query> <OrderBy> <...
0
votes
1answer
31 views

Cannot view Tag Properties in SharePoint Designer 2013

I created a list from a spreadsheet and added a view with a Text Filter. I want to use parameters to create the wildcard filter. I did this on one site already in the same SharePoint 2016 on Premises ...
0
votes
1answer
610 views

List View Filter by Filtered Lookup field

There is an XSLT List View web part and I want to filter data by Filtered Lookup field. What is a proper way to do this? When I click "Edit the current view" of web part and filter by this field it ...
2
votes
5answers
13k 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
2answers
306 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
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 ...
2
votes
1answer
712 views

Unable to paging in XSLTListViewWebPart programmatically

I want to display the document library's view on the page. To do so, I am using XsltListViewWebpart. My code is: XsltListViewWebPart documentView = new XsltListViewWebPart(); documentView.ListId = ...
0
votes
1answer
530 views

CAML Query Where Items are Approved is Ignored

I am working with some custom web parts recently. Those web parts will only display items which have been already approved. To get the items, I use CAML Query and filter the modstat value like: <...
1
vote
1answer
29 views

Chart using SharePoint list

I'm a newbie trying to use create a pie chart from a SharePoint list. The name of the list Mgmt_list and I'd like to display the count of the "Responsible Dept". "Responsible Dept" is currently a ...
3
votes
1answer
2k 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 ...
2
votes
0answers
54 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 ...
0
votes
1answer
24 views

Programmatically add multiple xslt list view web parts pointing to specific subfolder within a sharepoint library

I have a list of items linked to a library in sharepoint. I have created a custom rendering logic for list items and would like to add to each item a xsltlistviewwebpart pointing to a specific ...
0
votes
1answer
47 views

How to avoid errors filtering and paging list views on pages with multiple webparts

Consider a situation where you need to display multiple list view web parts on the same page and retain most of the usual functionality like paging, sorting and filtering correctly. When you build ...
2
votes
1answer
47 views

XSL Item Style in Content Query gets replaced by 'default' for visitors

I have a page with a Content Query WP that retrieves and displays a series of items from a list (blog posts). I have edited ItemStyle.xsl for this list and created a brand new item style that I then ...
1
vote
1answer
485 views

Overriding xsl templates in SharePoint 2016

I am attempting to customize the aggregate section of a grouped list that I have created through a schema.xml in a Visual Studio project. I have created a mapped folder to {SharePointRoot}\Template\...
1
vote
1answer
53 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 ...
2
votes
2answers
752 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" ...
3
votes
1answer
2k 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. ...
1
vote
0answers
449 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 ...
0
votes
1answer
2k views

What is the XSLT query to get items which have date greater than or equal today

I haven't worked on XSL. Scenario: We have a list which has a column called expiry. We want to display only those records which have expiry date greater than or equal to today's date. Trials: ...
0
votes
1answer
3k views

Passing Parameters to a List new item form based on connected view

I am trying to build a set of SharePoint 2016/Online Pages that interact with a set of lists to facilitate a particular way of interacting and adding data. What I am currently building is a page with ...
2
votes
1answer
946 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
0answers
135 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 ...
1
vote
2answers
599 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: <...
0
votes
1answer
2k views

sharepoint online: How to display document library from root site in subsite

How can i display document library in my root site collection in subsites. One way i found here , its not working as aspected. When i select a view/source and create the webpart in top site gallery ...
1
vote
2answers
103 views

TryGetList damages view with Lookup field

We've recently run into very strange issue: Calling spWeb.Lists.TryGetList("blaBlaBLa"); from DelegateControl code is causing the view containing cross site lookup field to crash. More details: We ...
0
votes
1answer
483 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 ...
3
votes
2answers
397 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,...
1
vote
0answers
120 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 ...
2
votes
0answers
188 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 ...
6
votes
2answers
983 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 ...
2
votes
1answer
54 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 ...
1
vote
2answers
565 views

SharePoint 2013 XSLTListViewWebPart Show Subfolders

I am currently working with a custom web part and SharePoint 2013 XSLTListViewWebPart to show documents inside a document library (lets call it DL). I have a field called DocumentStatus inside the ...
1
vote
0answers
278 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
3answers
4k 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 ...
2
votes
1answer
867 views

JSLINK is firing for one time only when the page first loads, and need to do refresh for the web page to get it firing again

I am working on a Team site collection inside SharePoint server 2016. I have the following JSLINK, which will show the sum of a column inside my list view:- var _totalValue = 0.0; var _totalColumn = ...
1
vote
1answer
2k views

File Not Found Error- List template with additional lookup fields

I'm currently moving some SP lists from one site collection to other site collection using list templates(without content). I followed the process given in this link for moving lists with lookup ...
11
votes
3answers
17k 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, ...
1
vote
2answers
1k views

How to modify XsltListViewWebpart XmlDefinition property using powershell?

I'm using Sharepoint 2010. I've looked and tested several methods to try to do what is describe in the title of this post, but none of them are working. In the best case, the so called attribute is ...

1
2 3 4 5 6