Represents an item or row in a list.

learn more… | top users | synonyms

0
votes
0answers
9 views

PowerShell Script to Update a SharePoint List Item with composite field

I have the following Sharepoint list item: Notice that URL is made up of two fields! I want to update that entry via a PowerShell Script, here is the troublesome line: .\Set-SPSItem.ps1 -url ...
0
votes
0answers
17 views

List search does not find an item

I have a SP2013 list with about 2000 items, on top there is the search as usual. One of this items is never found if searched by Title or a custom field, neither by filtering a column... Other items ...
0
votes
1answer
38 views

Disabling delete listitem clientside

I added a Related Item View to a Displayform, as standard there is the Select all flag/button. In order to deny the user from deleting a listitem I'd like to remove this button. Is there a way to do ...
0
votes
1answer
29 views

Retrieving Permission of ListItem

For sites, we always use the web context to retrieve all the groups for the site. However, I have requirement to retrieve all the users and groups for a list item. The list item has its own permission ...
2
votes
2answers
47 views

Limit only one entry per day per user in sharepoint list

sharepoint 2013 I have a list where users should be able to create only one item per day (every user can create only one item per day). Any help or suggestion how to manage this?
1
vote
0answers
35 views

Passing More Than One Managed Metadata Term to a List Field Via a Webpart

I have a Webpart that adds items to a list. it has a managed metadata field that can get more than one term but when I submit the data, the first one gets submitted and there is a semicolon after it ...
0
votes
0answers
19 views

invalid file name . sharepint site collection

i use Sharepoint 2010 as farm server .. every thing was good .. but suddenly i get this error . when i want to attach a file to new item in every list . Error text: invalid file name the file name ...
0
votes
2answers
53 views

Start view with displaying items 31-60

I created a list with 100 items, split my page into three columns and entered the same webpart in each column. Now the thing I want to do is that by default, the list shows items 1-35 in column one, ...
0
votes
1answer
72 views

Load all fields for a specific ListItem using CSOM

