This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* The regex for a SF ID. | |
* @type {RegExp} | |
* @const | |
*/ | |
var ID_REGEX = /^[0-9a-zA-Z]{15}([0-9a-zA-Z]{3})?$/; | |
/** | |
* Array used to expand a SF ID from 15 to 18 characters. | |
* @type {Array.<String>} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public with sharing class AsyncReportController { | |
public List<SelectOption> availableReports { get; set; } | |
public Id reportId { get; set; } | |
public Id instanceId { get; set; } | |
public Boolean reportIsRunning { get; set; } | |
private transient Reports.ReportResults reportResults; | |
public AsyncReportController() { | |
availableReports = retrieveAvailableReports(); |