Posts

Showing posts from May, 2020

Can't assign permission set to user. The user license doesn't allow the permission: Configure Messaging

Image
You may see this error while setting up Messaging Channels . While setting up the LiveMessage if you below the above issue then follow the steps. This error can be faced by the admin or any other user with a different profile. The error is self-explanatory, but the cause can be multiple depending on your profile, permission sets, or app permissions. “Can't assign the permission set Messaging Permission Set to user Pritish. The user license doesn't allow the permission: Configure Messaging” Do follow the steps to resolve this error.  1. From Setup, enter Users in the Quick Find box, and select Users. 2. Select the name of the user. 3. Click Permission Set License Assignments. 4. Click Edit Assignments.  5. In the Permission Set License Assignments Edit page, Select Messaging User, Service User (As per requirement). 6. Click Save. Resources: Create a Messaging Permission Set https://help.salesforce.com/articleView?id=messaging_create_permission_set.htm&type=0 Assign the Perm...

The "Customer Community User" for the contact "Edna Frank" is not created properly.

Image
Trailmix ==> Expand Your Reach with Communities >> Community Rollout Strategy >> Create Community Users and a Sharing Set. Challenge ==> Set up a communities user and a sharing set In this challenge, you set up the external sharing model, create a sharing set, and create a customer community user. First, set up the external sharing model with Case set to private. Then, enable Customer Portal settings, and create a sharing set titled Share cases with customers for the Customer Community User Profile. In this sharing set, grant customer community users read and write access to the case object for all cases associated with their account. Ensure that your DE org user has a role assigned. Create a customer community user from Edna Frank's contact record. (Your DE org should already have a contact record for Edna Frank. If it doesn't, create a new contact with first name Edna and last name Frank.) Ensure that the account associated with Edna Frank has cases ass...

SALESFORCE INTERVIEW TIPS

Image
This post gives general guidelines/tips on how to prepare for Interviews. This is not limited only to Salesforce; this is useful for any type of Technical Interviews. Follow the below steps every time before any Face-2-Face, Telephonic, or Client Interview. Preparation It is extremely important that you prepare yourself well for Technical Interview. Invest at least 1-2 hours of your time to understand the job description and the role expectations. Makes notes about how you can justify the role. Visit the Company's website and learn about the product and domain. Find out about the customer's customers, and why they use their product. Visit online Interview preparing sites like Indiabix or Glassdoor and check the company's previous Interview Questions and experiences of the candidates. Visit the discussion forums on the customer's website to understand the common problems related to the product. Try taking mock interviews of yourself with your fr...

Path in a Lightning Flow with Stages

Image
Want a similar setup like Sales Path in a Lightning Flow? There isn't a standard component for that. But still, you can have your own customized Path for Lightning Flow within minutes. This Path will help to track the stages in your flow which will be displayed at runtime on the flow’s screens. This component will indicate the progress of the task and will show the current stage and available stages in the flow screens. This will be like a Guided Path where a user can see the progress of his work or check how many steps are remaining for his task to complete. Path in Lightning Flow Scenario:  The customer wants 3 screens named 'Plan', 'Design', and 'Visualize'. They want these names to be visible like a Stage/Progress on the top of the flow screens. Solution: Step 1:   Create a Lightning Component Go to  Setup | Developer Console | File | New | Lightning Component. Create a 'flowStages_field' component b...

How to Repeat Screen in Lightning Flow Designer

Image
Have you ever came across a scenario where you want to repeat a screen in Lightning Flows? You might be wondering we have Loop element for that, right? NO! The loop element won't work in this scenario because the Loop is used to iterate over items in a collection variable and not the screens.  So how will you achieve this functionality? Well, we have a solution for this. The  Decision  and  Assignment  Elements in Lightning Flows if combined together, they can repeat or call the same screen again and again, just like in recursion. Scenario : A user wants to create an Account and 'n' number of Contacts related to that Account. All this should be in one flow like a Quick Account/Contact Creation . Solution: We can achieve this by creating a for loop kind structure in Lightning Flows. for (initializationStatement; testExpression; updateStatement) { // Create Contact record } Was that confusing??   Yeah!! Well, don't worry, if you ...