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
2
votes
1answer
938 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
17k 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 ...
2
votes
1answer
2k 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
3k views

Getting last three images with XSLListViewWebPart

I am trying to get the latest three images added to a picture library and put them on home page with XSLListViewWebPart but can't manage it to work. Here is the sample output I am trying to get: <...
2
votes
2answers
3k 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
5answers
12k 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
6k 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
802 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 = ...
2
votes
3answers
1k views

How to add a listviewwebpart by code

In my current production code, we have the following that was working perfectly fine: XsltListViewWebPart clientInfoWebPart = new XsltListViewWebPart(); clientInfoWebPart.Title = "Client Info"; ...
2
votes
2answers
749 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" ...
2
votes
1answer
1k 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
725 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
2answers
9k views

Connecting Web Parts - No Provider Schema

This is in an on-premise SP 2013 environment I am trying to connect a list view web part to a data form web part. (I want the list view web part to get filter values from the data form webpart). ...
2
votes
1answer
980 views

How to embed OOTB web part in a user control?

I'm planning to create a Visual Web Part. In the Visual Web Part's user control, I plan to embed an OOTB XSLTListViewWebPart, preferably through a declarative manner (in the .ascx). Has anyone done ...
2
votes
1answer
2k views

Paging in XsltListViewWebPart is not working perfectly when added programmatically

I want to place a list view of the document library using XsltListViewWebPart. My is as below: using (SPSite site = new SPSite("XXX/")) { using (SPWeb web = site.OpenWeb()) { SPFile ...
2
votes
2answers
5k 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 ...
2
votes
1answer
3k views

dataform webpart button redirect new ID after saving

I have two DataFormWebparts on a page, one for creating new objects, one to edit them. The Webpart that creates them has this button : <input type="button" value="Save" name="btnSave0" onclick="...
2
votes
1answer
1k 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: http://suryapulipati.blogspot.be/2011/08/sharepoint-2010-show-add-...
2
votes
1answer
3k 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

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
40 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 ...
2
votes
3answers
1k views

XsltListViewWebPart provisioning of Community Discussion list is incorrect

I'm creating a SharePoint 2013 sandbox solution. On a Community site, OTB you have the Community Discussion list displayed on the home page. The view is based on Subject view. This gives you the graph ...
2
votes
1answer
710 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 = ...
2
votes
2answers
672 views

How can I put a web part on an application page that can be deployed to any site?

I have an XSLTListViewWebPart on an application page. Why I use visual studio to deploy it to the development site, it works fine, but when I use central administration to activate the feature on ...
2
votes
1answer
327 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
3k 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
1answer
151 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
354 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"?> <xsl:...
2
votes
1answer
1k views

DVWP sorting the data with xslt and removing the duplicates

I'm working with SharePoint 2007. I try to modify the DVWP with the XSLT. The web part pulls the data from the list, what i want to do is just sort the data and show the results. - I can't sort the ...
2
votes
3answers
2k 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
2answers
162 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. ...
2
votes
0answers
48 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
121 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
179 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
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 ...
2
votes
0answers
337 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
223 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
1answer
79 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
110 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
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 ...
2
votes
1answer
545 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
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
331 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
275 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
2answers
751 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
2answers
1k 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
850 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(...
2
votes
1answer
609 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 : ...
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 ...