The List View Web Part allows you to display Sharepoint List Views similar to the built in Sharepoint List Web Part, but with the additional benefit to be able to display Lists from all Sharepoint Sites.

learn more… | top users | synonyms

9
votes
5answers
4k 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 ...
6
votes
2answers
5k views

How to extend a ListView WebPart (from code)

I'd like to extend the ListView WebPart so that it can read data from the url... I tried to extend a ListView WebPart but compiler told me it is sealed and so I cannot extend.. Then I tried to insert ...
4
votes
2answers
127 views

5 Dashboards 1 list. Need each dashboard edit view to show different list fields

I don't have access to the original source code. I can use infopath 2010, sharepoint designer 2010 and access to use CEWPs. I have 5 Dashboards connected to 1 list. This is just one# Each ...
4
votes
1answer
1k views

List Filter Webpart not loading default value from custom filter provider

I have a request from a client to filter the data in a list view webpart based off of some user controlled custom settings for our sharepoint applilcation. These user settings are stored in a ...
3
votes
4answers
2k views

Scrolling through list items one by one

I have an announcements list and instead of displaying all announcements at the same time, there may be quite a few, I want to scroll through them one by one. Outside of SharePoint there are quite a ...
3
votes
2answers
1k 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
576 views

2 custom list view web part on same page

I was customizing list view web parts to meet our reqs. What I did was: Instantiate ListViewWebPart in another web part Set web (reflection), webid and list id add ListViewWebPart to Controls ...
3
votes
1answer
2k 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
3k views

ListViewWebPart programmatically set the List/Path

The ListView Webpart is a component created to show a list inside a page... It's very usefull and easy to use... The way to create a ListViewWebPart and set a list is very simple: myListView ...
2
votes
1answer
293 views

How to disable the modal view when clicking on a lookup field?

I have a "Parent" list and a "Child" list, linked by a lookup column. Both lists have "Show in modal dialog" disabled. On the home page, I have a listview web part that displays the "Child" list, ...
2
votes
1answer
2k views

How to I disable the link for the title inside a List View webpart?

How do I remove the link from the 'Pending Registrations' title and also the 'Contoso Training Budget' title?
2
votes
3answers
4k views

Can you pass multiple filter parameters from a custom provider web part to a list view web part?

I've created a custom provider web part that I would like use to pass multiple filter parameters to a list view web part. Is this possible? If so, is there an example or tutorial out there that shows ...
2
votes
1answer
243 views

Web Part with more than one connection

Can I have a web part use more than one connection? I have three web parts: Web Part A, Web Part B, & Web Part C. Web Part C has three columns, A, B & C. I want Web Part A to filter Web ...
2
votes
1answer
1k views

List view web part to display all item from document folder in subsites (SharePoint 2010)

How can I achieve that I can display all the documents from the document libraries from all the site collections sub sites? (Actually I only need to show the onces that where changed lately.) It ...
2
votes
2answers
1k views

“Add document” link missing from ListViewWebPart

I'm adding an ListViewWebPart programmatically to my custom page, so far so good, the problem is that the link "Add document" is missing(Summary Toolbar), and the simple behavior of open the edit web ...
2
votes
3answers
1k 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
2k views

How to create a “datasheet-like” list view to update a checkbox in multiple rows?

I am using draft item security on a forms library to only allow the creator of a form and a user with "edit items" permissions to view a form in the library. I would like to provide the user with ...
2
votes
0answers
515 views

CustomListView WebPart

