Saturday, 12 January 2019

Platform App Builder Certification Maintenance (Winter '19)

1.Which behavior is true when using the ‘Deploy processes and flows as active’ feature?

A. Apex tests must cover 75% of all active Processes and autolaunched Flows.

2.How should an App Builder ensure that Users are able to see Survey responses?

A.Grant access to the Survey object then direct users to the Survey Invitations related list

3.How can a user share the contents of a Salesforce Folder with customers in Lightning?

A. Create a public link to a Shared Folder.

4.How can an App Builder configure a Guided Action to be mandatory on a record?

A. Set the Is Mandatory field in a Process that launches the Flow.

Step2:Follow the Hands-On. Step By Step Point and click

Platform Developer I Certification Maintenance (Winter '19)


1. Which method of the DescribeSObjectResult class allows you to access record types by their developer name?
A.getRecordTypeInfoByDeveloperName()

2. Which Apex class includes new methods to verify digital and HMAC signatures?
A. system.cypto


1.Your org has My Domain enabled. What is the most efficient method to obtain a valid session ID to make an HTTP callout from asynchronous Apex code to Salesforce APIs?
A.Use System.UserInfo.getSessionId().

2.Which annotation allows a developer to make the result of an Apex method storable for Lightning components?

A. @AuraEnabled(cacheable=true)

3.Which merge field allows you to isolate untrusted third-party content with <apex:iframe> tag in Visualforce?

A. $IFrameResource

4.Prior to installing an unlocked package, which object should a developer query using the Tooling API to list the packages it depends on?

A. SubscriberPackageVersion

TowerMapControllerClass.apxc
--------------------------------------
public inherited sharing class TowerMapControllerClass {
     @AuraEnabled
     public static List<Tower__c> getAllTowers() {
          String theObject = 'Tower__c';
          List<String> theFields = new List<String>{'Id', 'Name', 'State__r.Name', 'Tower_Location__Latitude__s', 'Tower_Location__Longitude__s'};
          String theFilter = '';
          String sortField = 'Name';
          String sortOrder = 'ASC';
          List<Tower__c> allTowers = TowerMapUtilClass.queryObjects(theObject, theFields, theFilter, sortField, sortOrder);
          return allTowers;
     }
}

TowerMapUtilClass.apxc
-------------------------------
public inherited sharing class TowerMapUtilClass {
     public static List<sObject> queryObjects(String theObject, List<String> theFields, String theFilter, String sortField, String sortOrder) {
          String theQuery = 'SELECT ' + string.join(theFields, ',');
          theQuery += ' FROM ' + theObject;
          if(!String.isEmpty(theFilter)) {
               theQuery += ' WHERE ' + theFilter;
          }
          if(!String.isEmpty(sortField)) {
               theQuery += ' ORDER BY ' + sortField;
               if(!String.isEmpty(sortOrder)) {
                    theQuery += ' ' + sortOrder;
               }
          }
          return database.query(theQuery);
     }
}

Towermap.cmp
------------------
<aura:component implements="flexipage:availableForAllPageTypes" controller="TowerMapControllerClass" access="global" >
     <aura:attribute name="mapMarkers" type="Object" access="PRIVATE" />
     <aura:attribute name="markersTitle" type="String" access="PRIVATE" />
     <aura:handler name="init" value="{!this}" action="{!c.handleInit}"/>
     <aura:if isTrue="{!!empty(v.mapMarkers)}" >
          <!-- Create lightning:map here -->
       
         &lt;lightning:map
        mapMarkers="{! v.mapMarkers }"
        markersTitle = "{!v.markersTitle}"
        zoomLevel="5" />
     </aura:if>
</aura:component>

TowermapHelper.js
-----------------------
({
     initHelper : function(component, event, helper) {
          helper.utilSetMarkers(component, event, helper);
     },
     utilSetMarkers : function(component, event, helper) {
          let action = component.get("c.getAllTowers");
          action.setCallback(this, function(response) {
               const data = response.getReturnValue();
               const dataSize = data.length;
               let markers = [];
               for(let i=0; i < dataSize; i += 1) {
                    const Tower = data[i];
                    markers.push({
                        'location': {
                             'Latitude' : Tower.Tower_Location__Latitude__s,
                             'Longitude' : Tower.Tower_Location__Longitude__s
                        },
                        'icon': 'utility:Tower',
                        'title' : Tower.Name,
                        'description' : Tower.Name + ' Tower Location at ' + Tower.State__r.Name
                   });
               }
               component.set('v.markersTitle', 'Out and About Communications Tower Locations');
               component.set('v.mapMarkers', markers);
          });
          $A.enqueueAction(action);
     }
})

Thursday, 6 December 2018

Platform App Builder Certification Maintenance (Summer '18)

1.Which feature can an App Builder use to get an industry certification number for an account based on its NAICS field?
A) Workflow rules
B) Processes
C) External Services
D) Outbound Messages

