On deleting an item "Name" column of recycle bin is updating with data in one of the custom column instead of title field in SP 2013 Custom list

   On deleting an item, "Name" column of recycle bin is updating with data in one of the custom column instead of title field in SP 2013 Custom list.
Thanks, Chinnu

Hi,
According to your post, my understanding is that you want to update title field in recycle bin with other field value of the item.
We can use the ItemDeleting Event Receiver to achieve it.
While item is deleting, replace title field value with other field value using ItemDeleting event receiver, then in the recycle bin, the title value will replace with other field value.
However, there is an issue while restore the item from the recycle bin, the item title would be replaced.
As an workaround, we can create a helper field in the list to store the title field value while deleting, then replace back while restoring using
ItemAdded Event Receiver.
I have made a simple code demo below to achieve this scenario, it works like a charm(the
Test2 field is the helper field, you can hide it in the list), you can refer to it.
public override void ItemDeleting(SPItemEventProperties properties)
properties.ListItem["Test2"]=properties.ListItem["Title"];
properties.ListItem["Title"]=properties.ListItem["Test1"];
properties.ListItem.Update();
base.ItemDeleting(properties);
/// <summary>
/// An item was added.
/// </summary>
public override void ItemAdded(SPItemEventProperties properties)
base.ItemAdded(properties);
properties.ListItem["Title"] = properties.ListItem["Test2"];
properties.ListItem.Update();
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support

