Posts

Showing posts with the label Dev 501

Advanced Developer Certification, DEV 501 Quick Points Part-II

The apex array is dynamic, but java array is static If field history is enabled for an object the data which is getting stored in field history will be anyType. Enum data type methods: ordinal():- returns the position of item in the list Name():- returns the name of the enum item as a string values():- static method that returns the list of values SaveResult object has 3 methods . Id getId() List<Database.Error> getErrors() Boolean isSuccess() If the DML operation contains only one record we can use saveResult instead of list<SaveResult> External field contains externalid attribute. Execution of setsavePoint(), rollback() counts against the total number of DML statements. You cannot add isdeleted flag into page layout. Trigger by definition will not receive more than 200 records in trigger.new Each DML statement can only operate on one type of SObject at a time. Merging limited to 3 records at a time and its limited to leads, accounts, contacts. If there are ...

Advanced Developer Certification, DEV 501 Quick Points Part-I

DEV 501 Quick Notes #Referred from another blog. Quick notes to take before Advanced Developer certification exam: Would be useful for all developers.   1.      ReadOnly Annotation prevents you from performing the following operations within the request: ·         DML operation,  ·         system.schedule method, ·         calls to future method, ·         sending emails 2.      To increase other Visualforce-specific limits, such as the size of a collection that can be used by an iteration component like <apex:pageBlockTable>, you can set the readonly attribute on the <apex:page> tag to true . 3.   C lass defined with @isTest should not be interface or enums. 4.      future annotation: o    Method with future annotation ...

DEV 501 Notes:

DEV 501 Quick Notes #Referred from another blog. Quick notes to take before Advanced Developer certification exam: Would be useful for all developers. ReadOnly Annotation prevents you from performing the following operations within the request: DML operation, system.schedule method,calls to future method,sending emails To increase other Visualforce-specific limits, such as the size of a collection that can be used by an iteration component like <apex:pageBlockTable>, you can set the readonly attribute on the <apex:page> tag to true. class defined with @isTest should not be interface or enums. future annotation: Method with future annotation cannot be used in getter,setter,constructor methods Future annotated methods must be defined as static and can return only void return type. Map Key can hold null value. Methods with the RemoteAction annotation must be static and either global or public. Static methods and variables can only be declared i...