1
vote
2answers
39 views

Best practice for autonumber

What is in SharePoint 2013 on premise the best way to create an autonumber system? It's for an expense note system and it should be nice to have something like 2014/0001. I know there are different ...
1
vote
0answers
20 views

How to display error message on the same page even with attachment [duplicate]

I have been trying to figure this out for days with no luck. I am working on Sharepoint 2013 application. In my application, the fields will be validated and display the error if the input is wrong. ...
2
votes
1answer
65 views

How to rename file after saving from Word

I need to rename document after creating from MS Office Word. I've created EventReceiver OnItemAdded where I am trying to change "FileLeafRef" field: public override void ...
2
votes
1answer
94 views

How can I tell in a Sharepoint 2010 event receiver if the list item was added in datasheet view or not?

I'm a novice Sharepoint developer, so please forgive what is probably a very simple question. I have an event receiver on a custom list in Sharepoint 2010. I need to be able to display custom error ...
1
vote
1answer
206 views

Add Content Type to existing List when associating Workflow

Using Visual Studio I have created a package for SharePoint 2010 that deploys a Workflow that creates Tasks of a custom Content Type Id. When I first deployed it, I noticed that Tasks were being ...
0
votes
0answers
19 views

migration sharepoint 2010 to sharepoint 2013 [duplicate]

I'm stuck migrate my application in sharepoint 2010 to sharepoint 2013. Because SPEmailEventReceiver. i'm deploy wsp sharepoint 2010 to sharepoint 2013 success. but i'm testing email eventreceiver ...
2
votes
2answers
162 views

SPEmailEventReceiver in sharepoint 2013

I'm stuck in use of SPEmailEventReceiver in sharepoint 2013. this my code: public class EREmail : SPEmailEventReceiver // this error because namespace can't found { public override void ...
0
votes
0answers
14 views

Perform an Update from the webfrontend by Eventreceiver

i have an Eventreceiver. Now I change some data from other list items with this receiver. I display the items with a gantt view, butw when I update the elements, only the single edited item is ...
0
votes
1answer
46 views

What would be the best approach for assigning permission for the document in library?

I working on a requirement in which there are contributor list for each document in sharepoint library. The contributor may be unique set of users for each document. I wanted to know what would be the ...
0
votes
1answer
223 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
94 views

Serializable Exception while retrieving Taxonomy term in Event Receiver

I am trying to get value from Managed Metadata Column in an Item Added event receiver. SPListItem item = list.Items.GetItemById(itemId); TaxonomyFieldValueCollection str = item["colName"] as ...
0
votes
0answers
63 views

Event Receiver issue with updating Splistitem fields only when i save as a document from Office Word?

I have a problem with updating Splistitem fields only when i save as via Office Word a document to Sharepoint in my Event receiver. it's works when i add the document from Sharepoint. here is my ...
4
votes
4answers
1k views

Event Receiver called multiple times

I attached an event handler for ItemAdded to a content type A in the xml (using XmlDocuments). I have 4 other content types A1, A2, A3 and A4 that inherit from content type A (in their xml definition ...
0
votes
1answer
96 views

Access Denied when using CancelWithRedirectURL

I'm trying to prevent some records from being deleted from a list. I've got the ItemDeleting event firing and everything works great. I can prevent the item from being deleted just fine. The ...
2
votes
4answers
1k views

The security validation for this page is invalid error trying to add sharepoint approval workflow to List in ListAdded eventreceiver

What I am trying to do is to attach the OOTB sharepoint workflow [Approval Sharepoint - 2010] to each and every document library that ever gets created. To accomplish this I created a List Added event ...
1
vote
2answers
432 views

Event Receiver redirect to Visual web part

Here is my Event Receiver to redirected to my visual web part: public override void ItemAdding(SPItemEventProperties properties) { base.ItemAdding(properties); properties.Cancel ...
1
vote
0answers
534 views

sharepoint 2010 list groups from event receiver to form or dialog box?

How can I get a list of groups in a form or dialog box to select one or more groups, and then assign permissions to the document? Here in this code: using System; using System.Security.Permissions; ...
0
votes
2answers
2k views

SharePoint 2010 - How to remove Event Receivers from Content Types

I have a Content Database that contains Event Receivers referring to a Solution / Feature that was incorrectly removed. These Event Receivers are embedded in every Content Type in my Site Collection ...
0
votes
0answers
854 views

Event manager error: Could not load file or assembly or one of its dependencies. The system cannot find the file specified

I'm receiving the following error in my ULS logs when I try to create a new website in a migrated content database. Event manager error: Could not load file or assembly 'xNamex, Version=3.0.0.0, ...
0
votes
1answer
331 views

delete feature using event receiver on a farm feature

there is a farm feature and there is a web-scoped feature. web feature does stuff on multiple sites. If ever i want to get rid of the feature on all sites, I have a farm feature that has on ...
1
vote
4answers
1k views

Single line of text field validation in Sharepoint 2010 list

I have single line of text field in a Sharepoint 2010 list. I need to validate the particular field. The user will enter the number by starting with I or F. How do I validate the field if the user ...
1
vote
1answer
296 views

Is it possible to have the round robin logic in the sharePoint list 2010?

Is it possible to have the round robin logic in the sharePoint list? I have two lists in SharePoint 2010. In List A i have Assigned to field column(people or user group). In List B i have two fields ...
0
votes
1answer
1k views

How to assign a particular column values of sharepoint List A 2010 from sharepoint ListB 2010

I have two list in sharepoint 2010. In List A i have Assigned to field column(people or user group). In List B i have two fields Name and Email id column. I need the email id values of List B should ...
0
votes
2answers
199 views

How do I pass value to list event receiver?

I have a document library that have a column named "Region", after some user uploads a doc to the library, I want to update this column based on this user's region property. for example, if this ...
3
votes
1answer
222 views

ItemUpdating method for an item event reciever is called three times

I've creted an asset library for holding pictures and I've created an event reciever for the ItemUpdating event. When the item is updated, the method is called three times(!?!). I've noticed that two ...
1
vote
4answers
642 views

Calling Console Application (.exe) in Event Receiver and Getting Error

I am using SharePoint foundation. I have a console application that is used to run some OCR process. I am calling the exe of the console application from windows service and it is working fine. I am ...
0
votes
2answers
893 views

List event Item Updating is not firing

I have added a list item updating event to a document library but I cant see it running please tell me how to check if it is running, I also have put a log entry in the event receivers code but cant ...