Similar Messages

  • I updated my ipad from IOS 5 to IOS 8. All games and apps that I downloaded was deleted. What can I do to return them back, even after downloading one of the games He deleded all the steps I went through and I need to start all over  again

    I updated my ipad 2from IOS 5 to IOS 8. All games and apps that I downloaded was deleted. What can I do to return them back, even after downloading one of the games He deleded all the steps I went through and I need to start all over  again

    iCloud: Restore or set up your iOS device from iCloud
    Or from iTunes  http://www.iphonefaq.org/archives/971992

  • I am using iPhoto 11 mail and cannot add more than one recipient in the 'to' line.  When I put a comma in, the recipient's address is deleted.  If I use ' ' with more than one recipient the save grays out.  Any thoughts?

    am using iPhoto 11 mail and cannot add more than one recipient in the 'to' line.  When I put a comma in, the recipient's address is deleted.  If I use '< >' with more than one recipient the save grays out.  Any thoughts?

    I figured it out.  I needed to fix some errors in my account information.  It works fine now.

  • Deleted items not going to recycle bin.

    Whenever I delete something from my iTunes library, I get the popup asking if I want to move it to the recycle bin or leave the file on the computer, and I always click on the button to move it to the recycle bin.
    And it never does. It just leaves everything in the hard drive.
    Since I watch a daily vlog as a video podcast, this can add up to some serious hard drive space wasted in short order.
    I've drilled down to the folder for that in my iTunes folder, and sure enough there was the last episode I had just removed.
    It'll be a major pain to sort through and delete the items I've removed, but not the ones I'm saving, and am wondering if there is a way to fix iTunes to work properly, like it did on my old Mac, rather than having to navigate my way through the iTunes folder every time I don't want to save something I've just played the one time I downloaded it for.

    Hello klep:
    I have seen this before but, of course, I do not remember the solution.
    Try a couple of things:
    Run permission repair.
    Restart your computer (if you have not already done so).
    Trash the finder preference file (com.apple.finder.plist) and restart.
    Barry

  • Are deleted items held in a 'recycle bin'?

    After deleting emails, phone history, or text messages from the Tour - are the deleted messages held anywhere else on the device (i.e. recycle bin)?

    Nope. Deleted it is deleted.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Name column or setting title coumn to match name column

    I have an asset list that is full of pictures. Users can view the list with Windows Explorer and put a large number of pictures in the directory.
    The pictures are displayed just fine in the list but they do no populate the title field. They populate the name field based on the file name.
    I have another list that I need to use a lookup column and lookup the picture. Unfortunately I am not able to lookup by the name column. I need to be able to add the pictures to the site and then be able to look them up in another list.
    It is critical that I am able to upload the pictures via Windows Explorer rather than IE.
    Any thoughts on how I can have a lookup column that will look for a value that is not manually entered by a user?
    Joshua Lance

    Hi Joshua, the best way I can think of is to create a SP Designer workflow to copy the file name to another column. Then use the lookup on that column.
    cameron rautmann

  • Lightroom 5 - Cannot Delete Photos - Will not send to Recycle Bin

    Hi everyone,
    Probably a silly question I cannot delete rejected photos to the recycle bin?
    Any suggestions?
    Windows 8
    LR file on a DROBO.
    Help?
    Derek

    I'm having the same issue after upgrading to 5.5 earlier tonight.

  • ITunes will not delete file (after confirming & sending to recycle bin)

    Files deleted within iTunes do not disappear from my hard drive.
    I answer "Are you sure you want to remove the selected podcast from your iTunes library" and select the "Remove" button.
    I then answer "Do you want to move the selected podcasts to the Recycle Bin, or keep them in the iTunes Music folder?" with "Move to Recycle Bin".
    Music files (mp3) occasionally delete properly but video podcasts (Geek Brief to be specific) will not delete.
    Music is stored in J:\My Music\iTunes\iTunes Music which is slightly non-standard but seems to fit the rule of being "inside" the iTunes folder.
    Any ideas? [I've seen similar but not quite the same posts where people are trying to delete files outside the iTunes folders......]

    I too have this same problem with deleting video podcasts. The problem doesn't happen all the time, but probably a majority of the time. It is quite annoying as many of the video podcasts I subscribe to are in HD format so it is rather frustrating to have to manually delete them from the iTunes folder after deleting them thru iTunes, but since they take up gigs of space it is necessary to go in and clean them out every once in a while.

  • Files deleted permanently, not showing up in Recycle Bin

    Good day. We have quite an interesting problem at my workplace. Few computers started showing this symptoms, files are not deleted to recycle bin, but instead deleted permanently. I'll try to detail the problem as much as possible and include all the solutions
    I've (and my colleagues) tried so far:
    Recycle bin properties are not the problem. We have a Domain structure and there is a policy that user's desktop files are stored on the D disk instead of System C. When I try to delete a file from the user's folder (Start Menu > User), files is deleted
    appropriately, to the recycle bin, from any other location it's deleted permanently. When I log in with my username, everything works fine (probably because our (IT Support) policy does not store desktop files on D drive). I've tried the "RD /S
    /Q C:\$Recycle.bin" command on both C and D drives and it did not help. When a file is deleted from user's folder, for some reason it's stored on both C and D drive recycle bin folders. There
    is no Malware/Malicious Software/Viruses on these computers.
    This is the most information I can provide for now. If any further details are needed, please specify them.
    Thank you in advance

    No, files/folders are not huge at all.
    $Recycle.Bin does indeed exist on D drive, but running RD
    /S /Q C:\$Recycle.bin command
    on D drive deletes $Recycle.Bin folder but it does not come back like on C drive. I really
    doubt malware is the cause, I scanned few PC-s with Malware Bytes and some other programs too and they did not return any results.
    Our administrators found out that deleting the partition D and then creating it solves the problem, but that'ss impossible to do on all the computers, because there
    is quite a lot of them to say the least.  Could there be any workaround other than deleting partition?

  • To delete a song from itunes i right click on the song, delete, click on move file to recycle bin, clear the recycle bin but the music is still in my itunes music folder? how do i delete it from itunes and the folder?

    Because when i back my computer up all of the music i have tried to delete hasnt been deleted properly so everything is backed up HELP!!!! Please

    Short answer:
    Click Hide Song(s), it is what you wanted to do...
    Long answer:
    iTunes in the Cloud is a feature of your iTunes store account that allows you to redownload or stream your past purchases. When you delete a purchased track that is downloaded to your computer (like the first one shown here) you are asked if you also want to hide the song from iCloud. This would remove it from the computer and also stop it showing up with the iCloud symbol as the other tracks from that album (which are not downloaded) do.
    If a track shows with the cloud symbol you can play (stream) it by double-clicking the title, or click the cloud symbol to download a local copy to your library. If you try to delete one of these tracks you get a slightly different message confirming that you want to hide the track. Clicking hide will remove the listing from the library and any other device that shows your past purchases.
    Should you want to retrieve any item hidden in this way at a later date use Store > View My Account > iTunes in the Cloud > Hidden Purchases > Manage.
    To hide all your previous purchases that are not downloaded to your computer use Edit > Preferences > Store and untick Show iTunes in the Cloud purchases.
    tt2

  • Will deleting my songs, then moving them to the recycle bin and leaving them to be downloaded from the cloud get me the version from itunes match?

    I've read this somewhere before but the things is, I didn't know this when I first got itunes match and didn't delete the songs and re-download them from the cloud. I just thought it was done so I synced all of my devices. If I go ahead and delete them all now and re-download will all of my songs be the match high quality versions now? If so, do I delete all my music from my devices as well and re-download or will it automatically change the songs on there to the high quality by simply synching them? ..Or did I screw everything up by not downloading and synching from the start?
    Please help, thanks!

    Hi,
    Your main computer will have your original tracks. All your synced devices will have the matched/uploaded versions.
    To get the benefit of the upgraded tracks on your main library, you need to delete the original and then download the matched version. You don't need to do anything with uploaded songs.
    Ps make sure you have a backup of your original songs.
    Jim

  • HT204053 How do I delete an old apple ID on my I phone and replace with my new one. The old one keeps giving me updates that I can't access and want it deleted

    I have my ex apple id that we shared on my I phone and created new account. How can I delete his apple id on my I phone since I keep getting update notifications for updates of apps installed on my phone and I can't access and want the updates to stop. Please help!!! Thank u

    Welcome to the Apple Community.
    In order to change your Apple ID or password for your iCloud account on your iOS device, you need to delete the account from your iOS device first, then add it back using your updated details. (Settings > iCloud, scroll down and hit "Delete Account")

  • How can I delete an authorized computer from my account, but I want to still have one of the 2 I have

    I made use of some computer to managed my apple account but later I sold this computer; then I bought another computer and I autorized this one but I didn't know I must delete the computer I made use before. Now I want to delete it but in the apple account page only let me to "desautorizar todo" I supose it means every computer,so how can I delete just one of them?

    You can only delete individual computers if you have access to them. When you five authorizations in total you can choose to deauthorize all, then reauthorize the ones you want to use. You then can't repeat that process for a year. In short there is nothing you can do until you have five authorisations. Change your password just in case you left yourself signed in on the old one with no confirmation for purchases.
    tt2

  • I have an external address file. I want to type in a last name and have it populate my pdf with data

    I have an external contact address file. I want to create a dynamic pdf form and type in the last name and have it populate the form with first name, address, phone etc. I have Acrobat 9 Pro
    thanks

    The external file will be updated weekly. The data can be put in any format that will work. What format is best? The form is an Acrobat form. Minnesota state forms downloaded from their website and we use the Acrobat 9 forms wizard to render them fill-able. What is LiveCycle Designer? There isn't much more I can add. Is it possible or not? The Adobe Indian tech guy said I needed java scripts.

  • Have file name with date working but appending the time to file name can't get a result

    DECLARE @dt AS VARCHAR(26)
    SELECT @dt = REPLACE(CONVERT(VARCHAR(26),getDate(),110),'-','-'
    Have this appended to a filename like: log_01-15-2015.  Don't know what to add to SQL code to get the get the time and append time in hours, min, sec. like:  log_01-15-2015_10:01:33  
    DECLARE @dt AS VARCHAR(50)
    SELECT @dt = REPLACE(CONVERT(VARCHAR,CURRENT_TIMESTAMP,110),'-','-') +'_'+ CONVERT(VARCHAR,CURRENT_TIMESTAMP,108)
    EXEC master.dbo.sp_configure 'show advanced options',1
    RECONFIGURE WITH OVERRIDE
    EXEC master.dbo.sp_configure 'xp_cmdshell',1
    RECONFIGURE WITH OVERRIDE
    SET @bcpCommand = 'bcp "SELECT * FROM ##Temp ORDER BY barcode" queryout "C:\TEMP\Log\ContainerHistory_Log_' + @dt +'" -c -T'
    EXEC master..xp_cmdshell @bcpCommand
    I am trying to append to the file created with the date a time stamp but when appending the time part for the filename results aren't creating the file.  If it's just doing the date part then it is working. Any idea what is wrong? 

    Since you added ":" to the file name, the file name is not valid. You can change ":" to "-".
    DECLARE @dt AS VARCHAR(50)
    SELECT @dt = CONVERT(VARCHAR,CURRENT_TIMESTAMP,110) +'_'+ REPLACE(CONVERT(VARCHAR,CURRENT_TIMESTAMP,108), ':', '-')
    SELECT @dt
    A Fan of SSIS, SSRS and SSAS

Maybe you are looking for

  • Get file list from directory(t.code: AL11).

    Hi Frnds, i need to get the list of file for particular directory from t.code AL11, is there any Function Module to display the list of File from  the directory in executable program, i have directory like '/home/im3/hrintf/processed/..... ' and now

  • Web Service Client - SOAP/jms: Specific response queue (not default queue)?

    Hi @ll I try to define a specific jms response queue for a web service client that communicates SOAP/jms, running on a WLS 9.2. The web service itself runs also on a WLS 9.2 where also the request and response queues are located. By default the clien

  • Consuming Cloud Web Services (SFDC) from ABAP

    We are implementing a project where we integrate with SalesForce.Com (SFDC). We received the Salesforce.com Enterprise WSDL API and created an ABAP proxy based on it. http://www.salesforce.com/us/developer/docs/api/index.htm However we have 2 issues

  • Does SIRI work on the ipad?

    Does SIRI work on the ipad?

  • Can't open 192.168.1.1 during setup

    I am replacing a Netgear wireless router (WGR614v10) with a Cisco WRVS4400N.  When I go to set up the device on my Mac, 192.168.1.1 will not open in a browser.  Do I have to do the setup on a PC?  Or, am I doing something else wrong?