.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
MarieAdela
Imran Ghani
Post New Web Links

How to get reference to the ListItems that were deleted when a List has been deleted using SPChange

Posted By:      Posted Date: October 27, 2010    Points: 0   Category :SharePoint
 

Hi All,

Can anyone shed some light on how to get reference to the ListItems that were deleted when a List has been deleted using SPChange class

I am calling GetChanges on every site collection.

When a List has been deleted, GetChanges is logging only one event saying that the List has been deleted. But what is expected is, it should also log the delete events for the List Items that were inside that deleted List.

Can someone please help me with this - how to do it using object model

I wonder how Microsoft SharePoint incremental crawl works for deletes. Does anyone know how it works in case of deletes?

 

Thanks

Carol




View Complete Post


More Related Resource Links

How to get reference to the ListItems that were deleted when a List has been deleted using SharePoin

  

Hi All,

Can anyone shed some light on how to get reference to the ListItems that were deleted when a List has been deleted using SPChange class

I am calling GetChanges on every site collection.

When a List has been deleted, GetChanges is logging only one event saying that the List has been deleted. But what is expected is, it should also log the delete events for the List Items that were inside that deleted List.

Can someone please help me with this - how to do it using object model

I wonder how Microsoft SharePoint incremental crawl works for deletes. Does anyone know how it works in case of deletes?

 

Thanks

Carol


How to Set a list item's createdby or modifiedby field as a User(deleted from AD)

  

Hi,

I have to migrate data from SQL DB to SP list. But its old data and some users who created/modified the record has been deleted from the AD. Now I need to set the CreatedBy / ModifiedBy Field of the item accordingly. How to achieve this?

And when I tried to modify the "Editor" and "Author" field through Object Model, it works. But its not working through Webservice. What is the reason behind this?

Please help me find an optimal solution for this...

 

Thanks and Regards,

/* John JB */


Remove Deleted Template from "New Site" template list

  

A site template was deleted from the solutions gallery and deleted out of the recycling bin before it was deactivated.

How can I deactivate it now so that it doesn't show up as a template to choose when creating a new site?


Task list item(s) not deleting when List Item Deleted

  

Sharepoint 2007 SP2
I am the Site Collection Admin and Owner of the site

I have a Infopath forms library that uses a workflow associated with a task list. When I delete the infopath form, due to rejection, the Task list items do not delete. I have to delete them manually. I know this is not the way Sharepoint works. Is this a Microsoft call support issue?

This is same issue is also happening on regular custom list associated with a task list.


chrisdoran

Incremental Content Deployment is not removing the deleted list items from target site

  

Hi,

I am trying to do an incremental content deployment. The incremental content deployment is not removing the deleted items from target site. I checked the export log. But I did not anything there. 

Please give me some pointers. Also in case of deletion how incremental content push works. I mean, one user deletes an item and now it is inside his/her recycle bin, now how incremental content deployment put this in export log.

Thanks!

Prithwijit 


JQGrid Loading deleted values

  

Hi,

This is quite strange. here is the issue:

Some Info:

1. I'm using a multi-select jqgrid.

2. I have my own delete button to delete multiple orders

The problem:

When i press the delete button on the pager of my jqgrid, the records are deleted from the database but JqGrid shows some records (4-5). On refreshing the grid, correct numbers of records are shown.


Here is the code:


function delorder() {
        var amg = $("#horder").getGridParam('selarrrow');
        var cont = amg.length;
        if (amg.length > 0) {

ASP.Net account deleted. How to create it again?

  

 Hi I have created an intranet application using ASP.Net/IIS.

I normally need to web share the folder and allow full permission to ASP.Net user account.

However, I carelessly deleted this account. How to create it again ?

Pls help.... thanks.

 


Can not perform this operation.The file is no longer checked out or has been deleted?

  
In my sharepoint designer 2007, when I try to check in a file, it give me the following errors:

Can not perform this operation.The file is no longer checked out or has been deleted.

Please advise me how to fix this problem?

Thanks.

javascript automatically deleted

  

Hi,

I m starting to work with Sharepoint 2010 but i have a problem.

I m trying to create a custom home page with animations.

For the moment i m just trying to change my image on my link using javascript (onmouseover="document.getElementById('MD').src='../)

But i don t understand why Sharepoint delete my function when i m saving my page.

What is the way to do it, and why SP2010 doesn't save my page (I had not this problem with SP2007)?

Thanks

Nic.


Deleted All the user by mistake

  

Hi,

I deleted all the user from the Access list including myself and not able to login....How do i recover those user?

Please answer as quickly as possible.

Thanks

Venku


Sharepoint Site Web Config elements Gets Deleted automatically

  

see i used to have a security filter settings in web config
security><requestFiltering><requestLimits maxAllowedContentLength="104857600"/></requestFiltering></security>
 but it gets deleted automatically after  i dont know why 
we tried to install something in our server yesterday it didn't worked and reverted it back to yesterdays stage( But i had updated the config files 3 weeks ago) 
but today i check the config files  these elements are  not there.

My system is 64 bit windows server 2008 with IIS 7 and MOSS 2007 SP2


How to Recover accedently Deleted data without restoreing the backup ??

  
Hi I want to restore data which has been deleted accedently by user without restoring backup of T-Log.  

The multi-part identifier "deleted.DataEncryptionKeyID" could not be bound : trigger

  
Hello there, I created a trigger and I am trying to only do stuff if my inserted.column_name1 is different from my deleted.column_name1. Here is my code : alter trigger EncryptionKeyUpdate on [BackupJobDefinition] after update AS if deleted.DataEncryptionKeyID != inserted.DataEncryptionKeyID begin     INSERT BackupJobDefinitionLifeTime         select             'Old',             GETDATE(),             system_user,             JobDefinitionID,             DataEncryptionKeyID,             1        from deleted     INSERT BackupJobDefinitionLifeTime         select             'New',             GETDATE(),             system_user,             JobDefinitionID,             DataEncryptionKeyID,             1    

User keeps getting deleted from MOSS site

  
Hello All, There is one user with contribute rights who keeps getting deleted from a team sub site that is on MOSS 2007. She has weekly reports that she works on and i was told that she doesnt really get on to the site very often except once or twice a week to update the reports. There is only one business owner of the site apart from me and who can modify permissions. So i cannot think of anybody else who has access to mess with user permissions. Has anybody had this issue before ?

Deleted row need to recver

  
hi in sql server 2005, i have deleted row by mistake and now want to roolback them can one there to help me, i wrote a query is "delete tblmetric" nd pressed F5 now wanna to recover the rows

Cookie is not deleted if another browser remained opened

  
Cookie is not deleted if another browser remained opened even the current one is closed. I also include the code to get the cookie expired . But it only works properly when user closes all browsers.  How can I resolve it ? Tks.

The object cannot be deleted because it was not found in the ObjectStateManager error ...

  
I'm trying to delete records and getting an error:   public static void Delete(int ID) { using (OLTPRewardsEntities context = new OLTPRewardsEntities()) { var productToDelete = from r in context.rewards_product where r.referral_id == ID select r; if (productToDelete != null) { context.DeleteObject(productToDelete) context.SaveChanges(); } } }  
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend