Which action will allow the developer to relate records in the data model without knowing the Salesforce ID?
A developer needs to join data received from an integration with an external system with parent records in Salesforce. The data set does not contain the Salesforce IDs of the parent records, but it does have a foreign key attribute that can be used to identify the parent. Which action...
Which code block will run successfully in an execute anonymous window?
A developer has the controller class below. Which code block will run successfully in an execute anonymous window?A . myFooController m = new myFooController();System.assert(m.prop !=null);B . myFooController m = new myFooController();System.assert(m.prop ==0);C . myFooController m = new myFooController();System.assert(m.prop ==null);D . myFooController m = new myFooController();System.assert(m.prop ==1);View AnswerAnswer: C
Which trigger event allows a developer to update fields in the Trigger.new list without using an additional DML statement?Choose 2 answers
Which trigger event allows a developer to update fields in the Trigger.new list without using an additional DML statement?Choose 2 answersA . Before insertB . Before updateC . After updateD . After insertView AnswerAnswer: A, B
A developer wrote a workflow email alert on case creation so that an email is sent to the case owner manager when a case is created. When will the email be sent?
A developer wrote a workflow email alert on case creation so that an email is sent to the case owner manager when a case is created. When will the email be sent?A . After Committing to database.B . Before Trigger execution.C . After Trigger execution.D . Before Committing to database.View...
How should a developer create a new custom exception class?
How should a developer create a new custom exception class?A . public class CustomException extends Exception{}B . CustomException ex = new (CustomException)Exception();C . public class CustomException implements Exception{}D . (Exception)CustomException ex = new Exception();View AnswerAnswer: A
What should a developer do to meet these requirements?
The operation manager at a construction company uses a custom object called Machinery to manage the usage and maintenance of its cranes and other machinery. The manager wants to be able to assign machinery to different constructions jobs, and track the dates and costs associated with each job. More than...
Which two options allow the developer to dynamically determine the ID of the required Record Type by its name?
A Platform Developer needs to write an Apex method that will only perform an action if a record is assigned to a specific Record Type. Which two options allow the developer to dynamically determine the ID of the required Record Type by its name? (Choose two.)A . Make an outbound...
Which code block returns the ListView of an Account object using the following debug statement? system.debug(controller.getListViewOptions() );
Which code block returns the ListView of an Account object using the following debug statement? system.debug(controller.getListViewOptions() );A . ApexPages.StandardSetController controller = new ApexPages.StandardSetController( Database.getQueryLocator( 'SELECT Id FROM Account LIMIT 1'));B . ApexPages.StandardController controller = new ApexPages.StandardController( [SELECT Id FROM Account LIMIT 1]);C . ApexPages.StandardController controller = new ApexPages.StandardController( Database.getQueryLocator( 'SELECT...
How should a developer create a new custom exception class?
How should a developer create a new custom exception class?A . public class CustomException extends Exception{}B . CustomException ex = new (CustomException)Exception();C . public class CustomException implements Exception{}D . (Exception)CustomException ex = new Exception();View AnswerAnswer: A
Which three options allow a developer to use custom styling in a Visualforce page? (Choose three.)
Which three options allow a developer to use custom styling in a Visualforce page? (Choose three.)A . <apex:stylesheet> tagB . Inline CSSC . <apex:style>tagD . <apex:stylesheets>tagE . A static resourceView AnswerAnswer: A,B,E