Tagged Questions
0
votes
2answers
46 views
Rename “Title” column on multiple lists
I have 3 or 4 lists where the title column is not required. Hence I started renaming the Title field to any other text field that I have in the list per the below blog.
...
1
vote
1answer
57 views
Lists included in an App for SharePoint 2013
I've seen that when I create an Autohosted App for SharePoint 2013 (or any other type of Apps), I'm then able to add a new item to the SharePoint Project such as a List.
I can then add/edit/delete ...
1
vote
2answers
191 views
SharePoint OOTB List and Lookup field problem
I am working in a project with SharePoint Server 2010.
I have the hole project inside a Visual Studio solution (site columns, content types, lists, workflows...)
Everything were working well until I ...
0
votes
1answer
386 views
Help with Blog EventReceiver, not firing
Ok so I have a blog site and I need to change the name of the author of each post to 'Anonymous' after he saves the post. I created an EventReceiver project in Visual Studio and gave the URL ...
1
vote
1answer
302 views
Change Add new Item Text
I've developed a ListTemplate via ListDefinition in SP 2010 using Visual Studio. Nearly everything works fine, but the Link at the bottom of my ListInstance is missing the Text "Add new Item". Is ...
1
vote
1answer
416 views
Custom Ribbon Button on Custom List (created in VS)
I've created a custom document library which is defined through a Visual Studio solution. I also have ribbon customizations which add buttons. My problem is that these buttons do not display on the ...
3
votes
2answers
1k views
error activate feature list template/instance in site definition
i've created a SiteDefiniton project and a Sharepoint ListDefinition project. In the SiteDefinition I created a listinstance of my template, but in deployment the activation of the ListInstanceFeture ...
0
votes
1answer
224 views
What are the advantages/disadvantages of building a list template with Visual Studio as opposed to SharePoint Designer
First, let me say, I am new to SharePoint Development.
I have been able to create a couple of related custom lists using SharePoint Designer. I was able to deploy them and they work quite well. ...
1
vote
2answers
1k 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
1answer
272 views
Custom Field does not save
I've created a list that contains a cumstom field. The custom field inherits from SPFieldUser.
After I created a new ListItem (webfrontend) and have a look on the elements details the field is empty.
...
1
vote
1answer
97 views
How do I move lists from a site into a feature?
I created some custom lists (with content) on a site I'm using for prototyping. I want to make a feature (via Visual Studio) that automatically adds these lists (plus content) to any site the feature ...
2
votes
1answer
812 views
How to read an User field value for a list item
I've got a content type that contains a filed of the type user. When I want to read the ListItem I just get a string containing the users name instead of a object which contains Name, Username, E-Mail ...
0
votes
1answer
152 views
Multiple ListItem Owner
I need to create a List that contains multiple listitems. Each listitem should have 2 autors, or 2 persons wich have permissions to change the item. The users who are allowed to change the items are ...
1
vote
2answers
531 views
PowerShell Scripts
Does anybody know if there's some way to delete items from an SPList using PowerShell scripting?
If is this possible, has anybody any good tutorial?
Thanks!!!
1
vote
1answer
398 views
Using an imported list template's (build in SP designer) xml as the basis for a new list definition in VS
I'm a SP 2010 beginner (although a long time ASP.NET developer) and I thought a good learning exercise would be to:
Create a list template in SP Designer
Import that list into VS 2010
Create a new ...
2
votes
2answers
262 views
Requiring Event Receiver while creating new item
I have an event receiver(item adding,item added)..on a custom list..this event receiver creates an ID when a new item is created..so when i deactivate the event receiver and add a new item to the list ...
0
votes
3answers
623 views
How do I create a sequential workflow in visual studio to update a list column?
I have list in SharePoint with a field that I want to auto-populate based on values of other fields in the row. I would normally use a calculated field but the calculated field doesn't have ...
1
vote
3answers
1k views
Delpoying farm solution (Application Page) sharepoint 2010 --Access denied
I am deploying an application page (globally), I have a button on the editform.aspx. When a user clicks on the button, it redirects to the application page in a new window but I am getting an error ...
2
votes
2answers
532 views
Workflow for CustomList
I'm creating a Sequential Workflow on a CustomList in viualstudio 2010.
My problem is: when I publish the workflow, the list forms (for NewItem, EditItem and so on) get changed and now just contain ...
2
votes
1answer
484 views
How to create a lookup field that has a list column picker
How would I be able to create a list field in VS that would be a lookup to select columns from any list?
I would preferably like to have something like the PickerTreeView.aspx, but instead of ...
2
votes
4answers
3k views
Item added or item edited Sharepoint 2010 event receiver
I am working on Sharepoint list form with 10 fields. The first time when I add the new item I fill in 8 values and id is generated. Next time I edit the form I fill in the one of the two remaining ...
0
votes
2answers
226 views
Event reciever (itemadded) sharepoint 2010
is there a way where we can get the link(editform.aspx) of item just added to the list-- in the itemadded method of the event receiver (Share Point object model)
0
votes
1answer
836 views
Event Reciever run with elevated previledges
I created one event receiver and deployed it, but only users who are site collection admins are able to view this web part. I have included the SPSecurity.RunWithElevatedPrivileges but the same thing. ...
2
votes
2answers
477 views
Event Reciever on specific list in SharePoint 2010 working in dev environment but not in production
I have created an event receiver (on item adding) using VS2010 in SharePoint 2010 targeted to specific custom list which is a globally deployed in the production environment.
This event receiver ...
2
votes
1answer
440 views
How to implement a custom auto-increment id on a yearly basis
I am trying to create a functionality for a list where all entries get a custom ID. The IDs are going to have the following formats
List1
Year-1
Year-2
Year-n
List2
Year-1.1
Year-1.2
Year-1.n
...
1
vote
1answer
176 views
Event Reciever on Item created
I am working on creating a event reciever on a custom list ..
my senario: I have a customizes newform.aspx and this form has a field called ticketID as hidden ..in the newform..so when a user creates ...
1
vote
0answers
431 views
Creating Custom List Definitions that Use InfoPath Forms - Deploy everything using Visual Studio 2010
I'm trying to create a list instance from a list definition, all from a VS2010 solution and want to have custom InfoPath forms for the list instance.
This article keeps popping around in my searches: ...
0
votes
1answer
947 views
Create list instance with Visual Studio 2010 and specify Group or Person for field value
I'm creating a list instance in an XML file and I have some fields which are of type "Person or group". In the XML I can specify it like this:
<Row>
<Field ...
-2
votes
3answers
332 views
How can I update a list without having my code run on the SharePoint server?
I can reference Microsoft.SharePoint.dll in Visual Studio in order to compile my C# or VB.NET code. I've found that I will still need to copy the compiled code to the server and deploy it there.
From ...
7
votes
6answers
4k views
Where to find PublicKeyToken?
I opened an empty sharepoint project in which I added a new application page. There I wrote some code. Now I need to enter that information under <SafeControls> tag in web.config file.
...
3
votes
1answer
2k views
Updating a List Instance
I have a List Instance in Visual Studio. However, every time I deploy the solution, Visual Studio says there is already a list instance with the same URL on the site collection and it needs to delete ...
0
votes
0answers
698 views
using list lookup Fields in SharePoint 2010 programmatically [duplicate]
Possible Duplicate:
How to set ListItem Lookup Field value
I have a SharePoint list with a lookup field and I want to add values to this list through the SharePoint Object Model.
but I ...
0
votes
1answer
752 views
Adding list forms in Visual Studio 2010
In SharePoint Desinger it is possible to add a new forms to a list (example CustomeEditForm.aspx). Is there some method of doing this in Visual Studio 2010 and how is that done? And is ther some blog ...