Showing posts with label Communities. Show all posts
Showing posts with label Communities. Show all posts

Monday, June 8, 2020

Tips for passing Salesforce B2B Commerce Administrator Certification

Motivation behind this


Yesterday (7th June,2020), I have successfully passed B2B Commerce Administrator certification. Now a days, there will be lot of opportunities on B2B Commerce space which motivates me to learn this.

Right now, there are very limited guidance for preparing B2B Commerce Cloud certification, that's why thought of sharing this. Here are few tips to pass this exam.

Exam Outline


  • Prerequisite: There are no prerequisites for taking this exam
  • Exam Format: 50 multiple-choice questions
  • Time allotted to complete the exam: 90 minutes
  • Passing score: 70%
  • Registration fee: 200 USD
  • Delivery options: Online proctored or onsite proctored delivery. 
  • Results: Provided immediately after exam submission as on-screen text and by email.
  • See the Salesforce Accredited B2B Commerce Administrator Exam Guide for more information about this credential.

I have given myself three weeks of time frame around 60 hours to learn and prepare for this certification and happy to see me passed.




Preparation

  • Completed Salesforce B2B Commerce Basics trailhead module.
  • Getting a org, since I am working for Salesforce ISV Partner so got an org to explore on this. You can install B2B Commerce package at your Developer Edition to explore it.
  • Install package from this Link
  • Link to Partner Navigator (available for Salesforce Partners) B2B Commerce Learning Path
Here is the coverage of Deck Videos:




One Stop Resource



Core Data Model


User and Account Data 

This diagram shows how a community user is related to Account and Storefront.


Pricing and Entitlement

CC Account Group is driving pricing and products which customer can see.



User Presentation

One of the important data models on how Product, Categories, Promotions are related and what are the objects related to internationalization.


Topics to Consider for Exam


I have categorized the topics as follows, for easy reference I have mentioned wiki as hyperlink.


    • Home Page:How to define Spotlight Products, Featured Products, Effective Accounts, Different Widgets.
  • Buyer Accounts and Other Storefront users:
    • Account GroupsAccount groups determine the products and prices your customers see.
    • Effective Accounts : Ability for an user to choose Accounts to browse through the product and place order.
    • CSR Guide : Ability for a Customer Service Rep to login on behalf of Customer.
  • Product and Pricing: This section is most important, there are lots of question with different combinations.
    • Products : Check different types of combinations like Bundles, Kits, Dynamic Kits, Aggregated, Assembly and how products are defined, how pricing is defined, which Component is used for maintaining relationships. Following diagram gives more clarity.


    • Price Lists : How the price lists is defined, check Pricing Strategies Tier based Pricing, Subscription Pricing, Attribute Driven Commerce.



    • Category Product Spec Filter : which helps to Customer to find products.
    • Promotions : How the promotions can be defined, what are the image sources, what the points to be considered for multiple languages.
    • Contract Pricing : Why it is important to link with CC Price Group instead of CC Account Group.

    • Coupons : What types of discounts we can offer, what is the rule types and where Coupons can be applicable or not applicable.
  • Localization: How to localize Storefront, User and Object Localization
  • Seller Market Place : Configuring sellers
Hope, it will help you to prepare for this exam.

Sunday, July 28, 2019

Display Google Map Lightning Web Component at Salesforce Communities

Motivation behind this


After posting my previous blog post Display Google Map using Salesforce Lightning Web Components leveraging modern JavaScript at Linkedin (My Post), there are few community members asked me if that component could be available in Salesforce Communities, which drives me to do one more proof-of-concept on how that component can be available at Communities.


Use Case


How to expose Lightning Web Component at Salesforce Community.


Expected Outcome


After adding LWC component at Community Page, it will look like this:



Solution Approach


Let's break down few steps to be performed:

1. Changes in Configuration File displayLWCMap.js-meta.xml

a) Need to add targets where this component will be  exposed. lightningCommunity__Page and lightningCommunity__Default 

b) Need to add targetConfigs which will contain property to be passed.

So, entire file will look like this:



<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata" fqn="displayLWCMap">
    <apiVersion>45.0</apiVersion>
    <isExposed>true</isExposed>
    <targets>
    <target>lightning__AppPage</target>
    <target>lightning__RecordPage</target>
    <target>lightning__HomePage</target>
    <target>lightningCommunity__Page</target>
    <target>lightningCommunity__Default</target>
  </targets>
  <targetConfigs>
        <targetConfig targets="lightningCommunity__Default">
            <property name="accountNameParam" type="String" default="myValue"></property>            
        </targetConfig>
    </targetConfigs>
  
</LightningComponentBundle>

If the defined property is not exposed in js Controller we will receive error.

So, here I have used accountNameParam which is public reactive property (@api).

There will not be any other changes in HTML and JS controller files.

2. Enabling Community and use your own template.

For more information, refer Build a Custom Theme Layout Component for Lightning Communities

3. Adding Component to the Community Builder

When we try to add this component inside the page, we will see following alert message.





Solving Security Issues


Navigate to Builder à Settings à Security and find following settings:



Add the blocked URL as Whitelist URL.

We can also add trusted sites in the following screen.




Add the displayLWCMap component to the layout, publish the changes and our job is done.


Related Reference




Further Reading