Answers - Salesforce Trailblazer Community
Trailblazer Community
Ask Search:
Brian KesslerBrian Kessler 
I have completed all the tehcanical requirements for the Lightning Web Components Specialist superbadge, but because the authors of the challenge don't understand rule #1 of professional testing (DO NOT TEST IMPLEMENTATION DETAILS), I am having trouble to collect my badge.

At present, I am stuck on challenge 13 with the error:
Challenge Not yet complete... here's what's wrong:
We can't find the required imports in the component boatDetailTabs JavaScript file. Make sure the component was created according to the requirements, including the imports from the module that includes wire adapters to record data.

As my solution is fully functional, it seems either their solution has an unnecessary dependency or that their algorithm for checking (which shouldn't exist anyway) is defective.

Alternatively, they are breaking another rule of testing (each test should test one and only one thing) and they've compounded this problem by providing a useless and even misleading error message.

Either way, these are my imports:
 
import {APPLICATION_SCOPE, MessageContext, subscribe} from 'lightning/messageService';
import {NavigationMixin} from 'lightning/navigation';
import {getFieldValue, getRecord} from 'lightning/uiRecordApi';
import {LightningElement, track, wire} from 'lwc';
import labelAddReview from '@salesforce/label/c.Add_Review';
import labelDetails from '@salesforce/label/c.Details';
import labelFullDetails from '@salesforce/label/c.Full_Details';
import labelReviews from '@salesforce/label/c.Reviews';
import labelPleaseSelectABoat from '@salesforce/label/c.Please_select_a_boat';
import {refreshApex} from '@salesforce/apex';
import BOATMC from '@salesforce/messageChannel/BoatMessageChannel__c';
import BOAT_TYPE_FIELD from '@salesforce/schema/Boat__c.BoatType__c';
import BOAT_ID_FIELD from '@salesforce/schema/Boat__c.Id';
import BOAT_DESCRIPTION_FIELD from '@salesforce/schema/Boat__c.Description__c';
import BOAT_NAME_FIELD from '@salesforce/schema/Boat__c.Name';
import BOAT_LENGTH_FIELD from '@salesforce/schema/Boat__c.Length__c';
import BOAT_PRICE_FIELD from '@salesforce/schema/Boat__c.Price__c';

Can someone please tell me what I is "missing"?

Thanks,
-Brian.

 
Best Answer chosen by Brian Kessler
Todd HalfpennyTodd Halfpenny

Oh my life!

I've been trying to get past this issue for almost an hour and a half now, and I thought what if I just change the order of "getFieldValue" and "getRecord" round (I had them like you - in alphabetical order), but this was not in the order they were mentioned in the challenge.

AND NOW IT WORKS (or at least I'm onto the next error).

Would you mind trying this out too please @Brian?

Vikas KumarVikas Kumar 
Hello , I am prepairing for salesforce admin certification exam adm201 and planning to write coming week . Can anyone please let me know what are good reading resources?
Best Answer chosen by Vikas Kumar
Anil S VaddadiAnil S Vaddadi
hi Vikas

in addition to trailhead , you can test your skills with. few. mock test 
this will help you practice actual exam scenarios.

https://www.proprofs.com/quiz-school/story.php?title=salesforce-administration-test-adm201
https://www.salesforceben.com/certified-admin-mock-exam/
https://www.simplilearn.com/salesforce-admin-exam-free-practice-test
https://quizlet.com/501623927/test
https://quizlet.com/359854968/test
https://www.proprofs.com/quiz-school/story.php?title=salesforce-administration-test-adm201-part-3

All the best..
 
Hans-Georg GruberHans-Georg Gruber 
Hello,
i would like to write over some data like stage etc from opportunity to the connected Person Account (meaning the account object). 
What is the simplest way to do this?
I am thinking of the following solutions:
1) Using a cross object formula -- not sure how this works with existing objects
2) using a process to write the fields over - but in the process I did not find a way to carry over the field value. 
3) use process and flow with a variable to carry over the value. Might work but isnt there a simpler solution?
Thanks!
Hans-Georg
Best Answer chosen by Hans-Georg Gruber
Jonathan FoxJonathan Fox
Simplest way would be to create a brocess using process builder for the object Opportunity on create or update.

Criteria would be Text field is not Null

Action, update field, record related to the record which started the process. And then choose your account field.
Simon DukeSimon Duke 
I have a Visit object that captures records of visits made to our Accounts. Visit records are created through an integration. When a Visit record is created or edited, a process is launched that invokes a flow if the Account lookup field on the Visit record is Null. The flow then attempts to find an account with an exact match name to the Site Name (text field) on the Visit record. If found, the Flow sets the Account Name (lookup) on the Visit record. Up to this point, I have this working successfully.

