Questions tagged [item]
An object in a SharePoint list containing information and metadata.
192
questions
22
votes
2
answers
82k
views
How do you filter a SharePoint list based on columns with blank values?
I want to create a view whereby it does not include any items where the 'next review date' are not blank. In other words, only include items which have this field populated.
How can I filter my view ...
17
votes
6
answers
136k
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 "...
11
votes
2
answers
2k
views
REST: set ReadSecurity / WriteSecurity (Item Level Permissions)
Is it possible to set this with REST (or JSOM?)
(these are not exposed as properties in List REST endpoint: MSDN List)
I can set this:
with PowerShell:
$spList.ReadSecurity=2 # 1=read all items, 2=...
7
votes
3
answers
21k
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 ...
7
votes
1
answer
4k
views
Modified vs Last_x0020_Modified
Which is the difference between the fields:
Modified and Last_x0020_Modified
in a SharePoint list item ?
7
votes
3
answers
2k
views
Custom ECB-Menu Item which copies the Link of the document into the Clipboard
I would like to add an Item to the Edit Control Block Menu (ECB-Menu) (red marked in Screenshot), which copies when clicking on this Item (onClick) the link of the chosen document into the Clipboard. ...
6
votes
1
answer
26k
views
How to display item count of specific folder in list
I have a list, which has some columns including title and URL. URL column directs to specific folder related to list item. I want to add one more column in list, which would display items' count of ...
5
votes
3
answers
3k
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 ...
5
votes
0
answers
383
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 ...
4
votes
1
answer
1k
views
SharePoint list, restrict view of particular item within the list
I want to create a list to track complaints progress and results but limit who can see what items. In particular I want to hide 1 item from a particular group
but leave it visible for other groups who ...
4
votes
1
answer
2k
views
Cannot find deleted document in recycle bin
I have a document library. Someone had deleted a document 3 days ago. Then user needs to restore back to the same location right now.
But this document does exist in Recycle Bin, I check the Admin ...
4
votes
3
answers
4k
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 ...
3
votes
4
answers
7k
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?
3
votes
4
answers
17k
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 ...
3
votes
2
answers
498
views
Delete item post closing date in SPS 2013 List
How to automatically delete the Item from the SPS 2013 List after the closing date has reached for the item. Closing date is one of the column part of the item.
3
votes
1
answer
3k
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 line....
3
votes
3
answers
4k
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: "...
3
votes
1
answer
1k
views
Get version of item given url powershell
I'm writing a script which gets the version of an item given the URL. However I can't seem to get the versions.
$objFile = $web.GetFile($sitecollection+/ZB/Forms/DispForm.aspx?ID=5266)
Write-...
3
votes
4
answers
3k
views
SP - How to get Item ID after save in NewForm programmatically
I want to get item ID immediately after click button SAVE. I need this for export in word item data.
1) Click Save, get saved item ID and PRINT i want this is one button event.
3
votes
2
answers
295
views
Delete more than 1 List item based on Closing date in SPS2013 List
I`ve created a workflow from SPD2013 for SPS2013 List, that will delete the list item based on closing date equals to today.
Issue, it does it for the only one item, even though if there are more ...
3
votes
1
answer
2k
views
SharePoint 2013 REST API ItemCount on / folder is 0
When using the ItemCount function on the / folder, the count is 0.
The result of GET /_api/web/GetFolderByServerRelativeUrl('/')/ItemCount is:
{
"d": {
"ItemCount": 0
}
}
But the content is ...
3
votes
1
answer
482
views
Update list after insert item in another list
I have to update a list after I insert an item in another list.
For example, I have the main list with a person's details (name, age, address, email etc.). When I insert new person to this list, I ...
3
votes
1
answer
368
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
2
answers
624
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
1
answer
10k
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
4
answers
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
1
answer
2k
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 ...
3
votes
1
answer
6k
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
5
answers
29k
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
2
answers
6k
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
3
answers
7k
views
How to add list item inside a folder using REST API
I have seen this question many times and not seen a concrete answer.
I have a very simple scenario,
I have a list with a folder, i need to add an item inside the folder. I have to do it using REST API....
2
votes
3
answers
20k
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 ...
2
votes
2
answers
6k
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
3
answers
8k
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/
http://social.msdn.microsoft.com/Forums/en-US/...
2
votes
3
answers
6k
views
Workflow to duplicate list item in the same list with SP 2013
I need to create a workflow that simply duplicates a list item and adds it to the same list. (when item is created). I know that there is the function in SP Designer 2010, but Im not allowed to use ...
2
votes
1
answer
1k
views
Manage Multiple ItemUpdating Event Receivers On List
I have a requirement to multiple Event Receivers targeting Custom List (100) that fire on the ItemUpdating method.
For one of the Event Receivers the requirement is to check that there are no related ...
2
votes
2
answers
2k
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 ...
2
votes
1
answer
4k
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
1
answer
2k
views
How to set SharePoint list view 'Item Limit' with the option "Display items in batches of the specified size." programmatically
How to set SharePoint List View 'Item Limit' programmatically with the option 'Display items in batches of the specified size.' selected.
By default, 'Limit the total number of items returned to the ...
2
votes
1
answer
8k
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
2
answers
495
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
2
answers
5k
views
Get Item from document library using server relative url
Value does not fall within the expected range.
function getFileProperties(url,success,error) {
var ctx = SP.ClientContext.get_current();
var relUrl = url.replace(_spPageContextInfo....
2
votes
3
answers
1k
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
1
answer
125
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 Anderson(http://sympmarc.com/...
2
votes
1
answer
839
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
1
answer
511
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
2
answers
1k
views
Share a single or multiple list item with users
I am new to SharePoint and would like to ask a question regarding lists.
I created a list with several items. How is it possible to share this single item with another user?
Should this user be in a ...
2
votes
1
answer
869
views
Item level permission for groups
I have created a SP list. I want users in a group to be able to see/edit the list items created by others in their group but not see items created by users in a different group. With item-level ...
2
votes
0
answers
77
views
Sharepoint 2010 Workflow doesn't trigger automatically on first created item of the day
Everyday, on a particular site collection in my farm, the list workflow doesn't trigger automatically on the first created item in this list.
If I create a second item 2 seconds after the first one, ...
2
votes
1
answer
134
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