Skip to main content Take our 5-minute Community Survey. Open now through 4/11/2025. Click here to participate.

Feed

Connect with fellow Trailblazers. Ask and answer questions to build your skills and network.

Regarding Become an Agentblazer Champion, I have completed all the steps in Bring External Data into the Contact Page Layout under Connect Data Cloud to Agentforce and Prompt Builder in Agentblazer Champion. But, still it shows error after verifying the playground. I'm sure and checked thrice the steps performed and it seems to be an error. 

 

Error: 

We can’t find the Reservations related list in the Contact Lightning Record Page.

I have created Reservations related list in the Contact Lightning Record Page but still it gives me this error.

 

#Trailhead Challenges  #Trailhead

1 answer
  1. Today, 8:31 AM

    Hello @Sivamanasa Thotakura

    i have found my misstake.

    In the step before where i have set up the "Data Cloud Related List" i have changed the name from the auto generated Child Relationship Name from "ExternalReservation" to only "Reservation" by removing the "External" to save time.

    But the Trail expects the name to be "Reservations" with an "s" on the end.

     

    The Label was correct "Reservations" so you dont see that Child Relationship Name later in the ui and dont see this error. 

     

0/9000

An unexpected error occurred, and we couldn't check if the new Product Support case for Pyramid Construction was created. I was working on a case escalation rules and this happen

 

#Trailhead Challenges

2 answers
0/9000

Hello,     Whilst working in RCA I am using the "New Contract" actions that the salesforce articles suggest using to generate a contract from a Quote. The issue I'm having here is the Contract Start Date is not being mapped from the Quote Start Date. The "Create Contract" action does map the start date and this is controlled by the context definition mapping, however, it seems that when the contract is created with the "New Contract" flow (which uses the CreateContract Apex Action) that the created date is used rather than the Context definition mapping. Has anyone else run into this?    The second issue is on the Order Effective date not mapping from the quote when using the "Create Order" action. I believe this would be controlled in the Context Definition mapping but I can't seem to find it. This causes issues when trying to handle renewals.     Any help would be greatly appreciated.     Thank you 

@* Salesforce Revenue Cloud * 

2 answers
0/9000
2 answers
  1. Divya Chauhan (Kcloud Technologies) Forum Ambassador
    Today, 8:30 AM

    Hello @Raveendhran Mahendran

     

     you are correct that the 

    EmailMessage

     object doesn't capture all email details, especially for emails sent via Flow. To retrieve comprehensive email data, including those sent through Flow, you can explore the following options:  

    1. 

    Enhanced Email Logs:

    • Salesforce provides Email Logs that capture details of all emails sent from your org, including those sent via Flow. You can request these logs from Salesforce Support or generate them directly if you have the necessary permissions.
    • Email Logs include information like sender, recipient, subject, and delivery status.

    2. Custom Logging for Flow Emails:

    • To track emails sent via Flow, you can create a custom logging mechanism:
      • Add a custom object (e.g., "Email Log") to store email details.
      • Use Flow to populate this object with relevant data (e.g., recipient, subject, timestamp) whenever an email is sent.

    3. API Integration:

    • If you're using external email services (e.g., Marketing Cloud or third-party tools), you can leverage APIs to retrieve email data. For example:
      • Use the Marketing Cloud SOAP API to fetch email details.
      •  the Marketing Cloud SDKs for programmatic access .
0/9000
2 answers
  1. Today, 7:55 AM

    Hi , 

     

    Your Trailhead Playground comes with (2) full Salesforce licenses. If you've already used up both licenses and you try to create the new System Administrator user, it will look like this: 

     

     

    Profiles other than admins also use Salesforce licenses.

     

     

    If you do not find the "Salesforce" license in the drop-down, please check for the other user who's active with that license and deactivate them, please follow the below steps to deactivate.

     

     

    Goto setup--> users-->click view users drop down and then select "Active users" option. Here you can find the list of active users. Please deactivate the "salesforce" license user.

     

     

    NOTE: Salesforce License can be assigned to other Profiles too, hence please check out all your active user who has Salesforce license and then proceed accordingly. 

0/9000

We're looking into implementing Google Tag manager into our experience cloud site and we're struggling with the CSP aspect of this.

Although we added the google related domains to the csp to allow script-src and others, that's not then covering everything, because of the in-lines within Google Tag Manager.

 

We've been pointed in the direction of Use Tag Manager with a Content Security Policy  |  Security and Privacy hub  |  Google for Developers and enabling the container tag to use CSP. Notably looking at the nonce approach.

 

Has anyone taken this approach previously, or had any success implementing Google Tag manager via another approach?

7 answers
  1. Today, 8:20 AM

    We also facing same issue GTM bring linkedin, ticktok etc, should we implement nonce or we have to add all those to CSP in builder ?

0/9000

