An object in a SharePoint list containing information and metadata.

learn more… | top users | synonyms

12
votes
2answers
24k views

how do you say blank to sharepoint?

I want to create a view whereby it does not include any items which does not have the 'next review date' as blank, i.e. only includes items which have this field populated. How do I say blank to a ...
11
votes
7answers
57k views

How to auto-populate a list column with a sequential number?

I am using a SharePoint list as a database for logging accidents/incidents at work. Each incident is assigned a number. As there are multiple people making use of this list, I'd really like the ...
6
votes
3answers
14k views

Cannot get field value of list item through JavaScript

I try to get the value of a list item (that is currently selected). I know that I must load it into the context but even with loading the field explicitly I get the following message. Microsoft ...
4
votes
3answers
416 views

How can I get two List Items using one Caml Query?

I need to get data from two customs lists that I created. However only the first list item is queried allowing me to use the data in the Home Page list item only, but I need both. var listItems; var ...
4
votes
2answers
691 views

How to know old id of item in recycle bin?

I need know old id of item in recycle bin or is there any way how to save its id in this item before deleting. When item is deleted, a new SPRecycleBinItem is created in Recycle Bin. And the only ...
3
votes
1answer
689 views

Modified vs Last_x0020_Modified

Which is the difference between the fields: Modified and Last_x0020_Modified in a SharePoint list item ?
3
votes
1answer
302 views

How to pull the total # of items from one sharepoint list as a column in another list?

The site has a list (List A) that links to multiple comments lists. For each item in List A, a unique list exists to capture comments related to that item. Users want to know how many comments have ...
3
votes
2answers
572 views

How to redirect user after item was added by custom web part

I need to display a notification after an item was added through a custom visual web part. If I try to use the TransferToSuccessPage(String), Sharepoint goes in error Thread Abort. Tnx
3
votes
1answer
9k views

How to filter items in a list that have a specific date that falls in last, this or next month?

I want to show only items with a specific date that falls in last, this or next month? For example: If today is the 7/13/2010 it should show only the items between the 1st of June and the 31st of ...
3
votes
4answers
1k views

Custom Blog Alert Template - Missing ID for list post

