Questions tagged [itemupdated]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
69 views

Button, updating a list item at the Display Page

I am trying to create a button on the Display Page where it will update a value (Open, Close, Cancel), either redirecting them back to the Display Page or just taking them back to the List Page. They ...
0
votes
0answers
45 views

Getting the Updated Folder Name(FileLeafRef) in ItemUpdated Event Receiver gives me the wrong name

I have an item updated event receiver, when i update a folder name example "TestName" to "TestName Renamed" the properties.listItem["FileLeafRef"] gives me "TestName" and not the updated "TestName ...
10
votes
10answers
7k views

Remote Event Receiver on updated will be fired multiple time

If someone ever had a similar experience, i'm trying to update word document in the document library and the problem is that my ItemUpdated is triggered multiple times. I think that last clientContext....
1
vote
1answer
153 views

Infinite loop for itemupdated event, sharepoint online

What can i do to avoid infinite loop in my itemupdated event receiver, everytime i call the item.Update(); the event fires again, what is the equivalent of EventFiringEnabled to sharepoint online
0
votes
2answers
839 views

Yes/No (check box) - who updated field on the custom list item

I have a Yes/No check box built in on the new item form in custom list. Is there any way to derive information who updated this check box (other than versioning)? I would be interested in getting a ...
1
vote
2answers
320 views

Console app not triggering ItemUpdated event in list

I have created a console app in C# .Net. The app is updating two fields in an item in a list. The list has an eventreceiver and when the item is updated it copy every value from all fields to another ...
2
votes
1answer
158 views

Apply two event receivers on the same SPLIST

As per my requirement, I need to apply TWO event receivers on the same SPLIST, say "myLIST1". The first event receiver is already written by my colleague.And I want to apply another set of ...
2
votes
3answers
40k views

The file is locked for shared use by domainName\user

I have a document library in a SP 2013 site. I have a document content type with a document template associated to it. Now, I have written an ItemUpdated event receiver which will update the document ...
1
vote
0answers
471 views

No item exists at … It may have been deleted or renamed by another user in an item event receiver after applying item level permissions

Am writing an event receiver for which only the assignedto person or some special SharePoint groups are getting the access to the particular Item. this is written in my itemadded and itemupdated ...
0
votes
1answer
27 views

How to apply permissions for the curentlistitem using SP D 2013 workflow in SP 2013 On-Prem

Is it possible to apply permissions to an item that's added /updated? I heard that using an eventreceiver is costly and takes more deployment time and effort. Also am doubtful about this approach ...
1
vote
2answers
115 views

How can I only perform an action once on workflow that starts when an item is changed?

I have a custom workflow that starts whenever an item is changed on a list. It sends an email when someone is added to the People and Groups field. However the email sends every time the item is ...
3
votes
2answers
76 views

Apply item level permissions for multiple document libraries

I wanna apply item level permissions for 7 document libraries with different kind of permission levels for different groups. So, in order to achieve this, should i write 7 different sharepoint ...
1
vote
0answers
67 views

Trigger itemupdated eventhandler when an item is Added in an SPList

I have written an itemupdated event receiver for a SPList in my SP 2013 / VS 2013 solution [ on-premises] . Now I want to trigger this itemupdated event when the item is created in the SPList .But ...
0
votes
0answers
102 views

issues in setting item level permissions in itemupdated - modified by -system account - check in enabled

i am using the below code to set permissions for different folders within a document library in my sp 2013 publishing site collection. the issue i am facing, is for a particular folder , say "...
0
votes
1answer
500 views

Can i get the current user whose action caused the ItemUpdated event receiver to fire

I have the following event receiver inside my sharepoint server 2013, the event recevier get fired when an item is updated and i am running it with Elevated Privileges :- public override void ...
0
votes
2answers
66 views

Creating a New User Group inside my item update Event Reciever

I am working on a SharePoint server 2013, and using the UI i can do the following:- Inside the site collection >>site settings >> site permission >>Create Group >> give it a name >> keep the owner as ...
2
votes
0answers
16 views

Can I be prompted to update related documents when something is revised

I have several instances where I have two versions of the same document (one is client facing and one in internal only). The content of the documents is identical but they are separate documents and ...
1
vote
0answers
397 views

Event receiver on item with drag and drop

I'm writing an event receiver on a document library. My issue is event itemupdating ou itemupdated are not fire when i drag and drop a document. if i log my event it only passes in itemadding and ...
3
votes
1answer
488 views

ItemUpdated event not firing when list item updated from another event receiver

