{"id":28,"date":"2010-05-06T13:53:49","date_gmt":"2010-05-06T08:23:49","guid":{"rendered":"http:\/\/JitendraZaa.com\/blog\/?p=28"},"modified":"2015-02-09T01:01:50","modified_gmt":"2015-02-09T01:01:50","slug":"salesforce-interview-questions","status":"publish","type":"post","link":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/salesforce-interview-questions\/","title":{"rendered":"Salesforce Interview Questions &#8211; Part 1"},"content":{"rendered":"<div class=\"intrinsic-container\"><iframe loading=\"lazy\" src=\"https:\/\/jitendrazaa.com\/blog\/SFDCInterviewList.php?num=1\" width=\"300\" height=\"150\" allowfullscreen=\"allowfullscreen\"> <\/iframe><\/div>\n<p><strong>1. What is Apex <\/strong>Ans: It is the in-house technology of salesforce.com which is similar to Java programming with object oriented concepts and to write our own custom logic.<\/p>\n<hr \/>\n<p><strong>2. What is S-Control ?<\/strong><br \/>\nAns: S-Controls are the predominant salesforce.com widgets which are completely based on Javascript. These are hosted by salesforce but executed at client side. S-Controls are superseded by Visualforce now.<\/p>\n<hr \/>\n<p><strong>3. What is a Visualforce Page ?<\/strong><br \/>\nAns: Visualforce is the new markup language from salesforce, by using which, We can render the standard styles of salesforce. We can still use HTML here in Visualforce. Each visualforce tag always begins with &#8220;apex&#8221; namespace. All the design part can be acomplished by using Visualforce Markup Language and the business logic can be written in custom controllers associated with the Page.<\/p>\n<hr \/>\n<p><strong>4. Will Visual force still supports the merge fields usage like S-control ?<\/strong><br \/>\nAns: Yes. Just like S-Controls, Visualforce Pages support embedded merge fields, like the {!$User.FirstName} used in the example.<\/p>\n<hr \/>\n<p><strong>5. Where to write Visualforce code ?<\/strong><br \/>\nAns: You can write the code basically in 3 ways.<\/p>\n<ol>\n<li>setup-&gt;App Setup-&gt;Develop-&gt;Pages and create new Visulaforce page.<\/li>\n<li>Setup -&gt; My Personal Information -&gt; Personal Information -&gt; Edit check the checkbox development mode. When you run the page like this, https:\/\/ap1.salesforce.com\/apex\/MyTestPage. you will find the Page editor at the bottom of the page. You can write you page as well as the controller class associated with it, there it self.<\/li>\n<li>Using EclipseIDE you can create the Visulaforce page and write the code.<\/li>\n<\/ol>\n<hr \/>\n<p><strong>6.What are Apex Governor Limits?<\/strong><\/p>\n<p>Governor limits are runtime limits enforced by the Apex runtime engine. Because Apex runs in a shared, multitenant environment, the Apex runtime engine strictly enforces a number of limits to ensure that code does not monopolize shared resources. Types of limits that Apex enforces are resources like memory, database resources, number of script statements to avoid infinite loops, and number of records being processed. If code exceeds a limit, the associated governor issues a runtime exception.<\/p>\n<hr \/>\n<p><strong>7. How to create and host S Control in Salesforce ?<\/strong><\/p>\n<p><a href=\"https:\/\/jitendrazaa.com\/blog\/webtech\/salesforce\/how-to-create-s-control-in-salesforce\/\" target=\"_blank\">https:\/\/jitendrazaa.com\/blog\/webtech\/salesforce\/how-to-create-s-control-in-salesforce\/<\/a><\/p>\n<p><a href=\"https:\/\/jitendrazaa.com\/blog\/webtech\/salesforce\/how-to-host-s-control-in-visualforce-page\/\" target=\"_blank\">https:\/\/jitendrazaa.com\/blog\/webtech\/salesforce\/how-to-host-s-control-in-visualforce-page\/<\/a><\/p>\n<hr \/>\n<p><strong>8. Difference between Sandbox and Development\u00a0environment?<\/strong><\/p>\n<p><a href=\"https:\/\/jitendrazaa.com\/blog\/webtech\/salesforce\/difference-between-sandbox-and-developer-edition-in-salesforce\/\" target=\"_blank\">https:\/\/jitendrazaa.com\/blog\/webtech\/salesforce\/difference-between-sandbox-and-developer-edition-in-salesforce\/<\/a><\/p>\n<hr \/>\n<p><strong>9. How to schedule export or take the backup of salesforce?<\/strong><\/p>\n<p><a href=\"https:\/\/jitendrazaa.com\/blog\/webtech\/salesforce\/backup-the-salesforce-data\/\">https:\/\/jitendrazaa.com\/blog\/webtech\/salesforce\/backup-the-salesforce-data\/<\/a><\/p>\n<div class=\"intrinsic-container\"><iframe loading=\"lazy\" src=\"https:\/\/jitendrazaa.com\/blog\/SFDCInterviewList.php?num=1\" width=\"300\" height=\"150\" allowfullscreen=\"allowfullscreen\"> <\/iframe><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Set of most often asked questions on the salesforce.com developement<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"jz_research_post":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[9],"tags":[331],"class_list":["post-28","post","type-post","status-publish","format-standard","hentry","category-salesforce","tag-salesforce"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":2501,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/very-useful-tips-and-tricks-of-the-apex-salesforce-interview-questions-part-4\/","url_meta":{"origin":28,"position":0},"title":"Latest Salesforce Interview Questions &#8211; Part 4 &#8211; Related to Dynamic Apex","author":"Jitendra","date":"November 27, 2011","format":false,"excerpt":"Most Frequently Asked interview questions of Apex, Dynamic Apex, SOSL, Visualforce, SOQL in Salesforce.com SFDC","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1080,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/one-visualforce-page-as-an-iframe-in-another-visualforce-page-salesforce-com\/","url_meta":{"origin":28,"position":1},"title":"One visualforce page as an iframe in another visualforce page &#8211; Salesforce.com","author":"Jitendra","date":"September 15, 2010","format":false,"excerpt":"Example to include one visualforce page into another visual force with the help of iframe and getting back the request parameter in visual force page.","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3773,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/salesforce-faq-part-19\/","url_meta":{"origin":28,"position":2},"title":"Salesforce interview questions &#8211; Part 19","author":"Jitendra","date":"December 16, 2014","format":false,"excerpt":"Salesforce interview questions for developers and admins around Apex, Visualforce, getting Salesforce object name on basis of Id, Apex API limits","rel":"","context":"In &quot;Apex&quot;","block_context":{"text":"Apex","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/apex\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4102,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/salesforce-faq-part-20-lightning-questions\/","url_meta":{"origin":28,"position":3},"title":"Salesforce interview question related to Lightning framework &#8211; Part 20","author":"Jitendra","date":"February 4, 2015","format":false,"excerpt":"Salesforce interview questions for Salesforce developers and admin , mostly related to newly released Salesforce Lightning components and applications","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":370,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/how-to-host-s-control-in-visualforce-page\/","url_meta":{"origin":28,"position":4},"title":"How to Host S-Control in Visualforce Page","author":"Jitendra","date":"June 27, 2010","format":false,"excerpt":"Explains that How to Host S-Control in Visualforce Page","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"Visual force page in Salesforce.com","src":"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2010\/06\/VF-Page.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":3025,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/salesforce-interview-questions-part-11\/","url_meta":{"origin":28,"position":5},"title":"Salesforce Interview Questions \u2013 Part 11","author":"Jitendra","date":"August 19, 2012","format":false,"excerpt":"101. How to force lead assignment rule via Apex while updating or adding the Lead? Ans : To enforce Assignment Rules in Apex you will need to perform following steps: Instantiate the \"Database.DMLOptions\"\u009d class. Set the \"useDefaultRule\"\u009d property of \"assignmentRuleHeader\"\u009d to True. Finally call a native method on your Lead\u2026","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"Pagination in SOQL using keyword Offset","src":"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2012\/08\/Pagination-in-SOQL-using-keyword-Offset.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2012\/08\/Pagination-in-SOQL-using-keyword-Offset.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2012\/08\/Pagination-in-SOQL-using-keyword-Offset.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/28","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/comments?post=28"}],"version-history":[{"count":5,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/28\/revisions"}],"predecessor-version":[{"id":4215,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/28\/revisions\/4215"}],"wp:attachment":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/media?parent=28"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/categories?post=28"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/tags?post=28"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}