Representation of a list item within the SharePoint API.

learn more… | top users | synonyms

2
votes
1answer
202 views

How to import one single row of data from excel to one list item in a SharePoint 2010 list?

I have a problem where we want users to attach a file to a new item and the SharePoint list will automatically read on row or column of data (maybe 20 cells-worth of data) and populate some additional ...
1
vote
1answer
23 views

How to add grid lines to display form of a list item

I am trying to figure out how to make my display item form look like a table. I am using SharePoint 2013, and currently, the display form can be a bit difficult to read without lines separating ...
1
vote
1answer
72 views

Sharepoint list items getting auto modified

Sharepoint list items getting auto modified. All the lists seems modified by a single user. But when checked with the user, he hasn't accessed this list at all. And the modified time stamps are all ...
1
vote
1answer
66 views

User loses permissions to list item temporarily

I have a huge list with articles (shop with 6000 articles) and there is a timerjob that runs like every 3 hours that updates the stock on all the articles based on the stock returned from an external ...
1
vote
1answer
2k views

SharePoint 2010 - get list item from search result

I'm using FullTextSqlQuery to search items on specific list. Query returns results properly. Now I'd like to get SPListItem from search results. As I searched Internet, I found couple of examples, but ...
1
vote
1answer
40 views

An event to be fired on editing a file

As title says, I need an event to fire when a listitems file has been edited. I appreciate this isn't as simple as it having it's own event, which is why I've tried to make use of the itemupdating ...
1
vote
1answer
195 views

Library ItemUpdating - distinction between versioning of existing files, and changing metadata of existing files

I am currently facing challenges in distinction between updating an item, and creating a new version of same item. The ItemUpdating eventreceiver is hit in both cases. Requirements for the library ...
1
vote
1answer
114 views

Disable save item button while save process is not completed

