Wrapper Class Example Using Visualforce Salesforce 5 - Apex Basic | Visualforce Basic - Salesforce Funda



User Case :- we have user case we need to display all account Information with primitive data types Boolean as isSelected variable as Checkbox, we can Select Some Account in different Datatable and then again i can select some account from  there if we click on the check box it will show the related Contact Details and Opportunity Details in the output section, and if contact is not present for the selected Accounts it will show the Message as "No Contact Available" "No Opportunity Available"  so we will use wrapper class in apex and try to get all the data to visualforce 

What is SOQL FIELDS() Functions in Salesforce - SOQL Basic | Salesforce Funda

Salesforce has introduced SOQL Fields functions. This new function lets us query all the Salesforce fields of the object, Before you would have to add various fields api names to the select to get their values

You can include any of these in the field list:

  • FIELDS(ALL) — select all the fields of an object.
  • FIELDS(CUSTOM) — select all the custom fields of an object.
  • FIELDS(STANDARD) — select all the standard fields of an object

Wrapper Class Example Using Visualforce Salesforce 4 - Apex Basic | Visualforce Basic - Salesforce Funda

 


User Case :- we have user case we need to display all account Information with primitive data types Boolean as isSelected variable as Checkbox, there if we click on the check box it will show the related Contact Details and Opportunity Details in the output section, and if contact is not present for the selected Accounts it will show the Message as "No Contact Available" "No Opportunity Available"   so we will use wrapper class in apex and try to get all the data to visualforce 

Wrapper Class Example Using Visualforce Salesforce 3 - Apex Basic | Visualforce Basic - Salesforce Funda


User Case :- we have user case we need to display all account Information with primitive data types Boolean as isSelected variable as Checkbox, there if we click on the check box it will show the related Contact Details in the output section, and if contact is not present for the selected Accounts it will show the Message as "No Contact Available"  so we will use wrapper class in apex and try to get all the data to visualforce 

Wrapper Class Example Using Visualforce Salesforce 2 - Apex Basic | Visualforce Basic - Salesforce Funda

      

User Case :- we have user case we need to display all account Information with primitive data types Boolean as isSelected variable as Checkbox, there if we click on the check box it will show the related Contact Details in the output section, so we will use wrapper class in apex and try to get all the data to visualforce