I now need to evaluate a Date/Time field on the related Account (Last_Visited__c), and IF this Last_Visited__c is less than the Departure__c on the Visit record (also Date/Time), then to update the Account Last Visited Field with the value from the Visit Departure field. My setup looks correct to me, however, it's not working. I'd really appreciate it if someone could look through the below and let me know where I've gone wrong? Let me know if you need screenshots from other parts of the flow/process.

Screenshot - PB
Best Answer chosen by Simon Duke
Simon DukeSimon Duke
I've found the issue. I needed to enable Recursion

Enable Recursion Screenshot
Murali Kumar GopalakrishnanMurali Kumar Gopalakrishnan 
I am a new learner learning the below chapter 
https://trailhead.salesforce.com/content/learn/modules/salesforce1_mobile_app/salesforce1_mobile_app_actions_objectspecific

I am performing the activity mentioned in this chapter

I would like to understand how the lookup realtionship added to "Activity" is showing up in Event object. 

Could anyone help me to understand this.
Best Answer chosen by Murali Kumar Gopalakrishnan
subas ziasubas zia
Activities:
There are two types of Activities 
1- Task
2- Event
The Activity itself does not have a page layout or record types whereas you can create/customize page layouts and record types on Event and Tasks

Difference between Event and Task: The event such as a meeting or conference calls has a particular day and time. On the other hand, the task does not have a specific date and time to complete, you can specify a due date for a task though. 

Hope this helps!
Best Answer chosen by Aron T
Shivam KumarShivam Kumar
Hi Aron,
Please refer to this link for some permissions

https://support.salesforce.com/articleView?id=mfs_flow.htm&type=5


Thanks
Best Answer chosen by Raghu Kotha
Bartek DyczkowskiBartek Dyczkowski

Hey Raghu, 

Check out this article: https://blog.cloudanalogy.com/salesforce-dev-edition-vs-playground/

- Bartek

Erika AlonsoErika Alonso 
I'm wondering if there is a way I could further condense this formula using the OR function?

IF(
AND(
/* IF U.S. Donation to Charity1, log Card */
{!Create_a_task_Charity1} = TRUE,
{!donorCountry} = "United States" ),
"Card: ",

IF(
AND(
/* If U.S. Recurring ≥$25 to a charity other than Charity1, Log Card */
{!donorCountry} = "United States",
{!Find_Opportunity_Record.Recurring_donation__c} = TRUE,
{!Create_a_task_Charity1} = FALSE,
{!donationAmount} ≥ 25 ),
"Card: ",

IF(
AND(
/*If U.S. non-recurring ≥$100 to a charity other than Charity1, Log Card*/
{!donorCountry} = "United States",
{!Find_Opportunity_Record.Recurring_donation__c} = FALSE,{!Create_a_task_Charity1} = FALSE,
{!donationAmount} ≥ 100 ),
"Card: ",

"Email: " ) ) )
Best Answer chosen by Erika Alonso
Paul McCollumPaul McCollum
Like this: 
IF(
    AND(
        {!donorCountry} = "United States" ,
        OR(
            AND(
		       /* IF U.S. Donation to Charity1, log Card */
		       {!Create_a_task_Charity1} = TRUE),
            AND(
                /* If U.S. Recurring ≥$25 to a charity other than Charity1, Log Card */
                {!Find_Opportunity_Record.Recurring_donation__c} = TRUE,
                {!Create_a_task_Charity1} = FALSE,
                {!donationAmount} ≥ 25 ),
            AND(
                /*If U.S. non-recurring ≥$100 to a charity other than Charity1, Log Card*/
                {!Find_Opportunity_Record.Recurring_donation__c} = FALSE,
                {!Create_a_task_Charity1} = FALSE,
                {!donationAmount} ≥ 100 )
        )
    ),  "Card: ","Email: " 
 )

 
Monika WilliamsMonika Williams 
Is it possible to add a logo as the "From Name" when creating a Sender Profile in Marketing Cloud? I think that From Names in marketing cloud can only be text, anybody have experience of uploading an image or logo as their from name? If so, how did you do it?
Best Answer chosen by Monika Williams
Paul McCollumPaul McCollum
From Name needs to be exclusively text to fit in the email program basic capability. 
You are filling in "My Friendly Name"<myemail002@example.com>. There's no angle to interpret an image call. 
SOME email providers are letting you load basic emojis as part of your name or subject but that would be per provider (gmail, outlook.com, etc...) but it's not likely to be customizable. 

Best approach to keep your messages standard would be to adjust the template. Email body can use html and custom images. A custom "Signature" would be another way to add custom HTML/Images but i don't know if that's available in MC.