I have two lists List1 and List2. I have written code to update List2 item from ItemUpdating event of List1. This should fire ItemUpdated event of List2 but it does not. Below is the code I used to ...
2
votes
1answer
35 views

Disable Event Receiver on Datasheet Editing

I have an ItemUpdated Event bound to a list and do not want it to fire when the List item is edited in Datasheet view. Is there a way to detect if the User is editing through the Datasheet?
0
votes
2answers
356 views

Redirect at the end of event itemupdated

I'd like to know if there are a way to make a redirection in an event receiver of a list itemUpdated and not updating. I need this because in my event, i create a file in a folder and of a document ...
2
votes
1answer
1k views

Manage Multiple ItemUpdating Event Receivers On List

I have a requirement to multiple Event Receivers targeting Custom List (100) that fire on the ItemUpdating method. For one of the Event Receivers the requirement is to check that there are no related ...
0
votes
2answers
2k views

ItemUpdated not changing field values

I have a document library that should replace the Name column with the value from an Employee column. Code: public override void ItemUpdated(SPItemEventProperties properties) { base....
7
votes
4answers
7k views

Event Reciever ItemAdded fired twice

I'm trying to do some treatement after creating an item but the treatement is done twice because in my code after creating the item, I'm updating it , so the event reciever get fired twice: first when ...
0
votes
1answer
159 views

Updating excel information to a list matching a custom ID column

I'm on SharePoint 2010. An excel file is uploaded to a document library.This excel file has a custom ID column(alphanumeric) and many more columns. There is a list which contains many columns along ...
3
votes
1answer
457 views

Event Receiver - Cannot access item from Document Library if the user changed the name

I have a library, that has versioning enabled. On that library is an event receiver that does stuff, on ItemUpdated. Ok, if the user uploads a document, and does not rename the document during the ...
1
vote
1answer
2k views

refresh page after event receiver item updated

I'm trying to refresh the page after the event itemupdated is fired. I've tried at the end of itemupdated without success properties.Status = SPEventReceiverStatus.CancelWithRedirectUrl; properties....
0
votes
2answers
823 views

runwithelevatedprivileges for sandbox

I'm new in sandbox and i'm developping an event receiver itemupdated and i need an alternative of runwithelevatedprivileges. I need it for using item.file.moveTo("new libraray url"); I need it ...
0
votes
2answers
845 views

How to detect when a new item version is added in an event receiver?

Is there a way to detect (in C#) if a new item version was added in either ItemAdded or ItemUpdated event? I would only like to execute some code when either new item is added, or a new version of the ...
0
votes
0answers
1k views

ItemUpdated Event Receiver firing twice

I am having problems with an Event Receiver made to target Picture Libraries (ListTemplateId="109" in Elements.xml). I have tried to follow the advice I have found online to no avail. Check out is ...
1
vote
2answers
1k views

ItemUpdated not firing when document is added to non-default document library

I have an item receiver that implements ItemUpdated() to process an item after it has been uploaded to a document library. Everything works fine if I add documents to the default "Shared Documents" ...
2
votes
1answer
235 views

Recursive call for SPListItem Update method when called from a event receiver ItemUpdated

I have fallen in a serious problem about the SPListItem Update method. When I make a event receiver to intercept SPListItem change or update with SPItemEventReceiver ItemUpdated method, the event is ...
0
votes
1answer
40 views

Can I link files on Sharepoint so that when one is changed the other is too?

For instance, the Policy department writes an SOP for client intake. They put it in the policy folder. Someone from Intake copies that file to the Client Intake folder and uses that copy as their ...
7
votes
1answer
626 views

How to know if another event / user is running on an SPListItem (Sharepoint 2010)

I have a Sharepoint 2010 farm in which is deployed my solution. This solution provides some "data mantain" of some content types. Let me explain: Suppose I add a file in a document library: when I ...
3
votes
1answer
2k views

How to update SPListItem in ItemFileMoved?

I have a document library. In ItemUpdated I move the file to a different location (based on date) and I want to add some metadata in ItemFileMoved to the file's new columns (which I added). The ...
1
vote
3answers
1k views

How to update people field?

I have following code on infopath form. All the column gets updated in the target list except for the people column. The verifiedBy is not updating the column in SP List. (In the list I have to to ...
1
vote
1answer
2k views

ItemUpdated Event, After or Before Property Title name is null

No matter what I do, before and after for title are always null. This is an item updated receiver in the meetings or event list ![public override void ItemUpdated(SPItemEventProperties properties) ...