Named credentials along with external cred and auth provider combination defined for each environment. 

External services are using env specific named credentials. 

Challenge is automating external services to use env-specific or default named credentials, as SOQL query doesn't support querying  ExternalServiceRegistration so implementing SandboxPostCopy interface doesn't seem like solution. 

I would like to avoid manual efforts upon sandbox refresh hence I  would like to explore possible automation. 

Thanks

3 answers
  1. Today, 8:17 AM

    Hi @VINAY KUMAR K

     

    Use of metadata API seems like a solution but I find it bit challenging to work with metadata API, hence I was trying to find if there are better ways to update the binding of external services with env-specific named credentials. 

    Hi

    @Ross Belmont

     

    I understand that salesforce won't carry over authentication tokens but my intention is to update the bindings of external services and env-specific named credentials upon sandbox refresh. Currently, I am using a class that implements SandboxPostCopy and performs some actions, I am planning to update this class implement code to update the bindings of external services and named credentials. 

     

0/9000

public class MyIterable implements Iterable<String>{

private List<String> strings;

//constructor that initializes the string field with the provided list

public MyIterable(list<String> strings){

this.strings = strings;

}

//Iterator method taht returns on iterator for the strings list

public Iterator<String> iterator(){

return strings.iterator();

}

}

Encounter with an error called Challenge not yet complete in Empathetic Impala Playground

We can't find the debug log with the string ‘Hello’.

Can anyone pls help me on this issue!!!!

 

 

#Trailhead Challenges

2 answers
  1. Today, 6:40 AM

    Hello @margam mamatha

    Try to use this code:

    Apex Class:

    public class MyIterable implements Iterable<String> {

    Private List<String> strings;

    // Constructor to initilize the list of strings

    public MyIterable(List<String> strings)

    {

    this.strings = strings;

    }

    // Implementing the iterator method

    public Iterator<String> iterator(){

    return strings.iterator();

    }

    }

    Test Class:

    @IsTest

    public class MyIterableTest {

    @IsTest

    static void testIterableForLoop(){

    // Create a list of strings

    List<String> strings = new List<String> {'Hello', 'World'};

    // Create an Instance of MyIterable

    MyIterable myIterable = new MyIterable(strings);

    // Use a for loop to iterate over the MyIterable instance

    for(String str: myIterable){

    //Print each string to the debug log

    System.debug(str);

    }

    }

    }

    After saving the Apex Class and Test Class, click "Run Test". 

     

    https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX00000KByK30AL

0/9000

I'd like to add the Contract Contact Role related list to the Contact page layout, akin to Opportunity and Case Contract Roles. But it's not available. Why is the relationship between Contract and Contact different than Opportunity or Case and Contact?  

 

#Contract Object

1 answer
  1. Divya Chauhan (Kcloud Technologies) Forum Ambassador
    Today, 8:10 AM

    HII @Craig Munster

     

    The reason you can't add the

    Contract Contact Role

    related list to the Contact page layout is due to how Salesforce structures the relationship between Contacts and Contracts. Unlike Opportunities or Cases, where Contact Roles are directly tied to the Contact object, the relationship between Contracts and Contacts is managed differently. 

    Here are some  Key Differences:

    1.Independent Setup for Contact Roles:

    • In Salesforce, Contact Roles for Contracts are configured independently. They are not inherently tied to the Contact object in the same way as Opportunity or Case Contact Roles.
    • This means the related list for Contract Contact Roles is available on the Contract page layout, but not on the Contact page layout.

    2.One-Way Relationship:

    • For Opportunities and Cases, the Contact Roles are bi-directional, meaning they can be viewed from both the Contact and the related object (Opportunity or Case).
    • For Contracts, the relationship is more one-way, focusing on the Contract object itself.

    3.Customization Limitation:

    • Salesforce does not natively support adding the Contract Contact Role related list to the Contact page layout. This is a platform limitation.

    If you need to display Contract Contact Roles on the Contact page layout, you can use a custom solution:

    • Custom Related List:
      • Create a custom Visualforce page or Lightning Component to display Contract Contact Roles on the Contact page.
      • Use SOQL queries to fetch the related Contract Contact Roles and display them dynamically.
    • Custom Report or Dashboard:
      • Build a report that shows Contracts and their associated Contact Roles, filtered by the Contact. Embed this report on the Contact page layout using a dashboard component.
0/9000

Line: 2, Column: 1 

System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, ExampleTrigger: execution of AfterInsert caused by: System.EmailException: SendEmail failed. First exception on row 0; first error: INVALID_ID_FIELD, ID is invalid or you do not have access to the record.: [toAddresses, Your email address] Class.EmailManager.sendMail: line 12, column 1 Trigger.ExampleTrigger: line 5, column 1: [] 

 

#Trailhead Challenges

4 answers
0/9000