User clicks on Save Button and saving procedure can take "few" seconds. User can click again..that`s why i need to disable save button, how can i do this?
0
votes
1answer
15 views

How to track web request made to sharepoint site from remote computer

I am trying to connect IBM datastage application to a sharepoint list using soap web services. I am using GetList and Getlistitems to get the data from sharepoint list. While doing this i can ...
0
votes
1answer
31 views

add an SPListItem from a web part

I'm in a sandbox solution. I'm trying to add some items in a list from a click button in my webpart. It seems easy but with sandbox everything comes difficult. Here is my code and I've an exception ...
0
votes
1answer
16 views

Error in setting up custom edit form for a List Item (SharePoint 2013)

We have a list for which we wanted to bind a custom aspx page for editing the list item. we have written the following sample console application to check it. public class Program { public ...
0
votes
1answer
143 views

Copy ListItem from one list to an other by ribbon custom buttom

I try to create a new button in the ribbon. When the person select a list item and click on this button this item will be copied to another list. CommandAction=""javascript: var context = ...
0
votes
1answer
177 views

Why ItemUpdating is calling after ItemAdded event in Sharepoint-2010?

I am developing Sharepoint 2010 application where I have been using SPItemEvent to deal with ItemAdded event. One thing surprised me that ItemUpdating event is calling after ItemAdded event in List. ...
0
votes
1answer
240 views

Document Library items not updating via UI or code. System metadata (last modified, modified by, etc.) updating

I am having a strange issue with one of my Document Libraries. It is the document library created by the publishing feature "Documents." Here are the symptomps and what I have done so far. Any help ...
0
votes
1answer
200 views

Which of these is the best way to get a list item collection?

Performance-wise which of these methods is the best way to get a list item collection, and why? SPList list = web.getlist("listurl"); SPListItemCollection items = list.getItems(query); ...
2
votes
0answers
79 views

Bulk file upload creates multiple versions of all files except last file

I have an interesting (well to me anyways) problem here. I am doing a code based mass upload of documents into a SharePoint library with a twist. The twist is that the file's last modified date ...
2
votes
0answers
705 views

Url to an item with Client Object Model

Regarding my question, at this moment i'm writing some client object model code and I can't find a way to retrieve create make an url ... My question now is: How can I create an url to an item? I ...
2
votes
0answers
126 views

Is my Object Casting Model acceptable?

I'm creating a SharePoint application, and am trying some new things to create what amounts to an API for Data Access to maintain consistency and conventions. I haven't seen this before, and that ...
1
vote
0answers
19 views

Replace default List View Web Parts

As the title explains, I am trying to remove the default Web Parts that are associated to list items and replace them with my own custom web parts. Here is what I've attempted so far: SPList list = ...
1
vote
0answers
76 views

Move listitems in SharePoint Hosted app

I am trying to creating a SharePoint 2013 Hosted app that get a selected listitem and move it to another folder of library in the same web. When I debug my code everything runs without any problem. ...
1
vote
0answers
114 views

send email to users including alert template with list items using visual studio?

I don't want to set list alerts when items created or changed. I want to send email(including alert template and all fields in item) to that user which not configured in sharepoint. My function for ...
1
vote
0answers
411 views

SPListItem.Update Not working

So I have this really simple function which updates a couple of fields on two different lists (one is a document library) The thing is on the document library does not updates any of the fields I need ...
1
vote
0answers
229 views

Get SPListItems based on contribute permissions, programmatically

I have a problem in getting the list items the current logged user has contribute rights on. I have this scenario: List A has read permissions for anonymous access. Group 1- Has contribute rights ...
1
vote
0answers
372 views

Can I set SPListItem Item.Id programatically

I want to delete some list items and recreate them using a csv file. I can see if I delete the items and then recreate, Sharepoint adds it's own auto icrement int. what if I want a set of fixed values ...
1
vote
0answers
192 views

SPSiteDataQuery without subfolder items?

I'm trying to use the SPSiteDataQuery to return the contents of several lists across a site collection. The problem I'm having, though, is that while there are only a few documents at the root level ...
1
vote
0answers
125 views

Is there a way to catch the transition of a SharePoint 2013 list item to Project Server 2013 project event?

As you may know, there is a feature in SharePoint 2013 that allows you to create a project in PWA from a list item (Ideation). I need to add a couple more settings for that list item and the resulted ...
1
vote
0answers
97 views

SPListItem.Tasks always empty

I have a custom sharepoint (2007) list (named testlist) on which I attached a test workflow (built with sharepoint designer 2007 and named testwf), which only task defined in the 'Actions' section at ...
1
vote
0answers
934 views

List ItemUpdated Event not firing when updating item from code

I have a problem with my eventreceiver. It is set to fire on updating item from a list, and works very good when I update that item from Sharepoint's web UI. However I have some code that goes through ...
1
vote
0answers
228 views

Validate list item with javascript API

I want to develop a custom datasheet view to edit a list. I add item through the javascript API. The problem is that the service doesn't control fields value. For example : - I add an item with a ...
1
vote
0answers
132 views

SPListItem: get associated eml file

I have a discussion board set up with an email drop folder. Once an .eml file is copied into the drop folder, it would disappear and the new discussion/message would be added to my discussion board. ...
1
vote
0answers
483 views

Problem with Refresh button on External data column

I'm struggling with refreshing items on list with external data. So far I have been able to make the refresh button work, but only when I add items to list in a standard way (via browser). When I add ...
1
vote
0answers
372 views

Sharepoint - Programatically check Project Task list hierarchy

I have a Project Task list in Sharepoint that contains Summary Tasks, which contain Tasks. What I would like to do, is to check which task items of this list are children elements of which summary ...
0
votes
0answers
17 views

Existing list items not showing added new columns to add values

I have created a list in SharePoint 2013 with 3 columns and added 2 items to that list. Later I have added 2 more columns to the list and its content type. But when I try to edit the existing 2 ...
0
votes
0answers
27 views

Why is file still locked after successful SPFile.ReleaseLock()?

I want to lock a file, perform some operation on it, then unlock it. This is what I have so far (I do this in an item event receiver for ItemUpdating): try { ...
0
votes
0answers
28 views

Unable to copy the Enterprise Keywords to the other list item

I have a picture library in which there is an event receiver which will copy the item value to the other picture library. There is one column i.e. Enterprise Keywords in the picture library. I have ...
0
votes
0answers
87 views

Archive or Move files based on a given Created Date range to another Library Using PowerShell

I am trying to archive select files from a SharePoint 2010 document library by moving them to another library. The files to be moved are selected based on their created date within a given time span. ...
0
votes
0answers
21 views

Line breaks doesn't detected when adding list items from csv

I have a csv that I export from excel by using google spreadsheet. I can add the items to the list with these codes; foreach($item in $vessellist) { $ni["datecol"] = $item.COL1; ...
0
votes
0answers
35 views

WCF Service to fetch never checked in items of all other users, bulk upload.

I have written a WCF Method to get never Checked in items of all other users. App Pool account used to run the service is Domain\user1. My report only gives me never checkedin items of Domain\user1 ...
0
votes
0answers
50 views

Get SPListItem by title is very slow

I want to get a SPListItem by title. I´m using a caml query to filter the list (Around 1000 items). There is only 1 item with the title in the list. My problem is now that the performance is really ...
0
votes
0answers
32 views

list items in KPI page is overlapped with KPI page

I have created a KPI list in sharepoint 2013.In this list i have open menu option,it is shown by three dots like ... When i click on it a list is open,but this list items are overlapped with KPI page ...
0
votes
0answers
28 views

Hide Field on Specific SPListItems

I am trying to figure out if I can hide/show a field for specific list items using the SP object model. I am aware that you can set the SPField.Hidden property however it appears as though this does ...
0
votes
0answers
27 views

How to create Custom ListItems Template/ user control

In WPF, you can create a "List Item" template and have a list-box use this template for every item in the list. I would like to do the same in SharePoint 2010. Can anyone point me in the right ...
0
votes
0answers
50 views

Urgent SharePoint Workflow help!! Any Ideas are highly encouraged

I have been trying to find a solution for an issue that I'm having with SharePoint Workflows. Here is what I am trying to achieve: I have a custom list on a SharePoint site. Customized an InfoPath ...
0
votes
0answers
76 views

Display Workflow Initiation form programmatically

I am able to create list items programmatically and have a workflow with a functioning initiation form. What I would like to do is redirect the user to the initiation form as soon as I create the ...
0
votes
0answers
116 views

Setting Taxonomy Field's Value causes Security Validation to fail

I have a WCF webservice, which saves data to a list. However, Taxonomy field is giving me issues here. The Problem: Interestingly, When I save data without specifying any metadata, the list item ...
0
votes
0answers
400 views

C#: cannot get listitem field value but works fine in powershell?

back again with a strange issue. Using powershell I can get a handle on a SPListItem and do Item["My Field"] which prints its value. However, in a C# custm workflow activity, when I attempt to do ...
0
votes
0answers
431 views

Sharepoint 2013 C# WPF CSOM ListItem.Update() is firing the workflow, but not attaching it to the item properly

Within SharePoint the workflow is set to start when the item is updated. What I'm trying to do is replace the item's file which is selected by the user, change a column value on the item, then check ...
0
votes
0answers
212 views

Object refenrece not set to instance of an object - list template items

This may be a duplicate, because this error is pretty common in every part of sharepoint. However, the search function didn't find anything for my particular problem. To the problem: I have a List ...
0
votes
0answers
48 views

Access unable to update singular column in SP list

When I try use Access 2007 to update a linked SharePont table, Access tries to update the entire list rather then the column I specify in my query. Anyone else encounter this problem?
0
votes
0answers
547 views

SharePoint 2010 Announcement web part - truncate/char limit issue

There are old threads on this topic but most of them for MOSS or prior versions or without any resolutions. This thread is close but solution doesn't work for me. Feel free to forward any working ...