Rows of items containing columns of information.

learn more… | top users | synonyms (1)

7
votes
1answer
441 views

Set Task list EnableAssignToEmail in CSOM

I would like to set the EnableAssignToEmail bit on a task list via CSOM after a list is created dynamically. I have found a way to do this in Powershell and in code using SPList: Add-PSSnapin ...
6
votes
9answers
19k views

How to delete all items in a List using PowerShell

I am using following PowerShell script to delete all items of the List. It's working fine but take too long for huge lists. Is there any efficient way of clearing list items, something like truncate ...
6
votes
3answers
306 views

Best Practice for Lists and Web Part Pages

I used to refer end users directly to the list they shall use. However, in blogs or on SE it often reads as content editors (or other WebParts) are put on a list. From my understanding, this does only ...
6
votes
4answers
18k views

How can I change URL of existing list?

If I create a list with a name like Project Risks it gives it a url like: http://myhost/mysite/Lists/Project%20Risks/AllItems.aspx. If I customize the list and then decide I want it call Project ...
6
votes
2answers
24k views

Calculated value for Title field?

I would like to create a calculated value for the mandatory Title field: <username, created by> - DD-MM-YYYY That is I want the title to be filled in with the user name (the user that creates ...
6
votes
5answers
6k views

How to hide a column from new item but not edit item?

I have a list, and all I am trying to do is hide an column for when a user creates a new item, but allow the column to be shown in the edit item page. Currently if I hide a column it is hidden in both ...
6
votes
3answers
942 views

Get list item url javascript object model

This is such a simple question I thought that it would have been answered somewhere else (but can't find a clear answer).... How do I get the list item url using the javascript object model? I'm ...
6
votes
5answers
21k views

Is there a way to duplicate or copy a list into the same site

So here is my problem. I have a site collection. In this site I have a list (ListA) that has lots of columns and lots of attachments and lots of items and over the threshold. I would like to create a ...
6
votes
3answers
4k views

Embedding YouTube Video in a SharePoint 2010 List?

First, thank you in advance for any help anyone is able to give. I have a Sharepoint 2010 site that needs the ability to embed YouTube videos in the rich text field of a list item, is there anyway to ...
6
votes
3answers
9k views

How to restrict user to see only few rows in a list

I have one list Title Availability Department ----------------------------------------------------- Microscope Yes Biology Buret No ...
6
votes
2answers
2k views

Download file from a sharepoint site from code behind

I have an Image button in a custom 2010 webpart, on click of that I would like to download a file. Code Used : foreach (string filename in item.Attachments) { attachmentURL = SiteListURL + ...
6
votes
4answers
6k views

calculated field - formula for ageing

Again a calculated field question, How can I create a calculated field to find out, what is the age of the entry. In the list I will have a created date field, from that I would like to create a ...
6
votes
2answers
1k views

Best practice for combining two lists

I know it's a common SharePoint problem. I want to accumulate two SharePoint lists on MOSS 2007. One is a calendar list and the second a custom list with a date column. I want both in another list. ...
6
votes
1answer
8k views

Programmatically find lists by template ID

I am looking for an efficient way to programmatically find all SharePoint lists with a given template / type in the current site collection from within a sandbox solution. NB: I'm obviously aware ...
6
votes
5answers
8k views

Is there a workaround for the 'You cannot create alerts for lists for which users can only read their own items.' error?

I have been trying to piece together a quick and dirty system to allow users to leave messages on each others sites where any user can leave a message, but they can only see messages they have left, ...
6
votes
1answer
1k views

How to Combine IN-Opeator with LookupIds in a caml-query?

I want to build a CAML - Query using the IN - Tag. The queried Column is a lookup-field to a Title of another list. When I query using the text-property everything works fine: <Where> ...
6
votes
2answers
5k views

Location of Ribbon XML for List View

I'm looking for the location of SharePoint ribbon XML for List Views. I'm just curious to see how Microsoft has coded it. However, I don't know the location of the xml file. Could someone put me in ...
6
votes
1answer
4k views

Choice field changed - How to propagate the change down to all lists that used it?

I have a feature (Web scoped) with a content type which contains a field (Type="Choice"). Values were A, B and C. I've created a list based on this content type and added some elements in it. I ...
6
votes
2answers
504 views

Create a decrementing budget

I'm new to sharepoint and I have been tasked to create a depreciation list using a sharepoint 2007 environment. Does anyone how to create a list that displays a fixed fiscal year budget, and as data ...
6
votes
3answers
4k views

How to create SharePoint list with custom template using Managed Client Object Model?

Creating lists in SharePoint using Managed Client Object Model is rather easy task. Here's how to create a list with SharePoint's custom list template: ListCreationInformation lci; List list; lci = ...
6
votes
2answers
6k views

All versions of one item in list

Is it possible to see all versions for one item in SP list a different way than through version history? We have one extensively used list with 100, 130, 150... with a lot of (multi-line and rich ...
6
votes
2answers
149 views

How to make the “Web Address” link in List Settings clickable

On the "List Settings" page of any custom list that we make (or OOTB list for that matter), there are 3 fields that show at the top at all times: "Name", "Web Address", and "Description" (sample ...
6
votes
3answers
214 views

Equivalent of a database table in SharePoint?

I'm making a Publishing site, and part of this site will display information about company products. We have a number of products, and each one should have its own description page. The description ...
6
votes
1answer
184 views

Is it possible to have different timeline views against the same list?

Using a single task list, from our testing it seems that the add to timeline/remove from timeline functions store state across the site list rather than against the view. Is it possible to select a ...
6
votes
1answer
3k views

Inherit permissions on list in a sub-site causes site collection lock-out

Scenario is this - site collection contains a sub-site with unique permissions. In that sub-site, site owner with full control creates link list. That list is not created with the same permissions as ...
6
votes
2answers
986 views

Saving list template with managed metadata columns. Creating new list with the template.

I have a list that has several columns including managed metadata columns. I'm saving this list as a template and including all the content. I'm then taking this template to another site collection ...
5
votes
3answers
8k views

Deploying List Instance - LookupMulti Type Column in XML

So I have been able to populate rows with Lookup type fields as such: <ListInstance ... > <Data> <Rows> <Row> <Field ...
5
votes
2answers
6k views

Is web.Lists[guid] faster then web.GetList(url)

I want to know the fastest way to access a list. Would it be: SPWeb web = site.RootWeb; SPList activityListFromUrl = web.GetList("/Lists/ActivityList"); or: ...
5
votes
5answers
4k views

How do you hide a hidden list?

If you set the SPList.Hidden property to true, the list isn't shown in the Quick Launch, All Site Content, Lookup lists, etc. However, it is still possible to navigate to the list by typing in the ...
5
votes
2answers
12k views

SharePoint List with many columns

We are designing a system where data from forms will be stored in sharepoint lists. Problem is that these lists can have very many columns. Question is: Is there a max number of columns in a ...
5
votes
2answers
377 views

ListItem[“Property Name”] VS ListItem.Properties[“Property Name”]

When we try to get list item properties, three ways of getting property I remember are, ListItem["Property Name"] //always work fine ListItem.Properties["Property Name"] // works fine unless I ...
5
votes
4answers
4k views

Prefilling field in NewForm.aspx in modal popup

I have a listview setup on my page which shows orders from an orderlist. Works great. Now I want to add a column which displays an icon. When the user clicks this icon, the NewForm.aspx page from ...
5
votes
5answers
16k views

What's the best way to move a list from one site to another?

I know you can backup site collections with stsadm -o backup, and you can backup sites with stsadm -o export. But what's the best way to copy a list. I've tried to use the save as a list template and ...
5
votes
2answers
4k views

How can I get the URL of a Pages List with REST API?

My question is very simple. I would like to display the recent top 10 news with the REST API in Sharepoint 2013. I'm using the following query: ...
5
votes
2answers
12k views

Permission levels for user exporting list into excelsheet sharepoint 2010

What are the minimum permissions needed for a users to export the list into excel sheets in SharePoint 2010?
5
votes
1answer
675 views

Only show Sorting option not filtering opetion in contex menu of header in ListViewByQuery

I have creatd ListViewByQuery control through coding and added the control through RencerControl Event. I am filtering the list in code. so filtered result is shown. I want to hide filter context ...
5
votes
2answers
3k views

How to change sort order of axis on Chart Web Part?

I have a Chart Web Part that is connected to a SharePoint list. I modified the All Items default view of the list so that it would be sorted correctly but the Chart Web Part does not pickup on the ...
5
votes
3answers
8k views

List with hierarchy

I want to create a list with tasks, subtasks of these tasks, etc. It should also be possible to add new tasks to a specific level in the hierarchy. The only thing I could find is the Managed Metadata ...
5
votes
2answers
326 views

Delete a 60GB list

I have a runaway list which - due to a recursive workflow and versioning - has grown to 60GB. We are now trying to delete it. It is in the recycle bin, however I want to remove it completely. If I ...
5
votes
2answers
2k views

DateTime list column with 1 minute increments

How can I change the time portion of a date time column to have 1 minute increments? When you create a coulmn by default it shows 5 minute increments, but I need to be able to use 1 minute increments. ...
5
votes
2answers
145 views

Only have the option to create Web Pages

I'm a new SharePoint user, getting my feet wet by learning the interface for WSS. I'm trying to edit an existing site by adding a links list. But I don't have the regular options. On the Home site ...
5
votes
2answers
225 views

Dynamically get List ID from List Name

In my Visual webpart I need to, based on the name of a list get the ID of the list, dynamically. I'm using C#. How can this be done?
5
votes
3answers
5k views

How can I import e-mail data from outlook into a SharePoint list?

I want to copy an email data into a SharePoint list. User will select which e-mail s/he wants to add and e-mail will be coppied into a multi-line text box. Also, e-mail attachments will be copied ...
5
votes
2answers
63 views

Activate “Like” feature programatically in SharePoint Online

How to activate the "Like" option programatically on a custom list in SharePoint Online?
5
votes
2answers
3k views

Creating a poll in Sharepoint Online (lists or other approach)

There seem to be many web parts available for on-premise versions of SharePoint but I've not been able to find an easy way of doing them on SharePoint Online. My idea was to create a list that had a ...
5
votes
1answer
2k views

SPList.GetItems query returning an invalid SPListItemCollection. What am I doing wrong?

I'm trying to query an SPList object using a CAML query (see code below). SPQuery queryGetExistingTargetTask = new SPQuery(); queryGetExistingTargetTask.Query = ...
5
votes
1answer
547 views

In MOSS 2007, how to sort a list by a total/aggregate?

I have a basic issue tracking list with a few columns, let's say Application, Title, Created By, and Task Priority. My list is grouped by Application and I am performing a Total (Average) on Task ...
5
votes
1answer
39 views

Style list header for numeric column

I am using the following css to style the headers of a list: .ms-vh, .ms-vh2-nofilter, .ms-vh2-nograd, .ms-vh2, .ms-vb{ text-align:left; color:red; } This seems to work for every ...
5
votes
1answer
43 views

How to set calculate column result in another item

I made a list for Event Planning, the columns name are: Row(to change the order) Subject start time duration end time(sum of start and duration) I need to copy each end time to start time ...
5
votes
1answer
255 views

SharePoint 2013 Quick Edit Header Issue

I am using Quick Edit view to add data in list. but when i entered more data like more than 10 or 15 then i can not see header of the column. so i need to scroll up the page and again scroll down to ...