Salesforce Developer Current Activity


Querying for templates that are being used by our email product:
Abey will provide the SOQL statement. I may need to check the template
to see if it contains conditional content. If it does not contains conditional content,
then I will need to parse it, get the content of the body tag, wrap this inside a div
or a code block, and pass it onto another method which handle saving it in the
new format.
SELECT Id,Body FROM EmailTemplate

Too many SOQL queries: 101
AppointmentSchedulerControllerTest testRegistration
CSIWaitlistTestSuite test_upgradeWaitlist
Saas_AssetUtility_TC Saas_MultiOpp_TC

Creating community users automatically:

Using to create Apex class diagrams:

Too many query rows: - Salesforce Data Migration - done reading - done reading - done reading - done reading - done reading

Set Up -> Administration Setup -> Storage Usage .

Integer remainingRows = Limits.getLimitQueryRows() - Limits.getQueryRows();

DML operation on setup object is not permitted after you have updated a non-setup object (or vice versa): - Use @future or the runAs method.
Use Test.startTest() before adding/updating the setup object and Test.stopTest() after before your system.Assert tests to ensure the @future has executed before testing. - done reading - Shows some code for the runAs method.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License