As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [item-added]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
42 views

SharePoint 2019 ItemAdded Event Receiver fires multiple times

I have an ItemAdded Event Receiver attached to a SharePoint 2019 List. When I insert an item in the List the ItemAdded fires once as expected. But when I use workflow to insert an item to the List ...
Bassam's user avatar
  • 33
0 votes
1 answer
53 views

Email Alerts with dynamic subject on add and edit items to the list

I want to send email alert with dynamic subject When a new item is added ,the subject of the email alert must be 'New item added'. When i edit that item,the subject of the email should be 'Item ...
Teena John's user avatar
0 votes
1 answer
185 views

How to update list item column value in ItemAdded event receiver and get the updated value in the same event?

SP2016 event receiver: I have a requirement that on the itemAdded event I have to get the list item id and manipulate it and then keep it in another column. So, on the itemAdded event, I am getting ...
Rishi Jagati's user avatar
0 votes
1 answer
3k views

Sharepoint Event Receiver Not Firing on ItemAdded

I have set up a local development environment on sharepoint for the sake of testing event recievers. I can build and deploy the following code. However when I deploy the following code it does not ...
dipl0's user avatar
  • 103
0 votes
1 answer
81 views

Save Conflict while adding a Content Type to Document Library

I am trying to add a new Content Type to a document library (Full trust solution). It works fine just adding it to an existing site, but when I try to create a Sub-Site I get a "Save Conflict" and the ...
Bismarck's user avatar
  • 1,021
0 votes
1 answer
1k views

Online Sharepoint - REST issue - Microsoft.SharePoint.SPException - Error 2130575251

I am trying to save file to Sharepoint folder. This is my code: public void saveFileToFolder(Folder folder, File file) { try { String token = getSPOIDCRL(folder.getSource()); ...
mikipero's user avatar
  • 185
5 votes
2 answers
721 views

How to stop Update event from firing when adding a document to a library

When adding a new document, both Add and Update events trigger my event receivers. I have an Add and an Update event receiver. Is there a way to avoid the Update event?
kumar's user avatar
  • 423
6 votes
1 answer
276 views

ItemAdded event in Event Receiver

I have created an Event Receiver (Farm Solution) in SharePoint 2016 that triggers when an item is added in Task list. I have exclusively specified the ListTemplateId="107" in Elements.xml. This event ...
Zakir HC's user avatar
  • 3,650
0 votes
0 answers
64 views

change the permissions of spgroup from contributenodelete to read and retain other groups permissions as its

I have 2 groups namely NPD ADMIN and NPD SPUSERS AT THE DOC.LIb level, I have permisionss set as `NPD ADMIN` : `CONTRIBUTE` `NPD SPUSERS` : `CONTRIBUTENODELETE` I want to remove the existing ...
userAZLogicApps's user avatar
0 votes
1 answer
58 views

Is it possible to automatically create a list item when a file is added in a folder on a computer?

I use a sharepoint site to deal with escalation tickets. I want to attach files to those tickets. BUT I cannot use the magical "attach files" parameters because files would be stored on sharepoint and ...
elisaprio's user avatar
1 vote
1 answer
382 views

No item exists at http://xxxx/Common/Forms/EditForm.aspx It may have been deleted or renamed by another user

When I am trying to apply an item level permissions for a uploaded document in my document library am getting the error: No item exists at http://xxxx/Common/Forms/EditForm.aspx?Mode=Upload&...
userAZLogicApps's user avatar
0 votes
1 answer
40 views

Delete Custom Permissions is NOT working -getting error -site is not shared with you

i have created a event receiver on a doc lib with itemadded, itemupdated event receiver that provides permissions on the item for multiple groups and multiple users. for this i have created a ...
userAZLogicApps's user avatar
1 vote
0 answers
497 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 ...
userAZLogicApps's user avatar
1 vote
1 answer
266 views

Add new itemeventreceiver methods in visual studio on top of existing event receiver

I have developed an item event receiver with itemadded and itemupdated event handler using VS 2013 against SP 2013 ON-PREM soln. Now as per my updated requirements, I need to add a new itemdeleted/...
userAZLogicApps's user avatar
4 votes
2 answers
272 views

Automatically create HTML pages on adding an item in SP 2013 list

So I am very new to coding. Please bear with me. We have a SharePoint list wherein we store employee details. The task is to automatically create a new page with predefined UI -every time a new ...
Affu's user avatar
  • 51
3 votes
2 answers
91 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 ...
userAZLogicApps's user avatar
1 vote
1 answer
43 views

Hide Doc.Lib column from entering values while uploading a document

How can I hide a form from Displaying a custom field that is created in my document library ? Its a document library and I am updating this column through itemadded() eventreceiver. My issue is ...
userAZLogicApps's user avatar
0 votes
1 answer
32 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 ...
userAZLogicApps's user avatar
3 votes
2 answers
135 views

Remove All RoleAssignemnts Except Current Loggedin User

I have written code for removing all roleassignments for a splistitem using the itemadded() and itemupdated() eventhandler . But my requirement is how can I prevent the removal of currentloggedin user ...
userAZLogicApps's user avatar
1 vote
2 answers
233 views

Trigger a workflow when an item is added and apply Permissions using ItemEvent receiver simultaneously

Scenario:As per my requirement I need to create a projectrequest form with NEW/Edit/Display. when I click on the add new item ,the new custom input form which is created using the SP DESIGNER 2013 - ...
userAZLogicApps's user avatar
1 vote
0 answers
118 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 ...
userAZLogicApps's user avatar
0 votes
2 answers
56 views

Item event handler for both SPLists and SPDocumentLibraries in one single VS 2013 solution in my SP 2013 ON-PREMISES

Is it possible to work on multiple list item event receivers and multiple document libraries itemadded/itemupdated event handlers in a single WSP/single VS 2013 solution? My requirement is to work ...
userAZLogicApps's user avatar
3 votes
2 answers
499 views

Differences between SPItemEventProperties.SiteId & SPItemEventProperties.Web.Site.ID

I am working on an Event Receiver inside my sharepoint 2013. the event receiver will get fired when an item is Added and it is scoped at the Web level. but i am not sure if there are any differences ...
John John's user avatar
3 votes
1 answer
427 views

After adding item redirect to the listview page

I have created a page in SharePoint 2013. This has a web-part which shows a list view of a custom-list. From this page when I add an item it redirects to the default list-view page. I want it to ...
Tarek Salah uddin Mahmud's user avatar
0 votes
1 answer
112 views

Add items to Sharepoint list from listview programmatically

I have a listview binded from a sql DB table with column1, column2, column3, I want to copy all the listview items in a sharepoint 2010 list column1, column2, column3 programmatically PS : ...
BKChedlia's user avatar
  • 303
2 votes
0 answers
288 views

Content length is 0 for HttpPostedFile object in Itemadding event

I have a item adding event attached to a document library and as per the framework you can't get the SPFile object in ItemAdding in an event receiver. So I'm using HttpPostedFile object to get the ...
ThatThatGuy's user avatar
0 votes
1 answer
423 views

"Add New Item" Link on Page

My customer would like to move the "Add New Item" to the top of a list. How can I accomplish this without adding significant code to the site?
Lena Davie's user avatar
0 votes
0 answers
430 views

Unable to update/access the field ItemAdded EventReceiver

am using itemadded event receiver to updatea field when end user uplaods a document in the document library. i have associated content types as well with the doc.lib.Now when i am trying to access ...
userAZLogicApps's user avatar