Apex

Visualforce PageMessage Samples

I can never remember what the different Visualforce page message options look like between the severity and strength so here are the options along with the code. <apex:page title="Visualforce pageMessage Samples"> <apex:form > <apex:pageMessage title="Message...

read more

Apex Tip: How to get a RecordType Id by without SOQL

Instead of using this: [Select id from RecordType where sObjectType = 'Account' and developerName ='Customer'].id Use this: Schema.SObjectType.Account.getRecordTypeInfosByName().get('Customer').getRecordTypeId() This can help avoid those pesky SOQL governor limits.

read more

Stay Updated with ChadForce