http://ccoenraets.github.io/salesforce-lightning-tutorial/setup-environment.html
Salesforce any certification 100% PASS contact us : malakondaiahexams@gmail.com
Salesforce Certifications
- Salesforce Certified Administrator
- Salesforce Certified Advanced Administrator
- Salesforce Certified CPQ Specialist
- Salesforce Certified Marketing Cloud Administrator
- Salesforce Certified Platform App Builder
- Salesforce Certified Sales Cloud Consultant
- Salesforce Certified Service Cloud Consultant
- Salesforce Certified Community Cloud Consultant
- Salesforce Certified Einstein Analytics and Discovery Consultant
- Salesforce Certified Field Service Lightning Consultant
- Salesforce Certified Marketing Cloud Consultant
- Salesforce Certified Pardot Consultant
- Salesforce Certified Platform Developer I
- Salesforce Certified Platform Developer II
- Salesforce Certified JavaScript Developer I
- Salesforce Certified Marketing Cloud Developer
- Salesforce Certified B2C Commerce Developer
- Salesforce Certified Marketing Cloud Email Specialist
- Salesforce Certified Pardot Consultant
- Salesforce Certified Pardot Specialist
- Salesforce Certified Data Architecture and Management Designer
- Salesforce Certified Sharing and Visibility Designer
- Salesforce Certified Integration Architecture Designer
- Salesforce Certified Identity and Access Management Designer
- Salesforce Certified Development Lifecycle and Deployment Designer
- Salesforce Accredited B2B Commerce Administrator (100%Pass)
- Salesforce Accredited B2B Commerce Developer (100%Pass)
Friday, 9 February 2018
Click On Button Featching An Opportunity Records
//Apexclass: OpportunityController.apxc
public with sharing class OpportunityController {
@AuraEnabled
public static List<Opportunity> getOpportunities() {
List<Opportunity> opportunities =
[SELECT Id, Name, CloseDate FROM Opportunity];
return opportunities;
}
@AuraEnabled
public static Opportunity getOpportunity(Id id) {
Opportunity opportunity = [
SELECT Id, Account.Name, Name, CloseDate,
Owner.Name, Amount, Description, StageName
FROM Opportunity
WHERE Id = :id
];
// Perform isAccessible() check here
return opportunity;
}
}
//Lightning component: Oppcomponent.cmd
<aura:component controller="OpportunityController">
<aura:attribute name="opportunities" type="Opportunity[]"/>
<ui:button label="Get Opportunities" press="{!c.getOpps}"/>
<aura:iteration var="opportunity" items="{!v.opportunities}">
<p>{!opportunity.Name} : {!opportunity.CloseDate}</p>
</aura:iteration>
</aura:component>
//Lightning controller: OppcomponentController.js
({
getOpps: function(cmp){
var action = cmp.get("c.getOpportunities");
action.setCallback(this, function(response){
var state = response.getState();
if (state === "SUCCESS") {
cmp.set("v.opportunities", response.getReturnValue());
}
});
$A.enqueueAction(action);
}
})
//Lightning Application: OppcomponentApp.App
<aura:application >
<c:OppComponent></c:OppComponent>
</aura:application>
public with sharing class OpportunityController {
@AuraEnabled
public static List<Opportunity> getOpportunities() {
List<Opportunity> opportunities =
[SELECT Id, Name, CloseDate FROM Opportunity];
return opportunities;
}
@AuraEnabled
public static Opportunity getOpportunity(Id id) {
Opportunity opportunity = [
SELECT Id, Account.Name, Name, CloseDate,
Owner.Name, Amount, Description, StageName
FROM Opportunity
WHERE Id = :id
];
// Perform isAccessible() check here
return opportunity;
}
}
//Lightning component: Oppcomponent.cmd
<aura:component controller="OpportunityController">
<aura:attribute name="opportunities" type="Opportunity[]"/>
<ui:button label="Get Opportunities" press="{!c.getOpps}"/>
<aura:iteration var="opportunity" items="{!v.opportunities}">
<p>{!opportunity.Name} : {!opportunity.CloseDate}</p>
</aura:iteration>
</aura:component>
//Lightning controller: OppcomponentController.js
({
getOpps: function(cmp){
var action = cmp.get("c.getOpportunities");
action.setCallback(this, function(response){
var state = response.getState();
if (state === "SUCCESS") {
cmp.set("v.opportunities", response.getReturnValue());
}
});
$A.enqueueAction(action);
}
})
//Lightning Application: OppcomponentApp.App
<aura:application >
<c:OppComponent></c:OppComponent>
</aura:application>
Thursday, 30 November 2017
Salesforce Certified Platform App Builder – Winter 18 Release Exam
1. how can an app builder reference a queue in the Lightning
Process Builder?
A. Add a Lookup (queue) field to the case and set the owner
to the Queue.
B. Use the Queue Label.
C. Update Records action Type and a value of the Queue Name.
D. Build a process on queue that finds and changes the
owner.
2. How can a App Builder add a Flow based customer survey in
a customer community?
A. Add a flow component to a community page.
B. Create a visualforce page with an embedded Flow.
C. Create a Login Flow for community Users.
D. Add a Flow Quick Action to the page layout.
3. How can an App Builder configure a Lightning page so that
a page component only displays for accounts in Europe?
A. Add a component that only supports dynamic display.
B. Add filter conditions and logic to the component
properties.
C. Add a component to a new page layout for eurpoean
accounts.
D. Set the component visibility by profile and record type.
4. How can an app Builder implement file privacy on records
in Lightning Experience?
A. Add the file privacy on Records field to the files page
layout.
B. Add the file privacy permission to a permission set.
C. Add file privacy feature on content Deliveries setting.
D. Enable private file settings from salesforce files
setting.
5. In which way have Lightning Bar chart Dashboard
components been enhanced?
A. Horizontal Bar charts can have up to four measures.
B. Donut charts can have up to four measures.
C. Pie charts can have up to four measures.
D. Line charts can have up to four measures.
Salesforce Certified Platform Developer1 – Winter 18 Release Exam
1. In which two ways does Lightning Data service (LDS)
eliminate redundant server calls in Lightning components? choose 2 answers
A. LDS acts as a publisher hub that notifies components of
data changes.
B. LDS can be
configured as a publisher hub with simple apex code.
C. LDS identifies
requests that involve the same record data and sends a single shared data
request that updates all relevant components.
D. LDS allows each component within an app to make independent,
but concurrent, calls to perform CRUD operations on the same record data.
2. which two statements are true regarding Lightning
components javascript code validation? choose 2 answers
A. Code validation are applied only to components set to API
version 41.0 and later.
B. The validation service ensures good software design and
prevent bugs.
C. Code validation enforce all ESlint rules.
D. Code validation can be temporariy disabled by setting the
component version to API 40.0 or earlier.
3. which content security policy (CSP) configuration is
required to access the streaming API and call apex methods from within a
Lightning container component?
A. CSP set to minimum.
B. CSP set to Lightning.
C. CSP set to low.
D. CSP set to custom.
4. what is the correct annotation to indicate test classes
that can run in parallel?
A. @isTest(runParallel=true).
B. @isTest(isParallelrun=true).
C. @isTest(isParallel=true).
D. @isTest.
5. In which two ways
does Salesforce DX facilitate source driven development? choose 2 answers.
A. Salesforce DX provides an efficient, end to end life
cycle designed for waterfall development.
B. Salesforce DX provides an integrated, end to end life
cycle designed for high performance agile development.
C. Salesforce DX shifts the source of truth from the org to
the version control system.
D. Salesforce DX allows agile, local test runs.
6. what are two valid scenarios for automatic recompilation
of apex classes? choose 2 answers
A. All Apex classes are automatically recompiled before
completing a metadata deploy.
B. All Apex classes are automatically recompiled when apex
transactions are run.
C. Specific Apex classes are automatically recompiled before
completing a metadata deploy.
D. All Apex classes are automatically recompiled before a
package is installed.
Salesforce Certified Administrator – Winter 18 Release Exam
1. when does an emoji icon appear in the chatter publisher
in Lightning Experience?
A. when a user creates a new chatter group.
B. When a user creates
new chatter posts and comments.
C. when a user
creates a new chatter quip file.
D. when a user creates a new chatter profile.
2. which three functions are available to a collaborative
forecast user in Lightning Experience? choose 3 answers
A. See user quota attainment information.
B. Adjust their own product family forecast.
C. Create a locked forecast to prevent editing
D. Access collaborative forecasts in Lightning sales console.
E. Designate a delegated forecast administrator.
3. The sales team at universal containers need to easily
access the sales pipeline dashboard. how can an administrator accomplish this
in Lightning Experience?
A. Create a cross object dashboard component and add to the
record.
B. Create a embedded
dashboard and add to the home tab.
C. Create a new object and add a dashboard component.
D. Create a new component for each sales user and add to
their profile.
4. what functionality enables sales representatives to
manage their own sales territories in Lightning Experience?
A. Community Territory Management.
B. Corporate Territory Management.
C. Enterprise Territory Management.
D. Advanced Territory Management.
5. what functionality is available to users when adding
files in Lightning Experience?
A. Create, share, and collaborate on documents with quip
without an external file provider.
B. Create a new quip file and add security from a downloaded
file in chatter.
C. access an external file provider and request secure quip
access.
D. Mass upload documents using the data loader.
Tuesday, 18 July 2017
Salesforce Certified Administrator – Summer 17 Release Exam
1. what action can be taken in Lightning, if
you receive an approval request that someone
else should approve?
else should approve?
A. Delete
the associated record.
B. Change
approval Entry Criteria.
C. Edit
Approval Process Manager
D. Re-assign the approval request
2. How
can an administrator allow users to choose different views of a dashboard in
Lightning Experience?
Lightning Experience?
A. Dashboard designer
B. Report filters
C. Report creator
D. Dashboard filters
3. Which two chatter groups will
show a seen by count of people who viewes the post, in the Lightning
Experience? choose 2 answers
A. Public
B. Restricted
C.
Unlisted
D. Private
4. where are the files and related records
attached when a sales user converts a lead?
A. Contact,
account, person account, Opportunity records.
B. Contact, account, opportunity, quote records.
C. Contact, account, opportunityrecords
D. Contact account, person account records
5. which two feature best describe the new
Lightning optimized Log a call action? choose 2 answers
A. Autopopulate the case team
B. Autopopulate
the case contact
C. Autolink
the call log to the case
D.
Autolink the audit log to the case
Salesforce Certified Platform App Builder – Summer 17 Release Exam
1. which two components are
supported when building Lightning pages with the Lightning
App Builder? choose 2 answers
App Builder? choose 2 answers
A. Related Records
B. Social View
C. Chatter Feed
D. Flows
2.
how can users see the change history of key fields in an object record?
A. Setup audit trail
B. History related list with field tracking
C. Historical Trend Reporting
D. Reporting Snapshot
3. What is a secure method of
creating a single field from two encrypted fields?
A. Disable Shield platform Encryption, create a
formula using & to concatenate, then
reenable Shield Platform Encryption.
reenable Shield Platform Encryption.
B. Create a custom formula referencing the two
encrypted field using & to concatenate.
C. Create
the two source fields, use a formula with & to concatenate, populate the
data into
the two source fields, then encrypt the source fields.
the two source fields, then encrypt the source fields.
D. Disable
encryption on the two source fields, create a formula using & to
concatenate, then reenable
encryption on the two source fields
4. which
tool will help the consultant see if Apex or visualforce code is running an out
of
date API version?
date API version?
A. Health
Check
B. Optimizer
C. Lightning Experience Migration
assistant
D. Lightning Experience Readiness
check
5. What
happens to an automated notification email generated by a process if another
process subsequently modifies the same record?
process subsequently modifies the same record?
A. The
email is queued and may send depending on the secondary process.
B. The
email is sent
C. The
email is sent twice
D. The email is suppressed
Salesforce Certified Platform Developer I – Summer 17 Release Exam
1. How can a validity check be
performed on a component?
A.
cmp.get("v.isValid")==true
B.
cmp.get()==true
C.
cmp.get("v.isvalid")!=null
D. cmp.get()!=null
2. what is a consideration for
Locker service Enablement?
A. Locker service is enabled for
custom lightning components implementing the interface
force:enforceLockerService
B. Locker service is disabled for
custom lightning components implementing the interface
force:ignoreLockerService
C. Locker service is enabled for all custom
Lightning Components with api version 40.0 or greater.
D. Locker service is disabled for
all custom Lightning Components, regardless of the API version.
3. How do the CSS enhancements to
the Lightning Design System improve the developer experience?
A. Single
dashes are used in class names to enable commenting.
B. Class names are abbreviated to
reduce code length.
C. Uppercase is used to distinguish
from custom class names.
D. Class names are available in
upper and lower case
4. what are two considerations
when overriding standard actions? choose 2 answer
A. Overriding standard actions
with a Lightning component applies to Lightning Experience, salesforce1, and
salesforce classic.
B.
Overriding standard actions with a Lightning component applies only to
Lightning Experience, and salesforce1, but not to salesforce classic.
C. Overriding standard actions
with a visualforce page applies only to Salesforce Classic and Lightning
experience, but not to salesforce1.
D.
Overriding standard actions with a visualforce page applies to Salesforce
Classic , Lightning experience, and salesforce1
5. which standard actions can be overridden with
Lightning Components?
A. View, Edit, new, Delete.
B. List, Edit, New, Delete.
C. List, View, Edit, New
D. Tab,
View, Edit, new
Tuesday, 11 April 2017
Salesforce Certified Platform App Builder – Spring 17 Release Exam
1. Which two of the following are supported actions for the Global
Actions Menu?
Choose 2 answers
Choose 2 answers
A. Launch a custom Canvas App
B. Upload a new Chatter File
C. Post to a Chatter feed
D. Launch a custom Lightning Component
B. Upload a new Chatter File
C. Post to a Chatter feed
D. Launch a custom Lightning Component
2. Which three options are available for assigning access to
Lightning Pages using Lightning App Builder? Choose 3 answers
A. The org default
B. Role and subordinates
C. Profile and permission sets
D. App default
E. App, record type, profile
B. Role and subordinates
C. Profile and permission sets
D. App default
E. App, record type, profile
3. What Lightning Experience
feature allows Salesforce users to modify existing records without opening
them?
A. The edit option in the Favorites menu
B. Global Actions
C. Editable Reports
D. Inline editing in List Views
B. Global Actions
C. Editable Reports
D. Inline editing in List Views
4. How can an App Builder share
Favorites with other Salesforce users?
A. Share link in the Favorites
drop-down menu
B. Sharing can only be performed by users with System Administrator rights
C. Favorites can’t be shared with other users
D. Favorites Settings under My Personal Information
B. Sharing can only be performed by users with System Administrator rights
C. Favorites can’t be shared with other users
D. Favorites Settings under My Personal Information
5. How can an App Builder
determine whether the features and customizations made in an org are
Lightning-ready?
A. Use the Lightning Experience Readiness Toolkit in Workbench
B. Implement the Salesforce Lightning Design System in a sandbox
C. Download the Lightning Experience Audit Tool from AppExchange
D. Launch the Lightning Experience Readiness Check from All Setup
B. Implement the Salesforce Lightning Design System in a sandbox
C. Download the Lightning Experience Audit Tool from AppExchange
D. Launch the Lightning Experience Readiness Check from All Setup
Salesforce Certified Platform Developer I – Spring ’17 Release Exam
1. Which two options are available to display detailed information
about the status of an Apex batch job? Choose 2 answers
A. Elapsed time
B. Submitted by user
C. Submitted date
D. Heap size
B. Submitted by user
C. Submitted date
D. Heap size
2.
Which feature enables creating, updating and deleting records in other
Salesforce orgs?
A. Lightning-to-Lightning Connector
B. Apex Triggers for Writeable External Objects
C. Database.WriteableObject Interface
D. Salesforce Connect Cross-Org Adapter
B. Apex Triggers for Writeable External Objects
C. Database.WriteableObject Interface
D. Salesforce Connect Cross-Org Adapter
3.
Which three types of content can shortcuts be created for using Favorites? Choose 3 answers
A. Chatter groups
B. Record home pages
C. Custom tabs
D. Dashboards
E. Global actions
B. Record home pages
C. Custom tabs
D. Dashboards
E. Global actions
4.
Which three actions can be taken from the Global Actions Menu? Choose 3 answers
A. Execute anonymous blocks of Apex code.
B. Launch a custom Visualforce Page.
C. Launch a custom Canvas App.
D. Post to a Chatter feed.
E. Launch a custom Lightning Component.
B. Launch a custom Visualforce Page.
C. Launch a custom Canvas App.
D. Post to a Chatter feed.
E. Launch a custom Lightning Component.
5. A Platform Developer wants to reference an image included in the Salesforce Lightning Design System from a Visualforce page.
Which two references should be
included in the page markup?
Choose 2 answers
Choose 2 answers
A. $SLDS
B. <force:slds>
C. <apex:slds>
D. $Asset
B. <force:slds>
C. <apex:slds>
D. $Asset
6.
Custom Lightning Record Pages can be assigned to which three items?
Choose 3 answers
Choose 3 answers
A. Record types
B. Apps
C. Profiles
D. Roles
E. Public groups
B. Apps
C. Profiles
D. Roles
E. Public groups
7.
Which component type will display the details of the parent Account from a
custom Lightning record page for the Contact object?
A. Hierarchy component
B. Parent object component
C. Filter list component
D. Related record component
B. Parent object component
C. Filter list component
D. Related record component
Subscribe to:
Posts (Atom)