0
votes
1answer
36 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
0answers
7 views

Change the Type of a deployed ListTemplate

We need to change the Type attribute of some deployed and in use ListTemplates because of the problem discussed here. What is the correct way to do this without losing data?
0
votes
1answer
29 views

'Alert Me' does not work on custom lists

We have several custom lists which are all deployed using WSPs along with some web parts to a SharePoint 2010 installation. Every time a user clicks on the 'Alert Me' button on a custom list or an ...
1
vote
2answers
44 views

New field is not accessible via Powershell

I have a list "Orders" in SP, where I have some data. The list definition and instance were previously created in Visual Studio and then successfully deployed. Today I've opened VS again and added ...
1
vote
1answer
261 views

How to customize the XsltListViewWebPart?

I would like to have submission feature on the List List structure would be Mon-Fri is considered as a week, user would be asked to select the current week's Friday from the calendar. It ...
0
votes
1answer
58 views

How to restore the sharepoint list data after deploying project solution again?

I have an Visual Studio 2010 empty sharepoint solution project. Solutions consist of several custom lists and workflows attached to that lists. The solution always changes, so it means I'm redeploying ...
0
votes
1answer
148 views

PreSaveAction on a ListInstance with a custom ContentType

Everything I've read about PreSaveAction requires me to edit the NewForm or EditForm to add the reference into the form. However, given my list is created from Visual Studio using a custom content ...
0
votes
1answer
366 views

Adding Folders to a SharePoint 2010 Custom Document Library Template

Although I know it is bad practice, my business requirements dictate to create a default folder structure within a custom document library template. I created the feature in VS including site columns ...
1
vote
2answers
1k views

How to display list on application (aspx) page by visual studio?

I have created list and application page in visual studio for sharepoint.Now I have to show that list on that application page. I have option of using SPServices. But is there anything I can do with ...
1
vote
1answer
291 views

Add list item through visual studio

I have created a list of of links through visual studio. Now I want to add items also to that list. How can I do it through visual studio itself? BTW am using visual studio 2013
1
vote
2answers
433 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
1answer
67 views

Develop Custom List in VS2010 with checkboxes from another list

I am developing a custom list definition within Visual Studio 2010 for SharePoint 2010, I have ran into a problem with adding a field which will be choice and will use items from another list on the ...
0
votes
1answer
3k views

Filling in the predefined Word Document Template from SharePoint Site

I have a requirement which asks for filling the details into a word doc with a predefined template from SharePoint site and then the word doc should be automatically saved when clicked on saved ...
1
vote
0answers
61 views

Custom List deployed using Visual Studio 2010 unavailable under All Lists -Closed

I tried creating a custom list by the method mentioned in this tutorial by Saurabh Khatri. I deployed the list to another site. After deployment the instance of the list was visible in the Quick ...
1
vote
2answers
105 views

Custom list definitions throws an error on activating

Hi I try to create a custom list definition within visual studio to create based on the listdefinition my own listinstance. The definition looks like this: <?xml version="1.0" ...
3
votes
1answer
116 views

Importing a list from one visual studio project to another

I have sp project (say project a) in visual studio that is supposed to deploy the sp solution to my website (say that its running at http://localhost:xxxx/). My goal would be to add the list ...
0
votes
2answers
279 views

Create a Ribbon for one list only and change it depending on a value

So, I created a custom list named "Events" and one named "attendees" for an event-management-solution (lets call it attendee training) in a site-collection at my SP2010 Server. My Problem: I want to ...
0
votes
1answer
164 views

list template copy code-behind is not working

My goal here is to create a list template with code-behind on my server and copy it to a completely different Sharepoint server. The problem is that my server has Visual Studio 2010 while the other ...
1
vote
2answers
2k views

Lists with lookup columns aren't saving - read only?

I've got several list which have lookup fields, and I can't add new items to any of them. Every time I've clicked save, I get this error: "Invalid data has been used to update the list item. The ...
1
vote
3answers
553 views

Problem creating a Custom Ribbon Action to Order Lists

I attempted to create my first Custom Ribbon action to allow users to sort list items. But I failed miserably. the Action wont show in my ribbon at all and I am having trouble finding out what is ...
0
votes
1answer
624 views

Importing custom list to visual studio from sharepoint

I need to create a list for a sharepoint 2010 project. I went into vs and i added a new List Definition with an instance, when i publish everything is fine. I now need to add custom columns to it and ...
1
vote
1answer
679 views

Event Reciever Sharepoint 2010(when the calling fails)

I am working on a share-point 2010 custom list event receiver(item adding, item updating,item added), once in a while i will notice that when i create a new item, it seems like the event receiver wont ...
7
votes
2answers
1k views

Event Reciever on specific list in sharepoint 2010

I am working on creating event reciever for a custom list in sharepoint 2010 using visual studio..how can this event reciever be targeted to a specific custom list ..in my case its customEmpList?