Answers - Salesforce Trailblazer Community
Trailblazer Community
Ask Search:
Shubhashini RajaShubhashini Raja 
Hello Trailblazers!!
I cleared my Admin Certification today. I'm so happy. Thank you so much Trailblazer Community for helping me accomplish this. You guys have responded immediately for every question I posted and thanks a lot for sharing the required materials on topics I need referencing. You guys are amazing. Let's keep Blazing!!

Next prep for "Advanced Admin"
 
Best Answer chosen by Shubhashini Raja
Sakthivel MadeshSakthivel Madesh
Wow.. Congratulation Shubhashini !!

Try this trailmix from trailhead - https://trailhead.salesforce.com/en/users/strailhead/trailmixes/prepare-for-your-salesforce-advanced-administrator-credential

Advanced Administrator Quiz from SalesforceBen Website - https://www.salesforceben.com/certified-advanced-administrator-quiz/
Ryan MitchellRyan Mitchell 
Hello Trailblazer Community! 
I am looking to see how I would create a formula that would show me the number of days from when a date field was populated. 
For example, we have an MQL date field, and when a value goes in that field, I would need this formula to start counting in days. I have 6 different date fields I am looking to do this with. 
As always, any help is appreciated,
Thanks!  
Best Answer chosen by Ryan Mitchell
Kundan Kumar JhaKundan Kumar Jha
Hi Ryan,

I have on custom solution in my mind, when any  value populated in that specific date field you need to store that date on  another field and create a formula using that field.

Datatype = Formula 
Result = Number 
Formula =  TODAY()  - TheDateField__c 


Thanks!
Shannon AndreasShannon Andreas 
I have 2 date fields: Date From and Date To (e.g. Date From = 04/11/2021; Date To = 06/15/2021.

I need to find the number of days in each month by month (e.g. there are 19 days in April, 31 days in May, 15 days in June).

I cannot seem to figure this out declaritivly. I bet a Flow can do this, but not sure where to start! Can someone help me please?! This is time-sensitive as well...of course :)

Thanks,

Shannon

@SteveMo ???
Best Answer chosen by Shannon Andreas
Eric PraudEric Praud
Yes, that's exactly what I'm saying, in order to be scalable, you need a custom object that will be populated with a flow.
1/ Create a custom object
2/ Create the following fields:
Master Detail to the original object
Start Date
End Date
Number of Days Formula returning a number
EndDate__c-StartDate__c
Budget formula returning Text
ParentObject__r.Budget__c
Now, when someone enters the start and end dates on the parent record, you coudl trigger a flow that woudl create one record in this new object for each month.
For example, your start date is 04/11/2021 To 06/15/2021
The flow would create one record where
Name=April - 2021
Start Date= 04/11/2021
End Date=04/30/2021

The flow would create a second record:
Name=May- 2021
Start Date= 05/01/2021
End Date=05/31/2021

The flow would create a third record:
Name=June- 2021
Start Date= 06/01/2021
End Date=06/15/2021

There are a few difficulties here.
First, you need to trigger the flow the first time the dates are entered, but also when they are changed.
If they are changed, you can either delete all the related records and create new ones, or try to find the existing ones, delete the obsolete ones, mayeb edit others (for example the start date), and maybe create new ones.

Also, you need formula variables for the name, start date and end date. Realistically, if you have a developer at hand, I'd ask them to code this
 
Mark OlsenMark Olsen 
I'm working with a connected app which is using the JWT Bearer Token flow for API access. Generating access tokens and using them for API calls is working fine. When I use the Token Introspection to check the status of an access token I'm getting an "invalid client credentials" error.

According to the documentation I need to pass in a client_id and client_secret value for authorization. The documentation does not clearly state where these values are defined on the connected app.
  • For the client_id I'm using the "Consumer Key" listed on the connected App's "Manage" page. The example appears to be in the same format.
  • For the client_secret I'm using the "Consumer Secret" listed on the connected App's "Manage" page. The example does not appear to be in the same format however there is no value on the App's "Manage" page that matches the format in the example.
  • For the endpoint I'm using the "my" domain for the instance: https://REDACTED.my.salesforce.com/services/oauth2/introspect