I have made a custom alerttemplate and tried to add the ItemID without success. I can add but i need to add post.aspx?ID=xx where xx is replaced by the ItemID. Tried the following ID-s (and removed ...
3
votes
1answer
4k views

Auto-generated custom format ID for InfoPath form text field

May I know how do I use a InfoPath form text field to auto generate a custom format ID? The custom format ID must be in this format: YYYY/XXXREQ where YYYY is the year that the item is created, ...
3
votes
0answers
299 views

How to set selected value of external item picker

I have developed a custom edit form with an external item picker as application page in visual studio. The picker is populated with data using the following method. private ItemPickerExtendedData ...
2
votes
2answers
562 views

Make custom field required in list

I have a contact list in my SharePoint but I have just the "Last Name" required. How can I add more field to be required?
2
votes
2answers
4k views

Preventing users from deleting an item from a task list

I am using the ItemDeleting event receiver to prevent users from deleting items in a Task List. Currently, my code looks like: if (properties.ListTitle == "Project Intake Tasks") { ...
2
votes
1answer
2k views

Unable to manage Item Level permissions

I'm unable to set item level permissions on list items. This issue appears for all lists in a site. Take a look at the screenshot. Usually a "Advanced" button should appear in position of the red ...
2
votes
2answers
6k views

Opening a document in a SharePoint 2013 document library in a new tab (using code)

How to open a SharePoint 2013 document library item in a new tab/new window? By default, the document, depending on whether it is .docx or .xlsx opens in Word or Excel Web Access in the same tab. I ...
2
votes
4answers
5k views

Archiving list items

What would be the best way to archive items from one list to another. Is there OOB functionality for that or do I have do code this by myself? If I had to code it, what would be the best approach?
2
votes
1answer
764 views

Unique ID in SharePoint

I am newbie into SharePoint and I am currently working on a tool supposed to make references to documents coming from a SharePoint document library. Is there any concept of unique ID to identify a ...
2
votes
2answers
331 views

Add list item returning empty result

Hi Sharepoint experts, I'm trying to add list item using jsom and succeeded but my code keeps adding empty list item first. function repeat(pattern, count) { if (count < 1) return ''; ...
2
votes
1answer
2k views

Refresh webpart when New item is added

I would like a script for Refreshing a webpart when a new item is added to te list. Can anyone help me with this? Kind regards, Vincent van den Eijnde SharepointServices.nl
2
votes
1answer
596 views

Overriding the Default Upload.apx form for a Document Library

I am a total newbie to SharePoint but I have been given the task of driving the roll out/Proof of Concept that SharePoint 2010 is capable of providing what our company wants. One of the main ...
2
votes
1answer
409 views

Workflow gives “Error Occured” when uploading file to document library

I am mapping one xml document to another. When it is done, I am uploading that document to a document library. Here is the code that does that: MemoryStream ms = new MemoryStream(); ...
2
votes
5answers
19k views

How do I create buttons on a custom list form?

I have custom list(on SharePoint 2007). The user receives an email with link to this list. In each row(item) the user needs to fill-in data. I want to create two types of buttons: When the user ...
2
votes
2answers
107 views

SP13 doesn't recognize list item changes when made by a workflow

SP13 doesn't recognize any list item changes when they are made by a workflow. (2010 workflows did) Therefore does not trigger any list workflows on "item change". Items need manual change to trigger ...
2
votes
0answers
88 views

Draft item security Any user who can read items but not anonymous

I have a list which has the following settings: Content Approval: Enabled Versioning: Enabled (Major and Minor) Draft Item Security: Any user who can read items This list resides in an anonymous ...
2
votes
1answer
280 views

Item IDs are skipped in Custom List - SharePoint 2010

How to resolve the following. 1.Created a custom list 2.Added one column with “Enforce unique values” 3.Added the item in list with value '111' for column created in step 2 4.Item is created in ...
1
vote
2answers
2k views

Remove content type from “New” item options?

I need to migrate some values into SharePoint that would have useless values for our system going forward. I'm using a content type called "Old Request" solely so that they can have different columns ...
1
vote
2answers
6k views

properties.ListItem is NULL on item added Event Receiver?

The following articles... http://moonistahir.wordpress.com/2008/05/05/properties-listitem-in-itemadded-is-null-workaround-to-get-listitem/ ...
1
vote
1answer
34 views

Drop Down Site column has no value in edit form

My list has a drop down Site column. In the view you can see that most of the items has a value for this column. Even when you go to display item form you can see that the field has right value. ...
1
vote
2answers
6k views

make custom list item column unrequired (non-required)

I have a custom content type with many required columns. The UI does not allow me to change a column from required to non-required (at least, I can't find a way to do it). Is there a way to achieve ...
1
vote
1answer
42 views

Keep the same ID on an item copied from another list

Environment : Foundation 2010 I have two helpdesk lists. In List A, the user create the item and an ID is automatically assigned. My workflow is used to copy that item in the list B. However IDs are ...
1
vote
2answers
370 views

Get folder item number. REST API

I'm currently using the following code to create a folder. url: http://site url/_api/web/folders method: POST body: { '__metadata': { 'type': 'SP.Folder' }, 'ServerRelativeUrl': '/document library ...
1
vote
1answer
29 views

Changing/Moving an Item to another Library

How can I move an Item from a library X to a Library Y without deleting it and re-download it?
1
vote
3answers
2k views

Redirect from ItemAdded event

I am using an ItemAdded event handler for doing some validation. If my validation fail is it possible to redirect the user to another page. Ideally it would be good to show the page in a dialog box. ...
1
vote
1answer
319 views

$Created_x0020_Date.ifnew what are the rules

I have the following coming back when I look at the xml for my view: $Created_x0020_Date.ifnew This indicates if an item is new or not. What are the rules in determining if an item is new or not? A ...
1
vote
1answer
796 views

Item's title - invalid characters

is there a SP function that returns a valid title string for item? For example, I get an error for 0x07 (bullet) character, and from time to time I discover some new character that is not valid. I'm ...
1
vote
1answer
55 views

how to use JSOM to modify permissions for multiple list retrieved by a CAML query

Using SharePoint 2010 JSOM I know how to get a list item by it's ID, break its inheritance, then add a user to it's permission list with contribute access. What I cannot figure out is if I get ...
1
vote
1answer
23 views

create new item and limit who can view the item on the newform.aspx

I have a custom list. Is there a way to make it so when a user adds a new item they can, in the NewForm.aspx/EditForm.aspx page, specify who can view the item once it is created? I know they can ...
1
vote
3answers
87 views

Item Count using CAML Query in sharepoint

I have retrieved item count for particular field values in my list using CAML Query. But when I try to add up all those counts it's not getting added, infact it is getting appended. For example, my ...
1
vote
1answer
118 views

How to get all items in SC with a specific content type using JavaScript

There are five custom lists in a site collection, all have same content type. I would like to get all items from those five lists using JavaScript. Is there a way to get all items from all lists ...
1
vote
1answer
2k views

Request failed. Column 'Project Phase' does not exist. It may have been deleted by another user

function fetchProjectData(projectName, callbackOnSuccess) { var clientContext = new SP.ClientContext("path to site"); var oList = clientContext.get_web().get_lists().getByTitle('Project ...
1
vote
3answers
3k views

Unable to edit list item

I have recently, and for reasons unknown, started to get errors with a particular list on Sharepoint 2013. I am unable to edit existing list items, and attempting to do so throws me to the "Sorry, ...
1
vote
4answers
148 views

Item transfer/copy between lists - UI only approach

I have to Copy / Move items from a list to another existing one here's the first one : and here's the target one: the columns have the same name, same type...etc How can I achieve that without ...
1
vote
2answers
2k views

I am using item updated event receiver to add a new item into other list, but the same item is added 10 times in the list

I am using a item updated event on one list to add an item into some other list, but it is adding the same item multiple times in the list
1
vote
1answer
176 views

Get All Items of a list regardless the approval status

I'm creating a page showing all items from a list. I have enabled versioning for that list. So I want to show the list of all items, even pending items, when a user with contribute permissions is ...
1
vote
3answers
2k views

Item Level permissions - trouble when using “Create items and edit items that were created by the user ”

I have a list of items that I want viewable and editable only by the item creator and one other person (the other person is set in the item data). I created a list, and in the advanced settings set: ...
1
vote
1answer
19 views

SharePoint 2013 workflow different approvers for documents

Can I create a publishing approval workflow, applying different approvers and publishers for each document of the same library
1
vote
0answers
29 views

Items in list are not getting same permissions as list itself

I'm new to this list. I have a SharePoint 2010 list (task) that inherits permissions from it's parent. When a task item is created, the email is sent to the assignee but there are no (none) ...
1
vote
0answers
67 views

Customize the “Share” dialog

Can we add more options in the default popup for "Share" in SharePoint? For example, an end date for the sharing?
1
vote
0answers
35 views

SPList performance issue

I am having a SPList with some 500 records/items in it. My visual web part used to read this SPList whenever the page loads and the SPList was populated by a timer job on a daily basis. The customer ...