Category Archives: Visualforce Pages

Fetch all the records from Custom Object And Hard Delete the records using Batch Apex

Hi, here we have shown, how to Fetch all the records from Custom Object And Hard Delete the records(Hard Delete means delete from Recycle bin Also) using Batch Apex. Apex Controller Output For this output, open debug anonymous window and write below code Building _Delete bd = new Building _Delete (); Database.executeBatch(bd); Share this…Facebookemail

Share this...
Share on Facebook
Facebook
Email this to someone
email

All Contact names update using Batch Apex

Hi guys, here we are going to explain how to update all contact last name records with lastname +’salesforcecodes’. Apex To check the output, call the apex class in debug Anonymous window. on the top ==> debug || debug Anonymous window call the class as shown in below image. Share this…Facebookemail

Share this...
Share on Facebook
Facebook
Email this to someone
email

Auto populate related lookup fields when one lookup field is selected

Hi,here we implemented lookup binding scenario. Project object having three lookup objects (Class,Student,Teacher). Individually, Class object having Student lookup and Student object having Teacher lookup. Here in Project object we have 3 lookups, if Class lookup field is selected then auto populate Student and Teacher lookup fields. In Project object, if Student lookup field is… Read More »

Share this...
Share on Facebook
Facebook
Email this to someone
email

Display Installed packages version number and Publisher details

Hi, here we are going to learn about how to display Installed Packages details in visualforce page Apex Class: VisualForce Page: Output: Note: Click the “Show Installed Packages” button then popup window will show installed packages details. Share this…Facebookemail

Share this...
Share on Facebook
Facebook
Email this to someone
email