The connected app has the setting "Introspect All Tokens" enabled.
Anyone have any experience with this and can point me in the right direction?
Best Answer chosen by Mark Olsen
Mark OlsenMark Olsen
Was able to solve this with the help of Salesforce support. I was using the correct parameters however the endpoint was not recognizing the POST payload encoding type I was using.
LaTrecesa LeSureLaTrecesa LeSure 
I have no idea how to fix this error. I am trying to install the managed package Dreamhouse per the Trailhead Playground trail. I've even tried using a different sandbox and my developer's copy. I am at a loss.

I moved on to the next Trail because this didn't seem to hold me back from anything but I'd really love to fix this and I want my points and badge. Help!

This app can't be installed.
There are problems that prevent this package from being installed.
Custom Field Definitions(00N4100000eS8Sc) Duplicate RelationshipNameThe relationship name "Favorites__r" is already used by custom field Favorite__c.Property__c. Please rename existing relationship name.
 
Best Answer chosen by LaTrecesa LeSure
Greg OwenGreg Owen
You need to update the relationship name of the that custom field... the app is trying to install on with the same name. Go to the custom field listed and edit the related list name change it to Favorites2
Joe WehrJoe Wehr 
Link: https://trailhead.salesforce.com/en/content/learn/projects/workshop-platform-events/platform-event-subscribe
  1. I've completed all the steps so far. 
  2. I have authenticated into the Heroku app
  3. Clicking the "Broadcast bear warning" successfully sends the notification to Salesforce and appears where it should in the Utility Component
  4. The Verify Step failsIt doesn't appear that you've logged into the Bear Watch app yet. Please do so now or log out then log in again.
I've tried these steps over and over again:
  • Logging out, Logging back in of the heroku app
  • Logging out of trailhead and logging back in
  • Opening both parts up in a private browser
  • Firefox and Chrome
Any suggestions on what I may be doing wrong - or is this module broken?
Best Answer chosen by Nikitha (salesforce.com) 
NikithaNikitha (salesforce.com) 

Hey Joe, 

I am a member of Trailhead Help, I assume this issue needs further review and we may need access to your playground. We will reach out to you via email to investigate further. 

Thank you!


++CreateTrailheadCase  ← You can ignore this command, it is a tool used by our Agents to tell the system to create your case.

Ivan RubioIvan Rubio 

I've added the screen component onto my screen element but then when I go into the decision element the toggle component doesn't appear as it said it would in the trailhead. 

Toggle added to the screen

Can't find component on the decision element
https://trailhead.salesforce.com/content/learn/projects/build-a-simple-flow/branch-the-flow  (https://trailhead.salesforce.com/content/learn/projects/build-a-simple-flow/branch-the-flow)

Best Answer chosen by Ivan Rubio
Helena HedrichHelena Hedrich
Hi Ivan,

I've faced the same issue and finally got it working this way: Open the Screen element > select the toggle component > uncheck "Manually assign variables (advanced)". You will have to confirm the deletion. Then I was able to choose the toggle value described in the trailhead module.

Flow toggle component

I think it would also be possible if you create a new resource for the "Value" field in the output section of this toggle component.
Sarah McGranahanSarah McGranahan 
For example: If our outside sales team member would like to include our tech support team member on an email, can they be carbon copied within Salesforce Engage? Thanks!
Best Answer chosen by Ed (salesforce.com) 
Paulo GoncalvesPaulo Goncalves
Hey Sarah,
At the moment Cc/Bcc functionality in Pardot or Salesforce Engage is not there, but you can vote for the idea here
https://success.salesforce.com/ideaView?id=0873A000000E6ChQAK
 
Best Answer chosen by vivek jadhav
Piyush SinghalPiyush Singhal
Hey Vivek,
Try this https://trailhead.salesforce.com/en/content/learn/modules/advanced_formulas/text_formulas
Hope this helps,
Thanks,
Piyush
Alexci CopelandAlexci Copeland 

All,

I have previously accessed communities via Set Up > Customize > Communities > Community Builder

Now when I go to Set Up and search for communities nothing comes up.
 

I am using a system administrator account. Nothing has been changed. It's as if someone deleted the entire thing. 

Please Help :) 

Best Answer chosen by Alexci Copeland
Tony TrinhTony Trinh
Hi Alexci,

I believe it is now called "Digital Experiences"
I haven't had exposure to communities, but I did see some questions the past couple of weeks which stated that Communities have been renamed Digital Experiences.