Fiszki

Nowy SF

Test w formie fiszek fdfds
Ilość pytań: 111 Rozwiązywany: 804 razy
A devloper needs to provide a way to mass edit, update and delete records from a list view. In which two ways can this be accomplished? Choose 2 answers
Configure the user interface and enable both inline editing and enhanced lists
Download a managed package from the AppExchange that provides customizable Enhanced List Views and buttons.
Create a new Visualforce page and Apex Controller for the list view that provides mass edit, update and delete functionality
Download an unmanaged package from the AppExchange that provides customizable mass edit, update and delete functionality
Create a new Visualforce page and Apex Controller for the list view that provides mass edit, update and delete functionality
Download an unmanaged package from the AppExchange that provides customizable mass edit, update and delete functionality
Opportunity opp = [SELECT Id, StageName FROM Opportunity LIMIT 1]; Given the code above, how can a developer get the label for the StageName field?
Call "Opportunity.StageName.Label".
Call ""Opportunity.StageName.getDescribe().getLabel()".
Call "opp.StageName.Label".
Call "opp.StageName.getDescribe().getLabel()".
Call "opp.StageName.getDescribe().getLabel()".
A developer wants to handle the click event for a lightning:button component. The onclick attribute for the component references a JavaScript function in which resource in the component bundle?
renderer.js
helper.js
handler.js
controller.js
helper.js
Which statement is true about developing in a multi-tenant environment?
Org-level data security controls which users can see data from multiple tenants on the same instance.
Governor limits prevent Apex from impacting the performance of multiple tenants on the same Instance
Global Apex classes can be referenced from multiple tenants on the same instance.
Apex Sharing controls access to records from multiple tenants on the same instance.
Governor limits prevent Apex from impacting the performance of multiple tenants on the same Instance
Which two components are available to deploy using the Metadata API? Choose 2 answers
Lead Conversion Settings
Web-to-Case
Case Settings
Web-to-Lead
Lead Conversion Settings
Case Settings
A change set deployment from a sandbox to production fails due to a failure in a managed package unit test. The developer spoke with the managed package owner and they determined it is a false positive and can be ignored. What should the developer do to successfully deploy?
Select "Run local tests" to run all tests in the org that are not in the managed package.
Select "Run local tests" to run only the tests that are in the change set.
Edit the managed package's unit test.
Select "Fast Deploy" to run only the tests that are in the change set.
Select "Run local tests" to run all tests in the org that are not in the managed package.
A developer needs to create a custom Visualforce button for the Opportunity object page layout that will cause a web service to be called and redirect the user to a new page when clicked. Which three attributes need to be defined in the tag of the Visualforce page to enable this functionality? Choose 3 answers
readOnly
renderAs
extensions
action
standardController
extensions
action
standardController
Which two statements can a developer use to throw a custom exception of type MissingFieldValueException? Choose 2 answers
throw Exception(new MissingFieldValueException());
throw new MissingFieldValueException('Problem occurred');
throw new MissingFieldValueException();
throw (MIssingFieldValueException, 'Problem occurred');
throw new MissingFieldValueException('Problem occurred');
A developer uses a Test Setup method to create an Account named 'Test'. The first test method deletes the Account record.
The Account cannot be used in the second test method.
Restore the Account using an undelete statement.
Call the Test Setup method at the start of the test.
Use SELECT Id from Account where Name = 'Test'.
Use SELECT Id from Account where Name = 'Test'.
A developer created a Visualforce page and a custom controller with methods to handle different buttons and events that can occur on the page. What should the developer do to deploy to production?
Create a test page that provides coverage of the Visualforce page.
Create a test class that provides coverage of the custom controller.
Create a test page that provides coverage of the custom controller.
Create a test class that provides coverage of the Visualforce page.
Create a test class that provides coverage of the custom controller.
A developer declared a class as follows. public class wysiwyg { // properties and methods including DML } Which Invocation of a class method will obey the organization-wide defaults and sharing settings for the running user in the Salesforce organization?
A developer using the Developer Console that invokes a method in this class from the execute anonymous window
A user on an external system that has an API call into Salesforce that invokes a method in this class
An Apex trigger that invokes a helper method in this class
A Visualforce page with an Apex controller that invokes a method in this class
A developer using the Developer Console that invokes a method in this class from the execute anonymous window
How many levels of child records can be returned in a single SOQL query from one parent object?
3
1
7
5
1
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 2 answers
Make an outbound web services call to the SOAP API.
Hardcode the ID as a constant in an Apex class.
Execute a SOQL query on the RecordType object
Use the getRecordTypeInfosByName() method in the DescribeSObjectResult class.
Execute a SOQL query on the RecordType object
Use the getRecordTypeInfosByName() method in the DescribeSObjectResult class.
Which two statements are true regarding formula fields? Choose 2 answers
Fields that are referenced by a formula field can not be deleted until the formula is modified or deleted.
When concatenating fields, line breaks can be added to improve readability.
Formula fields may reference formula fields on the same object to a level of one deep.
When using the & operator to concatenate strings, the result is automatically truncated to fit the destination.
Fields that are referenced by a formula field can not be deleted until the formula is modified or deleted.
Formula fields may reference formula fields on the same object to a level of one deep.
An Account trigger updates all related Contacts and Cases each time an Account is saved using the following two DML statements: update allContacts; update allCases; What is the result if the Case update exceeds the governor limit for maximum number of DML records?
The Account save is retried using a smaller trigger batch size.
The Account save succeeds, Contacts are updated, but Cases are not.
The Account save fails and no Contacts or Cases are updated.
The Account save succeeds and no Contacts or Cases are updated.
The Account save fails and no Contacts or Cases are updated.
A developer needs to include a Visualforce page in the detail section of a page layout for the Account object, but does not see the page as an available option in the Page Layout Editor. Which attribute must the developer include in the tag to ensure the Visualforce page can be embeddded in a page layout?
standardController="Accout"
extensions="AccountController"
action="AccountId"
controller="Account"
standardController="Accout"
Which three operations affect the number of times a trigger can fire?
Email message
Roll-Up Summary fields
Process Flows
Workflow Rules
Criteria-based sharing calculations
Roll-Up Summary fields
Process Flows
Workflow Rules
Which process automation should be used to send an outbound message without us....
Workflow rule
Process Builder
Approval Process
Flow Builder
Workflow rule
which option should a developer use to create 500 Accounts and make sure that duplicates are not created for existing Account Sites?
Data Loader
Data Import Wizard
Sandbox template
Salesforce-to-Salesforce
Data Import Wizard
Which two SOSL searches will return records matching search criteria contained in any of the searchable text fields on an object? Choose 2 answers
[FIND 'Acme"' IN TEXT FIELDS RETURNING Account, Opportunity];
[FIND 'Acme"' RETURNING Account, Opportunity];
[FIND 'Acme*' IN ALL FIELDS RETURNING Account, Opportunity];
[FIND 'Acme"' IN ANY FIELDS RETURNING Account, Opportunity];
[FIND 'Acme*' IN ALL FIELDS RETURNING Account, Opportunity];

Powiązane tematy

#it

Inne tryby