I tried create and render CustomListViewWebPart . I tried with the following code. public class CustomListViewWebPart : System.Web.UI.WebControls.WebParts.WebPart { #region Variable Declaration ...
1
vote
2answers
928 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 ...
1
vote
3answers
4k views

How to set item level audience targeting for a Links List?

I created a Link List where each item has a specific target audience from the Active Directory group assigned. I added this link list on a page as a web part. I am trying to get the user to ONLY ...
1
vote
2answers
145 views

how to get the url of a list item in jslink?

I am using the jslink code below to display the title of the list in a List View web part as a hyperlink. But the problem is that I don't know how to point to the url of that item? so how can I get ...
1
vote
1answer
354 views

List view error “Filter Value is not in a supported date format”

I've column "Name = Order Status","Type = Calculated" & Data Type = "Date and Time". I've given this Condition in the formula:- =IF(NOT([PO Date]=0),"ORDERED","NOT ORDERED"). I'm trying to create ...
1
vote
2answers
612 views

Is there a simple way to change the toolbar from Full to Summary in LVWP?

I am on this since 6am this morning. Over 13 hours. Still issues. Can anyone suggest a different way to changing the Toolbar to Summary Toolbar? I would appreciate it. Is there a simple way to change ...
1
vote
0answers
154 views

List view web part search not working SharePoint 2013

For our On Premise SharePoint 2013 environment, the list view web parts do not seem to Search correctly. The default search box... We also have a SharePoint Online environment and of course it works ...
1
vote
0answers
95 views

content editor script isn't working on list view page

This is very strange. I have a script attached to a content editor that spruces up the status column of a particular list. However , I'm trying to achieve the same thing with that particular List's ...
1
vote
0answers
175 views

How to add a line feed in multiline column displayed in list view

I have a list with a column of type "multiple lines of text", which is updated by concatenating several other columns together when I save the item. I want to control the formatting of the list view ...
1
vote
0answers
181 views

How can I sort List View Web Part in SharePoint Designer 2010?

I'm trying to sort ListViewWebPart in Left hand navigation menu at Meeting Workspace Site, but Sort and Group button in submenu is disabled. How can I fix that?
1
vote
0answers
195 views

Custom JSlink template intermittently not downloading for anonymous users

I've developed a JSLink template that works fine. I've tested it with authenticated and anonymous access and it works flawlessly. The problem that i'm seeing is that when I open the page with the LVWP ...
1
vote
0answers
293 views

SharePoint 2013 ListViewByQuery control does not show ribbon

I put in my aspx page a ListViewByQuery control, to show a view on a library, based on a query that is dynamically constructed. But, when I click on an item in the control, it does not show the ...
1
vote
1answer
856 views

Display 0 rows in list view webpart if there is no filter set?

I am trying to setup a custom page that uses the document library "A" in multiple webparts to show only certain columns based on a "trickle-down" connection system. (please note ALL list view ...
1
vote
1answer
2k views

Metadata navigation in List View Web Part

I have list and list view web part on a page which points to default view of that list. I have enabled metadata navigation on my list, and my question is: is it possible to show/enable metadata ...
0
votes
1answer
85 views

Sharepoint 2013 Multiple listviews in a page using Tabs

Hi Folks, Please refer the Image. There are two views available for this list. (All Tasks and Active) I've displayed this list in a page(sitepages\sample.aspx) using listview webpart. I'm able to ...
0
votes
1answer
877 views

Cant add list view webpart through XML

I'm trying to add a listview webpart to my default page of my sandboxed solution for SharePoint 2013 in Office 365. I'm using a ONET file to define my webtemplate based on the STS template. Among ...
0
votes
1answer
285 views

SharePoint 2010 - wrap calendar list view with custom code

I want to use the OOTB calendar list view web part on my site, but the style does not match the theme we currently have. I need to make several changes, some of which include adding a header, changing ...
0
votes
2answers
789 views

make a custom view default view for a Calendar list

I have created a Calendar list via Visual Studio 2012. I have added a new Custom View to the Schema.xml file and removed all other views. this calendar list deployed by a feature. I have a custom web ...
0
votes
1answer
143 views

Having single parent list and multiple (different) child lists using lookUp column

My name is George and I am new to Sharepoint. I started using Sharepoint 2013 foundation and I want to make a relation between a parent list which has a lookup column (something like 'Type') and more ...
0
votes
3answers
3k views

Create dynamic view for listview web part

I am challenging this requirement: Client wants to show only list items in list view web part based on value from user profile and also preserve functionality of the list view web part like OOB ...
0
votes
2answers
729 views

Adding ListInstance to an application page

i have defined some site columns which were referenced by some content types. These are used for a ListDefinition and a ListInstance. (Everything is in one Visual Studio Project). Now i would like to ...
0
votes
1answer
279 views

Toggling listview web part content source

I'm trying to construct the following user experience. There's a set of links, let's say are in the content editor web part, which control which document library is display below. How would you go ...
0
votes
1answer
6k views

SharePoint 2010 - Unable to display Web Part, but appears correctly after browser refresh

We have a SharePoint 2010 Web Part page containing 4 XSLT List View Web Parts that utilize the same list. When the page is first visited, one of the Web Parts does not display, while the other 3 Web ...
0
votes
1answer
2k views

Editing the Summary View in List Viewer

It appears that only certain columns can be displayed in the Summary View for list viewers. I am wondering if there is a way to get around this. I have one additional column from the list I'd like to ...
0
votes
1answer
699 views

Listview webpart in custom site definition

When defining a listview webpart in a custom site definition, how can I make sure that the view has the columns that I want it to show? The standard view shows these column: Title, Assigned To and ...
0
votes
0answers
8 views

Exception has been thrown by the target of an invocation while WebPartManager.SaveChanges(ListViewWebPart))

When I try to edit the ListViewWebPart programmatically, I get the Exception has been thrown by the target of an invocation at the line WebPartManager.SaveChanges(ListViewWebPart); This doesn't happen ...
0
votes
0answers
4 views

Embed data sheet view of a list on a application page

I have a requirement where I need to show a data sheet view on a application page. Basically I have replaced the newform.aspx with a application page. This application page displays data from another ...
0
votes
1answer
38 views

Filter listviewwebpart programatically c#

I have created a webpart page called Home.aspx (under SitePages) and added a list view "My Department". The list shows all the list items irrespective of the currently logged in user's department. ...
0
votes
0answers
22 views

SP2013 - Override custom ListViewWebPart View

I'm using SharePoint 2013. I created a custom view with a custom JSLink and named it CustomJSRenderingView . I want to create a ListViewWebPart in a custom page programmatically and point that webpart ...
0
votes
0answers
19 views

How to pre-configure a ListView WebPart for Documents Library to be included in a custom Page Layout which is to be used across sub sites?

I need to include a document webpart in a page layout. Also, I need to pre-configure it with parameters like Row Limit, JS Link, ToolBar Type etc. to reduce end users work. It should refer to the ...
0
votes
0answers
38 views

how to change the view of a calendar list view web part using jsLink

I am trying to change the view of a calendar list view web part using jslink but it seems that it does not affect it at all. Anyone knows how to do that? Here is some simple code that I was trying to ...
0
votes
0answers
15 views

How to apply page layout to post.aspx page in Posts list?

I have created a blog site and by default there is a Posts list. The requirement is that the display page or the Post.aspx page must have the same page layout as the other pages in the site. My ...
0
votes
1answer
44 views

Not able to view add item link in list view after 2013 migration

I have my SharePoint moss site with so many list and their view. I have add these views on my site pages. I have migrate this site to SharePoint 2013. In SharePoint view up-gradation has been done ...