Loading...

Apex Variables

Null Variables and Initial Values If you declare a variable and don’t initialize it with a value, it will be null. In essence, null means the absence of a value. You can also assign null to any variable declared with a primitive type. For example, both of these statements result in a variable set to […]

Read more

Check Image File Size on Upload in Visualforce

Link

Read more

Apex Input File type validation using Java Script

Read more

Uploading attachment

Read more

Date format(‘mm/dd/yyyy’) in Apex

Read more

Force.com site vs. Site.com

Resolution Force.com Sites: Force.com sites supports both authenticated and public websites (i.e. the legacy portal products). Included in all Enterprise Edition (or above) and Developer orgs. Support for custom pages using Visualforce, JavaScript, CSS. Main target audience is for users that are developers familiar with the above languages. Can access all Force.com objects. A full […]

Read more

DML Limits

-DML governing limits: You can have only 150 DML statements with in a transaction; If you have more than 150 DML statements you will get an error “Too many DML statement : 151 To rectify this type of erros by using bulkify operations which is put similar operation on object in the list and invoke […]

Read more

Redirecting BACK to the original page

VFP:

Controller:

Read more

Difference between sets

Read more

Back Button in Visualforce page

Read more