2.How can an App Builder protect contact information from being seen by the marketing team when that contact is added to a campaign?
A) Set campaign member sharing settings
B) Remove the Contact field from page layouts
C) Create a cross-object formula on campaign with contact information filtered by profile
D) Add campaign member sharing rules

3.Which new piece of information is now included in flow and process error emails?
A) The step name that caused the error
B) The organization name where the error occured
C) The variable name that caused the error
D) The validation rule name where the error occured

4.A process fails with a “Too many SOQL calls” error. How can an App Builder troubleshoot the problem?
A) Add an email alert to the process that includes error information
B) Use the debug log and set workflow debugging to FINER
C) Add an update record action to save the error message on the record
D) Configure an ErrorHandler Apex class on the process

5.How can an App Builder associate a flow with a specific record for Lightning console?
A) Use the Guided Action List
B) Add the flow to the page layout
C) Use a Record Action record
D) Add the flow to the utility bar

6.How can an App Builder provide rich text data entry to Salesforce mobile users?
A) Create a flow and add that to the mobile layout
B) Install a rich text editor package from the appexchange
C) Add the rich text standard Lightning component to a record page in Lightning App Builder
D) ensure the Rich Text field is included on a page layout used by your mobile users

7.How can an App Builder organize reports for a global sales team so that each region sees reports specific to them?
A) Define report sharing settings
B) Disable enhanced folder sharing
C) Create report subfolders under the Sales Report folder
D) Use report scheduling

8.Which feature can an App Builder use to share a Lightning dashboard with users each morning?
A) Dashboard subscriptions
B) Reporting snapshots
C) Process builder email alerts
D) Process builder email alerts

1. an AppBuilder is building a flow for accounts, and needs to know if there are more open cases or more closed cases on each account.which flow feature would the app builder use to determine the answer?
A. the equals count assignment operator
b. Flow variables in a loop element
c. flow formulas in a comparision element
D. Record lookup elements for cases

Thursday, 8 November 2018

