Salesforce interview question which you will face almost in every interview


I am not posting answers here as I want you to search them and try to figure them out. Then also if you are not able to find answer of any of the question then feel free to message me. I will be more then happy to help.  Also if there is something wrong in post or some question you think are good which I missed then also update me I will surely include that.



1. How to Display 15 Digit ID to 18 Digit ID in Sales force

2. How to Display ID of field on standard Page in Salesforce



3. How to get parent object id using formula



4. How can you create Web Service in Salesforce and access other SOAP or REST Service



5. Write a trigger to insert filed in object and its clone simultaneously



6. Write a trigger to insert in parent object and same value got inserted in child object



7. How to display text box on radio button change



8. How to partially update page in how many ways we can do that



9. How can refresh a Section using button click event in Salesforce



10.                  What is Difference between Action, Action Function and Action Support



11.                  What is difference between before update and After Update trigger



12.                  How to select all Account Name starting with capital A in SOQL



13.                  How can I create a Parent with N number of child Dynamically in Salesforce



14.                  What is difference between Master Detail and Look up relation



15.                  How can you test a private method



16.                  How to insert a value in child object when I insert value in parent without use of apex code



17.                  What is metadata and how to deploy it



18.                  How to insert in Bulk using Bulk API



19.                  How many actions are there in Workflow



20.                  What are Trigger context variable



21.                  How to give access to different users with different permission such as one can edit the record and other can create the record.



22.                  How can you make a method run asynchronously



23.                  How can you restrict a profile to send emails



24.                  What are governor limits, how many record can you fetch in a single query, how many records can you display in grid max, how many queries can you run simultaneously



25.                  What is difference between standard controller and standard set controller.



26.                  How to make entire page read only when status is updated to closed



27.                  How to pass the values from one page to other page in visual force other then query string



28.                  When will you use flow and when will you use process builder what are main difference between them.



29.                  What is difference between after trigger and before trigger, what is the scenario when will you use undelete



30.                  Is it possible to use after update trigger on a object after it gets updated