An object in a SharePoint list containing information and metadata.

learn more… | top users | synonyms

9
votes
2answers
12k 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 ...
7
votes
5answers
28k 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 ...
5
votes
3answers
11k 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
2answers
562 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
281 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
498 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
8k 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
933 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
3k 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, ...
2
votes
1answer
231 views

Modified vs Last_x0020_Modified

Which is the difference between the fields: Modified and Last_x0020_Modified in a SharePoint list item ?
2
votes
2answers
3k 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
4answers
4k 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
2answers
1k 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
2answers
252 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
1k 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
428 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
333 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
15k 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
0answers
56 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
195 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 ...
2
votes
0answers
246 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 ...
1
vote
2answers
131 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
28 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
270 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
629 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
64 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 ...
1
vote
1answer
308 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
4answers
108 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
171 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
1answer
1k 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
17 views

Full Control User Cannot View Items in a List

User wants to view uniquely secure items on 2 lists (List A/List B) I went ahead and inherited permissions the lists from the top level site. Lists A and B say Manage Exceptions because all the ...
1
vote
1answer
98 views

How to validate for file attachment size during list item save

I have a custom list form which implements out of the box attach file functionality to add attachments to the list item. Upon save, the attachments are saved to the item. But before saving the list ...
1
vote
1answer
42 views

Sharepoint 2013 Search crawling extra data

The BDC content source I made was crawling "extra"/"garbage"/"unnecessary" data. The external database view only shows 6 items but the search results show 7 items. Crawl log for the content source ...
1
vote
0answers
27 views

Link an image to a list item in sharepoint2007

good day, I have a custom list that manages disputes in my company. What i am trying to do is have a "preset" field that contains a link to an image (or file). This image/file can be clicked and the ...
1
vote
0answers
10 views

Sharepoint: Submitted Items (Forms) in multiple lists

I want to create a simple sharepoint site where: 1) a page form to submit items 2) items submitted from (1) will be displayed in multiple List pages with different Group By's. What is the best way to ...
1
vote
1answer
52 views

Add customized item to calendar app

if I want to add a new calendar entry I see this: But I want to see only: Title Location Instead of start time and end time I want to put the "all day" check Recurrence Is it possible? How? Thanks ...
1
vote
0answers
92 views

Custom List Menu Item not appearing

I've been trying to create a custom list menu item on my SharePoint list. After consulting tutorials, I've created the feature settings and attached an element.xml file as shown below, <?xml ...
1
vote
1answer
69 views

Display New item Icon with SPServices

I want to display the New Item Icon with SPServices or using custom Javascript to show a new item icon for n days when Created. I achieved this using XSL. Thank's to Mark ...
1
vote
1answer
2k views

How do I set document metadata after upload via web services?

I am reading through this post Upload a file to SharePoint through the built-in web services where upload is done in WSS. I am using SP 2010. Is there a piece of code already posted here that will add ...
1
vote
1answer
53 views

How to identify if a item is newly created in a SharePoint list or moved from other list by a Workflow

May I know if it is possible to identify a item status whether is it newly created in a particular list itself or moved from other list due to a work flow?
0
votes
2answers
285 views

Event reciever (itemadded) sharepoint 2010

is there a way where we can get the link(editform.aspx) of item just added to the list-- in the itemadded method of the event receiver (Share Point object model)
0
votes
2answers
729 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 ...
0
votes
2answers
64 views

What are the main items that a SharePoint Intranet Site should have?

We are trying to develop a structure for an Intranet site on SharePoint but we don't know what items are a must-have for such sites. For sure there must be News and Announcements. But what else? ...
0
votes
3answers
981 views

Getting file name being upoloaded in ItemAdding

How to get the name of the file being uploaded if the listitem is not created yet? public override void ItemAdding(SPItemEventProperties properties) { SPWeb TargetWeb = properties.OpenWeb(); ...
0
votes
1answer
5k 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/ ...
0
votes
1answer
106 views

Create same Items every morning

Very Very new to sharepoint, much more to customizing it. However, new job, as part of my task in the morning, I got to create 2 items every day. These have all the same values, except the date that ...
0
votes
3answers
1k views

Can I alert a person defined in a list item when a new item is created without workflows?

I need to alert someone when a new item is created but it wont be the same person each time. I want to pull the name from the current list item and alert them. For example if i had a column in the ...
0
votes
1answer
529 views

How to read custom column of List in web part using Linq

I have a list with column "English Desc". How do I read it in my web part? I can see that in web part, this item has other properties such as item.ID, item.Name, item.Url but this property/column is ...