0
votes
1answer
47 views

Retrieve all lists and libraries Sharepoint Online

I'm trying to retrieve all lists from my online tenant from Visual Studio. After much fumbling and unsuccessful attempts with: ListItemCollection listItemCollection = oList.GetItems(query); and ...
0
votes
2answers
22 views

Efficiency of SQL updates/queries versus dealing with lists

I'm doing a lot of operations on very large custom lists, comparing them to SQL tables and updating items in the lists based on those tables. Currently this is a pretty slow process because it takes ...
0
votes
1answer
394 views

How to get plain text out of a multi line text field in Client Side Object Model?

I am trying to read plain text from a MultiLineTextField in a List. This is how my code looks so far: //Get connection ClientContext context = new ClientContext("URL"); Web site = context.Web; ...
0
votes
0answers
70 views

ListFieldIterator is not functioning as expected in List Form

I have customized my new form for my list using the below guide. ...
0
votes
0answers
48 views

How to : Visual Studio 2010 create Sharepoint List and define data source?

I have this ugly requirement of creating a SharePoint list (could be a custom or an calendar) which displays the companies upcoming events, the problem is that x department updates an excel sheet ...
2
votes
1answer
802 views

Creating a Registration Form in SharePoint 2013

I need help with this task. I would like to create an app/webpart in SharePoint 2013 Foundation that displays a list of events. Users can see this and if interested can signup for which ever event by ...
0
votes
1answer
291 views

C# custom list checking

I have made new custom list (throught sharepoint), and I have only add couple custom fields, which type is TEXT. I have rename that TEXT example "Extra". I know how I can read list through code. ...
1
vote
2answers
519 views

Updating 'Created By' field in SP2010 programatically

I'm trying to import data from an .xml file to a custom list in SP2010(created programmatically). I'm able to create and update all fields except 'Created By' as it says that "Cannot update read only ...
0
votes
0answers
81 views

CAML to find tasks “Assigned To” specific users

I have a task list containing an "Assigned To" SPUser field. Only users in a SharePoint group can be assigned to tasks in this list. I want to iterate through the SharePoint group and find out how ...
0
votes
1answer
895 views

How do I programatically change the form template for an existing list

I've started creating all my SP lists in-code, because I find it to be way more reliable than using schemas. I can ensure lists on-the-fly, change existing fields during development, etc. And if ...
0
votes
0answers
52 views

Filter the list in sharepoint online?

I have a sharepoint list . There are 4 people(not fixed) from separate groups(say A,B) responsible for each issue. Now I've a requirement according to which, 1.I'll have to design a page display the ...
2
votes
1answer
565 views

Comma is being appended to values when adding new item to list through C#

I have a custom web part form which takes a few values from text boxes and adds the new row to a list. The problem is that when I click 'save', the values are being saved but some fields like ...
0
votes
1answer
153 views

How To Add Item ToSharePoint List Programmaitcally

My goal is to simply submit a new item to a SharePoint list programmatic-ally through a custom web part that I'm building, however, I'm having trouble putting some pieces together. There are plenty of ...
2
votes
1answer
137 views

Help Return Lists With With No List Items

This is my first time posting and I'm looking for some help, so hopefully someone has an answer. I used the search, but didn't find anything. I created a custom list definition, and content type ...
1
vote
0answers
71 views

Best way to create a Drafts List and save and Load entries from another list?

So, I have a Custom List named "Events". Now I'm searching for a best practice to create "drafts" for the list items of the list, because there might be some events (monthly/ annually) which have ...
0
votes
1answer
2k views

Can't see any custom fields when 'adding new item' to custom list

As title says, I can only see the 'Title' field when adding a new item to my custom list. Any ideas? I've double checked the field definitions and checked the field references are in both default ...
1
vote
3answers
422 views

How to check if a item in a custom list have a property or not

I added a check Check Box to a custom list library form which works well with new files uploaded and I can check the property Value by bool.Parse(listItem.Properties["columnName"].ToString()); but ...
4
votes
0answers
81 views

Can you add comments to an append-only field in a list in Sharepoint 2010 using C#? [duplicate]

Possible Duplicate: Can you programmatically add comments to an append-only comment field in a custom item list using C#? Posted on stack exchange first, then I found this Sharepoint ...
0
votes
1answer
1k views

Event receiver for a custom List

I created a custom Event Receiver using WSP builder, and in elements.xml file i have given the ID of list which i find in elements.xml of List definition of particular list. I also activated the ...
0
votes
1answer
282 views

Adding column to a SPList

Normally I create a New List if I want to add an additional column to a List that already exists in a web. Wondering what would be the best option, should I create a new list with additional column ...
1
vote
1answer
146 views

Deleting a Custom List Item using a custom field Name

Normally we delete a List item using following code, using (SPSite site = new SPSite("http:web1/default.aspx")) { using (SPWeb web = site.OpenWeb()) { ...
0
votes
1answer
96 views

Different Value of Lookup Field in different Views

here's the code using (SPSite site = new SPSite("https://mysite.com/Ting/default.aspx")) { using (SPWeb web = site.OpenWeb()) { SPList SourceList = ...
0
votes
1answer
31 views

How to replace a Default List “Events” with a new custom list for all the sites

I am trying to find a script that will replace Sharepoint Events List with one of Custom List i created + Copy all the data of Events list to my newly created list. I know how to Delete a list and ...
0
votes
2answers
1k views

programmatically list validation

I'm looking for a way to implement programmatically vallidation for NewListItems/EditListItems. One way I found was: to use the ListEvents and Validate on ItemAdding / ItemEditing. But instead of a ...
0
votes
1answer
273 views

Custom List Not showing up

I created a list using a msdn tutorial as given in link below, MSDN Custom List I followed each single step, and deployed the list, and I can see it deployed globally in Sharepoint Central Admin, + ...
2
votes
2answers
472 views

how to show infopath form in an email

is it possible to have a form in an email? I'm needing to create a form that will be sent to a user based on a workflow variable. This email will have two field in it that will need to be filled out ...