How can a developer insert an Employee_c record linked to Company_c with a Company_ld_c of '999'?
Employee_c is a Child object of Company_c. The Company_c object has an external Id field Company_ld_c. How can a developer insert an Employee_c record linked to Company_c with a Company_ld_c of '999'?A . Employee_c emp = new Employee_c(Name=fDeveloperf); emp.Company_r = f999f insert emp;B . Employee_c emp = new Employee_c(Name=fDeveloperf); emp.Company_c...
Which of the following exceptions cannot be caught and will force an error? (Choose three.)
Which of the following exceptions cannot be caught and will force an error? (Choose three.)A . LimitExceptionB . AssertExceptionC . SObjectExceptionsD . DMLExceptionE . License exceptionsF . ListExceptionView AnswerAnswer: A,B,E Explanation: SObjectException occurs when accessing a field not queried, or you try to change a field during the wrong dml...
An org has a custom object, Registeration_c that has a lookup relationship to the Opportunity object.
An org has a custom object, Registeration_c that has a lookup relationship to the Opportunity object. What should a developer use to create a stand-alone Vlsualforce page that displays the Registration__c records related to an Opportunity.A . A standard controller with a controller extensionB . A controler extensionC . A...
What will happen when the mass update occurs?
An environment has two Apex Triggers: an after-update trigger on Account and an after-update trigger on Contact. The Account after-update trigger fires whenever an Account's address is updated, and it updates every associated Contact with that address. The Contact after-update trigger fires on every edit, and it updates every Campaign...
The maximum view state size of a visualforce page is______________.
The maximum view state size of a visualforce page is______________.A . 1mbB . 256kbC . 165kbD . 65kbE . 135kbView AnswerAnswer: E
What should the developer use to store and package the custom configuration settings for the app?
A developer Is asked to develop a new AppExthange application. A feature of the program creates Survey records when a Case reaches a certain stage and Is of a certain Record Type. This feature needs to be configurable, as different Salesforce instances require Surveys at different times. Additionally, the out-of-the-box...
What could be the cause of this issue?
A developer writes the following Apex trigger so that when a Case is closed, a single Survey record is created for that Case. The issue is that multiple Survey_c records are being created per Case. What could be the cause of this issue?A . A user is creating the record...
Which design resource configuration should be used?
A company wants to build a custom Lightning Component that will display a specified Account Field Set and that can only be added to the Account record page. Which design resource configuration should be used?A . <design:component label="Account FS Component"> <design:attribute name="fieldSetName" Label="Field Set Name" /> <sfdc:objects> <sfdc:object>FieldSet</sfdc:object> </sfdc:objects> </design:component>B...
If you have a method "doStuff(List<sObject> records)", which is a valid call?
If you have a method "doStuff(List<sObject> records)", which is a valid call?A . doStuff([Select Id From Account]);B . doStuff(List<Account> records);C . doStuff(Account acct);D . doStuff(sObject obj);View AnswerAnswer: A
What is the most efficient way to Query such information?
As part of a custom development, a developer creates a Lightning Component to show how a particular opportunity progresses over time. The component must display the date stamp when any of the following fields change: • Amount Probability, Stage, or Close Date What is the most efficient way to Query...