What is the most efficient way to ensure a value is selected every time a record is saved?
A custom picklist field, Food_Preference__c, exist on a custom object. The picklist contains the following options: 'Vegan','Kosher','No Preference'. The developer must ensure a value is populated every time a record is created or updated. What is the most efficient way to ensure a value is selected every time a record...
When using SalesforceDX, what does a developer need to enable to create and manage scratch orgs?
When using SalesforceDX, what does a developer need to enable to create and manage scratch orgs?A . ProductionB . Dev HubC . Environment HubD . SandboxView AnswerAnswer: B Explanation: https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_scratch_orgs.htm When using SalesforceDX, a developer needs to enable Dev Hub in order to create and manage scratch orgs. A Dev...
Which three statements are true regarding custom exceptions in Apex? (Choose three.)
Which three statements are true regarding custom exceptions in Apex? (Choose three.)A . A custom exception class must extend the system Exception class.B . A custom exception class can implement one or many interfaces.C . A custom exception class cannot contain member variables or methods.D . A custom exception class...
Which component should be added to the Visualforce page to display the message?
A custom Visualforce controller calls the ApexPages,addMessage () method, but no messages are rendering on the page. Which component should be added to the Visualforce page to display the message?A . <apex: pageMessages />B . <apex: pageMessage severity=”info’’/>C . <Apex: facet name=’’ message’’/>D . <Apex: message for=’’ info’’/>View AnswerAnswer: A
What is the correct implementation?
An org tracks customer orders on an Order object and the items of an Order on the Line Item object. The Line Item object has a MasterDetail relationship to the order object. A developer has a requirement to calculate the order amount on an Order and the line amount on...
Which two actions will prevent the duplicate order records from being created in Salesforce?
A business has a proprietary Order Management System (OMS) that creates orders from their website and fulfills the orders. When the order is created in the OMS, an integration also creates an order record in Salesforce and relates it to the contact as identified by the email on the order....
Why should the developer choose to use data Loader instead of Data Import Wizard?
A developer wants to import 500 Opportunity records into a sandbox. Why should the developer choose to use data Loader instead of Data Import Wizard?A . Data Loader runs from the developer's browser.B . Data Import Wizard does not support Opportunities.C . Data Loader automatically relates Opportunities to Accounts.D ....
What should be done to share a specific Case-Defect_c record with a user?
A software company uses the following objects and relationships: • Case: to handle customer support issues • Defect_c: a custom object to represent known issues with the company's software • case_Defect__c: a junction object between Case and Defector to represent that a defect Is a customer issue What should be...
Which two statements are true about using the @testSetup annotation in an Apex test class? Choose 2 answers
Which two statements are true about using the @testSetup annotation in an Apex test class? Choose 2 answersA . Records created in the test setup method cannot be updated in individual test methods.B . Qo The @testSetup annotation is not supported when the GisTest(SeeAllData=True) annotation is used.C . Test data...
What are three characteristics of change set deployments? Choose 3 answers
What are three characteristics of change set deployments? Choose 3 answersA . Change sets can only be used between related organizations.B . Change sets can be used to transfer records.C . Sending a change set between two orgs requires a deployment connection.D . Change sets can deploy custom settings data.E...