Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Apex Controller for the Case Render App
public class CasesController {
public static List<Case> GetRecentCases()
List<Case> cases=[select id, CaseNumber, Subject, CreatedDate, Status, Priority
from Case
order by CreatedDate desc
limit 5];
return cases;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment