You need to sign in to do that
Don't have an account?
uri-dev1.392024776339377E12
Trigger by "View" Event
Hi,
Is there any way of audit or listen to "view" events of a specific object and field in Salesforce?
View can be either via the application of via an API.
Thanks,
Uri
Is there any way of audit or listen to "view" events of a specific object and field in Salesforce?
View can be either via the application of via an API.
Thanks,
Uri
Can you explain a litttle more, what are you referring to events of specific objects.
Regards,
Ashish
There's no view events or trigger available, and any solution you'll find will impact performance.
You can rework you solution to fire actions instead of requesting data. Lets say you have an external software that display some sf data. Instead of doing SOQL query using enterprise wsdl you could call an apex webservice that returns your rows but also do some operation.
Same with visual force.
You can Track "$User.FirstName $User.LastName" when a page is loaded with a Onload function and STore the values with Now() Time in a List.
See the discussion in the link below,
https://developer.salesforce.com/forums/ForumsMain?id=906F00000008p03IAA
Regards,
Ashish
Any hack based on this, will have the same issue, it will only work browser based. If you query data from outside saleforce.com web ui, it wont track the "view" event.
The appexchange package related in the other post is also browser based.
There's will be no way to run code on a "get/view" event as those are not available, you need to figure out other event to bind to : browser refresh, method call on webservice...
I really appreciate your help here.
I see that there is a very limited audit capability by quering "RecentlyViewed" objects. The problem is that it provides data only for the current login user and that its at a level of a record rather than a field.
I see ezCloudAudit claims (https://appexchange.salesforce.com/listingDetail?listingId=a0N300000055aKGEAY) to provide this information. How can they do that? Do they have access to Salesforce's private API? Is there a public API that I'm missing? Do they bluff :) ?
Uri
You could also override the view page in salesforce by a visualforce page this way you would have some come running on each view, however you would still not be able to track the api calls.