- May 1, 2018 at 8:29 am #28153Rajan #18
How to query recently viewed records of a particular Salesforce sobject?
How to query recently viewed records of a particular sobjects ?May 1, 2018 at 8:31 am #28154Aman #4
You can use the below query :
[SELECT Id,Name FROM RecentlyViewed WHERE Type = ‘et4ae5__IndividualEmailResult__c’ ];
ThanksMay 1, 2018 at 9:30 am #28166PRANAV #14
You can use the below SOQL query:
SELECT Id, Name, Type, LastViewedDate
WHERE LastViewedDate !=null AND Type = ‘Account’
ORDER BY LastViewedDate DESC
Here you can use different TYPE for particular sObject.
Hope this helps you more.September 20, 2018 at 6:42 pm #35831
Please Register to reply to this topic. /