Pass the Salesforce B2B-Commerce-Developer B2B-Commerce-Developer Questions and answers with CertsForce

Viewing page 7 out of 7 pages
Viewing questions 61-70 out of questions
Questions # 61:

Which element can be used to pass HTML from a parent component to a child component? 03m 19s

Options:

A.

<html></html>


B.

<template></template>


C.


D.


Expert Solution
Questions # 62:

A Northern Trail Qutfitters (NTO) developer made a tile component. To expose a click event and react to user input using the markup below, what should replace ?

Question # 62

Options:

A.

tileClick()


B.

{event:tileClick}


C.

javascript:avoid(0);tileClick();


D.

{tileClick}


Expert Solution
Questions # 63:

How should a developer get the grand total amount, including shipping and tax, for items in the

cart and in the currency of the cart, when developing a new Lightning web component for an

Aura storefrontcart page?

Options:

A.

{!Cart.Details.grandTotal}


B.

{ICart.Totals.grand Total}


C.

{ICart.Details.Fields.grandTotal}


D.

{!Cart.Fields.grandTotal}


Expert Solution
Questions # 64:

A developer is working in Visual Studio Codeon a previously deployed project which is rather large and deployments are time consuming. The developer wants to deploy some small CSS changes without waiting for the entire project deployment. What are two ways this can be accomplished?

Options:

A.

Right-click the folder for the component and choose Deploy Source to Org


B.

Right-click the CSS file that was edited and select Deploy Single File


C.

Right-click the CSS file and choose Deploy Source to Org


D.

Click the Tools menu and select Deploy styles


E.

Deploy theentire project. Only the change will be copied


Expert Solution
Questions # 65:

What are three advantages of using ccLog over the Salesforce

standard System.debug class? (3 answers)

Options:

A.

There is no need to use string concatenation to easily tag log statements with asubject.


B.

ccLog can debug syntax errors found in the JavaScript.


C.

There is no need to create a User Trace Flag.


D.

Append #ccLog= to the end of the storefront URL in order to get logs in the inspector console.


E.

There is no need tomanually set a cookie to debug with the Site Guest User.


Expert Solution
Questions # 66:

A developer is working on a storefront and is seeing unexpected Ul behavior in one of the custom Lightning web components (LWCs) their team has built.

How should the developer investigate the issue?

Options:

A.

Enable Debug Mode for a storefront user, log in to the storefront, and use Browser Inspection tools and debugger points.


B.

Enable Debug Mode for a storefront user,load the LWC in Visual Studio (VS) Code, attach to session, and view debug logs in VS Code.


C.

Enable debug logs for a storefront user, log in to storefront and perform action, and view debug logs in Setup.


D.

Identify the user, inputs, and failure, then ask Salesforce support to investigate the issue with the custom LWC.


Expert Solution
Viewing page 7 out of 7 pages
Viewing questions 61-70 out of questions