Tag: Crusade

[Salesforce] The Sobject Crusade: ApexTestQueueItem

Source: ApexTestQueueItem The ApexTestQueueItem object gives you access to the underlying test item for a given test job for a given class. If you don’t know what is a test class refer to this article to get started: a test class is a class used to (guess what?) test a set of apex classes / […]

[Salesforce] The Sobject Crusade: ApexTestResult

Source: ApexTestResult After you execute a test class (ApexTestQueueItem), you’ll get the test results of a given test method execution. To query this information use the ApexTestResult object. The object conveys the following fields: ApexClassId: the test class ApexLogId: the ApexLog object (if log is enabled) AsyncApexJobId: the main aync job (this is the same […]

[Salesforce] The Sobject Crusade: ApexTestSuite

Source: ApexTestSuite String ’16 comes with a handy feature regarding test execution, the Test Suites. They are a collection of tests ment to be run together organized in a single suite. To access the test suite open your Developer Console and click Test > New Suite and enter the Suite name: Then select all test […]

[Salesforce] The Sobject Crusade: ApexPage

Source: ApexPage The ApexComponent, as you would expect, is the record for the Visual Force Component. Note that, even if the describe states that the ApexPage is creatable and updatable, an exception is thrown if you try to insert/update via API a class: use the tooling API or metadata API instead. Among the fields, you […]

[Salesforce] The Sobject Crusade: ApexLog

Source: ApexLog The ApexLog gives access to the Debug Log. To enable log monitoring for a user, go to Setup > Logs > Debug Logs and click the New button to add an user. These rows can be queried: select id, StartTime, Application, DurationMilliseconds, Location, LogLength, LogUser.Name, Operation, Status from apexlog order by StartTime DESC […]

[Salesforce] The Sobject Crusade: ApexComponent

Source: ApexComponent The ApexComponent, as you would expect, is the record for the Visual Force Component. Note that, even if the describe states that the ApexComponent is creatable and updatable, an exception is thrown if you try to insert/update via API a class: use the tooling API or metadata API instead. Among the fields, you […]

[Salesforce] The Sobject Crusade: ApexClass

Source: ApexClass The ApexClass is the most beloved object for Salesforce Developers. It identifies a specific Apex Class, so you can query for Classes runtime. Note that, even if the describe states that the ApexClass is creatable and updatable, an exception is thrown if you try to insert/update via API a class: use the tooling […]

[Salesforce] The Sobject Crusade: Announcement

Source: Announcement This object represents a Chatter Group Announcement. To create a new announcement, go to the Chatter tab, select (or create) a group: Click on More > Announcement and select the body of the announcement and an expiration date: A section will compare on the Group’s sidebar: The Announcement object is a detail of […]

[Salesforce] The Sobject Crusade: AllowedEmailDomain

Back to the Sobject Crusade list. Source: AllowedEmailDomain To enable this object you need to contact Salesforce.com support: I had no way to enable it quickly so I’m just gonna post what this feature means. The AllowedEmailDomain object is used to store the allowed email domains for your users. To configure it go to Setup […]

[Salesforce] The Sobject Crusade: AgentWork

Back to the Sobject Crusade list. Source: AgentWork This object represents work item assignment that has been routed to an Agent: this is basically a new type of queue management introduced with Summer 15 called Omni-Channel. Omni-Channel is a comprehensive customer service solution that lets your call center route any type of incoming work item, […]