function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Pratap R ReddyPratap R Reddy 

How to develop independent application in .NET to track the objects created?

Hi there,
Problem statement: We need to perform the test on a production environment. For this we create objects (like leads, campaigns, opportunities, etc) and at the end of the day we need to consolidate the list of data that we created on production environment for sending it to sys admin for deletion. We find this task cumbersome and need to note down the url of the objects created.

Solution: Track the objects created between a start time and end time. I want to be able to track the id, name, ip address of system on which it is created, etc.

I need some guidelines on developing a independent application in .NET with C# that will track the objects (like leads, campaigns, opportunities, etc) created between specific time frame.

Thanks in advance,
Pratap
Daniel BallingerDaniel Ballinger
The SOAP API provides a getUpdated() (https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_calls_getupdated.htm) method that will find you all the records created or updated within a DateTime range. You would need to make one call per sObjectType that you wanted to monitor. You will need to do an additional retrieve to get the name of each record based on the Id in the GetUpdatedResult.

You can figure out the URL for each record based on the ID.
 
Pratap R ReddyPratap R Reddy
Thanks Daniel. This is good for kickstart.