I want to load all FieldValues for a specific ListItem ForExample public ListItem GetItemById(List SPList, int id, string[] fieldNames) { using (Ctx) { ...
0
votes
0answers
19 views

Get checked out items that don't have checkedin version (yet)

In a document library, I need to get all the files/items, even the items that don't have yet checked-in versions. Is this possible and how? I'm using CSOM (C#).
0
votes
2answers
62 views

How to modify Author field of ListItem

I am building a migration tool that is migrating items from an XML schema to SharePoint list fields. Everything is working fine except when it comes to the migration of Created By fields. I need to ...
0
votes
0answers
27 views

Email alerts for existing list list items

I run a SharePoint Online site that my company uses for staffing. There is a List for Positions. Each position gets a status of open when it's first created and remains opened until it is filled. I'm ...
1
vote
1answer
45 views

How to get the List item Id in javascript while in the display form

Is there is a way to retrieve the List Item Id (ID) that you are currently viewing (Display.aspx from) in javascript. I have searched through ctx and the _spPageContextInfo but have not found any ...
3
votes
2answers
55 views

How do I display only the title on an event in the calendar?

Right now, it is currently showing up as the date and the title but it is all mushed into one line. I would like to change the default settings for all future events to be ALL DAY events, however ...
0
votes
1answer
37 views

New Item, Custom Form, Call Out(?)

In my webpart when I click new item I get: Is there a way to make this box appear to create a new list item when I link a link? I want to have something hyperlinked like "Send Feedback" that people ...
3
votes
1answer
163 views

BreakRoleInheritance and Inherit Permissions ListItem

I'm having a little difficulty with the BreakRoleInheritance in keeping inheritance of permissions in a users OneDrive for Business Documents list. By default the users Documents list has two ...
0
votes
0answers
35 views

Unable to create new list item in another list using Workflow

I am trying to create a list item in List 2, when List 1 form is submitted. But I'm getting below error The workflow could not update the item, possibly because one or more columns for the item ...
0
votes
2answers
91 views

List Group By Week not working properly

I have a list grouped by the following formula. =CONCATENATE(TEXT([Effective Date]+(5-WEEKDAY([Effective Date])),"mm/dd/yyyy")," - ",TEXT([Effective Date]+(11-WEEKDAY([Effective ...
1
vote
2answers
55 views

Check permissions of groups on a document library folder, write out the group names and permissions

I can get to the document library folder/item like this: SPDocumentLibrary docList = (SPDocumentLibrary)web.Lists["Documents"]; string caml = "<Where><Eq><FieldRef Name='ID' ...
0
votes
1answer
105 views

Add Item to List on JSLink with jQuery

I have a JSLink on my Webpart Custom List, and I need to add an item before render a view. (function () { var overrideCtx = {}; overrideCtx.Templates = {}; ...
0
votes
1answer
41 views

get the title of the list

I have a list with title as one of the column which is of clickable and am using jQuery to show the list items in one of my SharePoint page I am getting the name of the title but unable to make it ...
1
vote
1answer
52 views

Previous submitted InfoPath form disappears in form library

I'm working in SharePoint 2013 (Office 365). I have created an InfoPath form and publish it into the SharePoint site. When I submit a new record it will be submitted successfully. But if I add ...
0
votes
0answers
27 views

Validation for column choice

I am creating an event registration list using Sharepoint and have a column with the choices session 1, session 2, session 3 etc. How do I set a validation rule to limit the number of items for a ...
1
vote
1answer
659 views

Upload list item attachment using JSOM

I am trying to upload list item attachment using the below code. There is no error in the code and all the variables are present with proper values but in uploadFile method it goes to error handler ...
2
votes
1answer
190 views

Include Rich text web part in document template

I have a workflow which creates a word document in document library, when a new item is created in list. The list has a rich text field. The document is created successfully with all the contents but ...
1
vote
1answer
146 views

Fetch list item attachment by name

I am trying to write custom code for list item attachments. As it is not allowed to overwrite them, I will check if file already exists. If yes, will delete and then upload again. I found a method ...
0
votes
1answer
82 views

Add list item only after workflow approval

Is there a way to restrict or hold the list item from adding into the list until it is approved? Once the user hits the save button from new user form, the workflow approval request starts and until ...
0
votes
1answer
96 views

Print out list item display form (InfoPath)

I have a SharePoint site used for tracking despatches in a warehouse. I think I'm going to use InfoPath to design the form to make it look nice, rather than CSS or JS, and from what I've seen ...
0
votes
0answers
117 views

CSOM retrieve List Item doesn't show some Lookup Key Value pairs

I try to load a ListItemCollection from my SiteCollection using CSOM C#. Therefore I use the following List rr = web.Lists.GetByTitle("MyTitle"); context.Load(rr); FieldCollection fcol = rr.Fields; ...
1
vote
1answer
66 views

Custom action sequence number

I do not understand how does the sequence number work in custom action definition. How can I decide my custom position (which number should I use?) <CustomAction Sequence="600">
0
votes
1answer
55 views

Hide list item with Workflow

Is there any way I can hide a list item that is posted to a custom list until it's approved by a content owner? If so how can I do that?
0
votes
2answers
128 views

CommandUI.Ribbon.ListView Displays Custom Action On DisplayForm For Item

I have the following custom action definition: <CustomAction Id="MYRibbonTab" Location="CommandUI.Ribbon.ListView" RegistrationType="ContentType" ...
2
votes
2answers
202 views

JSOM Anonymously CAML query list items

I am attempting to query a list using CAML via JSOM and am getting the error message The method "GetItems" of the type "List" with id "{GUID}" is blocked by the administrator on the server. I have set ...
0
votes
1answer
86 views

How to specify columns when adding new item to list using set_item

I'm trying to add an item to a SharePoint list like so: Title | Column1 | Column2 -------+-----------+----------- title1 | 1 | a title2 | 2 | b Now lets say I want to add ...
0
votes
2answers
321 views

SharePoint Online Iterating through Document Libraries CSOM

I am trying to iterate though a document library and set each document/items within to inherit permissions (at the moment each doc/item is using uniquer permissions). I am able to get the specific ...
0
votes
1answer
616 views

Updating a list item using date() function

I have a column [ScheduleTime] which is a DateTime type in my List. Using JavaScript i need to update the [ScheduleTime] column which should be Current Day whenever my script loads. But here I need to ...
0
votes
1answer
149 views

'u.Email' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'

'u.Email' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException' When I try to get the email from a user in a list. Here is mycode: CamlQuery query = ...
0
votes
1answer
72 views

Cannot convert lambda expression

I am trying to retrive an email of user in list. I have this compilation error context.Load: Error 1 Cannot convert lambda expression to type 'System.Linq.Expressions.Expression>[]' ...
0
votes
1answer
23 views

Extract email from ListItem user

I don't know how to extract the email of a User in a Sharepoint list. I get a FieldUserValue but I am stuck at it. Microsoft.SharePoint.Client.ListItemCollection listitems = list.GetItems(query); ...
0
votes
2answers
26 views

javascript to deactivate a list item

I have a Picture Library. It has YES/NO column called "Activation Status". When we deactivate a image, we have to manually, un-check the Activation Status. Can we use JavaScript code to un-check ...
0
votes
1answer
489 views

Add facebook like button to sharepoint list item

How can I add a facebook like button to a sharepoint list item in Sharepoint 2013? P.S: I'm intrested in adding a like button only to a list item, not to the whole page. Thank you in advance!
0
votes
0answers
174 views

Adding an a attachment to a new list item programmatically (not typical issues)

I am having a bit of a weird issue. I have created a Visual Webpart for SP2010 using C# and VS2010. I finally got all the bugs worked out and it is working properly. If someone wants to attach ...
0
votes
1answer
111 views

How to copy item to new item then edit new item (cloning a record)

I have records in my database and when viewing a record, I wanted to be able to have a button that would create a new record (new ID number) with the same data that was in the record I chose to create ...
1
vote
3answers
63 views

Create list item which will link and navigate to new list item?

I've been trying to get this to work but need some direction. Got a requirement for a list item that on submission would create another list item and link to it. So basically a lookup on the ID of the ...
0
votes
1answer
18 views

Can a deleted list item be restored to a different list?

We have a couple list items deleted that we want to restore to collect attachments from, but we can't restore it to the same list if possible.
1
vote
1answer
28 views

Different permissions on item creation

Within SP 2013, is it possible to do the following in terms of permissions : Two different AD groups : Admins & Users. With only one list. When Users access this list, they can add/modify only ...
0
votes
1answer
224 views

Item level permissions settings for a document library in sharepoint 2013

How can I get item level permissions settings for a document library in SharePoint 2013. Something like below I want to create a page where everybody will be able to create/add their post/picture. ...
0
votes
0answers
17 views

Time calculation diff from timerjob and manually created list item

I have a problem. I have a list, where some item fields are calculated from created time + offset. If I create a item manually, from the UI time calculations are correct. But I also have a scheduled ...
0
votes
1answer
47 views

How can i set selected item property from the list using code behind?

div id="Div1" class="myTeams"> <div class="listTitle">My Teams</div> <div id="myTeams"> <select id="myGroupList" name="myGroupList" ...
0
votes
1answer
328 views

Error:Input string was not in a correct format. (Javascript)

I'm using SharePoint 2013 online and trying to save a item to a folder content type in a document libary I think the code is nearly rigth but i am getting this error when i hit save button have anyone ...