Platform Developer I Certification Maintenance (Summer '18)

1. Which Visualforce code can a developer use to provide the Lightning look and feel to Visualforce pages?
A. <apex:includeLightning/> in the <style> element
B. lightningStylesheets=”true” in the <style> element
C. lightningStylesheets=”true” in the <apex:page> element
D. apex:includeLightning=”true” in the <apex:page> element
2.How can a developer detect the current user’s Salesforce user interface type in JavaScript on a Visualforce page?
A. Use the UserInfo.getUITheme() function.
B. Use the UITheme.getUITheme() function.
C. Use the Organization.getSettings() function.
D. Use the SessionManagement.getCurrentSession() function.
3. Which Apex method eliminates the need for a SOQL query to determine the developer name for a record type?
A. System.RecordTypeId.getDeveloperName()
B. Schema.RecordTypeInfo.getRecordTypeId()
C. System.String.getDeveloperName()
D. Schema.RecordTypeInfo.getDeveloperName()

4. Which class enables a developer to test platform events in Apex unit tests?
A. Use the @IsTest annotation.
B. Use the HTTPCalloutMock class.
C. Use the EventBus.TestBroker class.
D. Use the @RemoteAction annotation.

5.How can a developer troubleshoot governor limit problems in transactions that include multiple flows?
A. Use breakpoints in Developer Console.
B. Add system.debug() statements to the flow.
C. Set the Workflow debug level to Finer in the debug log.
D. Add flow screens to display limits during the flow

6. What can a developer reference to ensure that a consistent value is used in the criteria for multiple validation rules?
A. A list custom setting in the validation rules
B. A global value set in the validation rules
C. A custom permission in the validation rules
D. A custom metadata type in the validation rules

7. Which statement is true about the new Lightning URL format?
A. URLs that use /one/one.app in emails templates must be updated.
B. Components with existing URLs that use /one/one.app will continue to work.
C. The change applies to all Salesforce apps, console apps, mobile versions, and communities.
D. Installed Lightning components will automatically translate the old URL to the new format.

8.How can a developer redirect a user to a Lightning page from a Visualforce page?
A. Generate a URL using UserInfo.getUITheme().
B. Generate a URL using PageReference.getURL().
C. Generate a URL in the format /lightning/r/sObject/sObjectID.
D. Generate a URL in the format /one/one.app#/sObject/sObectID.

Administrator Certification Maintenance (Summer ’18)

1. In what type of format does a field, using the data type Time, appear in Lightning Experience and the Salesforce mobile app?
A.picklist
2.A marketing operations user has been tasked with the job of merging duplicate leads that are owned by the lead generation team. What configuration setting should the system administrator set to allow the operations users to merge and delete leads they don't own?
A.Enable the Org-wide merge and delete setting
3. What Salesforce feature can a system administrator configure to guide a sales rep through the customer lifecycle?
A.Path for contacts
4. How should a system administrator organize report folders so global sales reports are grouped together, then subgrouped by region?
A.create a folder for sales reports and subfolders for each region


1. What type of email template must be used so users can send attachments in an email by dragging and dropping the file into the email?
A.HTML email publisher
2. What Salesforce component allows users to switch between languages when viewing knowledge articles?
A.Language selector
3. Which template is required to allow Community users to create and revise articles?
A.Salesforce tabs + visualforce template
4. On which page layout will users have the ability to view a drop-down menu for Reply, Reply All, and Forward email functions?
A.Case feed layout

Sunday, 4 November 2018

Trailhead and Webassessor Linking steps

https://trailhead.salesforce.com/credentials/verification

1.Certification Holders: Check Your Status: Enter your mail id and check the recaptch and click on request

2. you Received the mail display what certification was pending display

3. scroll down below
        Current Trailhead and Webassessor Linking Status:

        Linking Status: not linked

        Linked Trailhead Profile: not linked

       Not Linked?:

       Use this link and your unique verification code (ac37f53), to link your accounts.
4. click on the Link
5. Login Trailhead
6. click in salesforce login Enter your Dev org credentials
7. display the link your trailhead and webassessor accounts
Below enter the unique verification code sent your email: already you received code above email enter the code:ac37f53
8. click on Link account
9.click on Maintain Now

Saturday, 28 April 2018

Salesforce Certified Administrator – Spring 18 Release Exam


1.Which three functions are available with chart enhancements in Lightning Experience? Choose 3 answers
A.Show total in the center of donut charts.
B.Display up to 2,000 groups in line and bar charts in dashboards.
C.Combine small groups into “others” on any chart.
D.Download chart images from dashboard components.
E.Set chart legend position

2.What are the path steps based upon when creating a campaign path?
A.Business Processes.
B.Campaign responses.
C.Lead record types.
D.Picklist field values.

3.What must the administrator consider when enabling themes?
A.Any user selects a theme and avatar based on their role.
B.Chatter External users also see the custom theme.
C.Only one theme can be active at a time and is applied to the entire org
D.There is no built-in theme if a custom theme is not created.

4.Which three features are available with Salesforce files? Choose 3 answers
A.Integrate quip to chat and collaborate on files.
B.Access files with the view list of assets feature.
C.Create asset files for unauthenticated users.
D.Automatically upload pdf files from an email attachment.
E.Allow standard users to create and delete content assets

5.The administrator for universal containers is asked to provide the sales teams with opportunity splits so that the opportunity owner has better into their share of the deal. which functionality is available with opportunity splits?
A.Create a new opportunity split directly from the account record.
B.Assign a dedicated opportunity owner to the split.
C.Send opportunity split notifications automatically.
D.Add or adjust splits from the opportunity splits a related list

6.Which functionality is available to a support agent directly from the case feed?
A.Configure an email template.
B.Delete an email
C.Mass email
D.Reply and forward an email

Salesforce Certified Platform Developer1 – Spring 18 Release Exam

1.Which salesforce command line interface (CLI) command supports the generation of new apex triggers?
A.Force:apex:trigger:create
B.Force:trigger:new
C.Force:schema:subject: *t| createtrigger
D.Force:data:subject:createtrigger

2.Which debug type captures information related to accessing external objects with the salesforce connect cross-org and OData adapters?
A.XDS_CONNECT.
B.XDS_REQUEST
C.XDS_OBJECT
D.XDS_RESPONSE

3.Which global variable can be used to detect whether a visualforce page is loaded in Lightning apps with console navigation or standard navigation?
A.$UI.UserTheme
B.$Browser.formFactor
C.$Organization.UITheme
D.$User.UITheme

4.What is the replacement that salesforce recommends for force.com IDE 2 Beta?
A.Salesforce Extensions for VS code
B.MavensMate for Subline Text
C.Developer Console
D.Workbench

5.What can be used to control the styling and behavior of the salesforce login process?
A.Process Builder on login event
B.Lightning component login flow
C.Quick Action on login event
D.Visualforce page login flow

Salesforce Certified Platform App Builder – Spring18 Release Exam

1.Which object now triggers a process builder and workflow rule?
A.Assets
B.Topics
C.Orders
D.Campaigns

2.Which new standard feature should an appbuilder use to collect sales team feedback about a new Lightning page layout?
A.Survey Lightning component.
B.Survey Email alert
C.Survey Quick Action
D.Survey visualforce apge

3.How can an app builder add a flow to the action menu on a Lightning record page?
A.Using a Lightning component.
B.Using an Object specific action
C.Using an Auto launched flow
D.Using a Global Action

4.Which data protection functionality does the individual object provide?
A.Data Privacy Preferences
B.Data Privacy Protection
C.Personal information packaging
D.Personal information deletion

5.What is a new feature in lightning experience added to reports and Dashboards in this release?
A.Matrix Reports
B.Row limit filters on dashboards
C.Subscribe to reports
D.Joined Reports
E.Subscribe to Dashboard