Skip to main content The new Salesforce certifications experience is live! Visit Trailhead Academy to explore your new certifications homepage.

Feed

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

Hi Team,    I’m encountering issues while working with a second-generation package for an agent component.    I followed the official Salesforce documentation for packaging agents:  https://developer.salesforce.com/docs/atlas.en-us.pkg2_dev.meta/pkg2_dev/dev2gp_package_agent_templates.htm

 

Here's a summary of what I’ve done so far:  Created a package for the agent using the above guide.    Deployed the Agentforce component successfully to a scratch org.    Verified the agent's functionality in the scratch org after deployment.    Generated the corresponding bot template (Agentforce_Employee_Agent_v1_Template).    However, when attempting to deploy the code (including the bot template) into the scratch org, I am encountering the following errors:   

  1. Cannot find Bot Template with name: Agentforce_Employee_Agent_v1_Template
  2. Error parsing file:Element {http://soap.sforce.com/2006/04/metadata}agentTemplate invalid at this location in type BotTemplate
  3. API Exception:  duplicate value found: ParentId duplicates value on record with id: 9ZVAu0000000OYkOAM    Could you please help us to resolve these issues?

#Agentforce

7 answers
0/9000

Hey All, 

i´m trying to finish creating an in-app prompt, but in the end i alway get a failure(see pic). Tryed it now already twice, but its always the same and i don´t get the points.  

How to solve the technical issue, is this a bug?

 

Aufgabe in Empathetic Unicorn Playground0725 noch nicht abgeschlossen.png

Thanks for Help 

best Stefan 

 

 

 

#Trailhead Challenges

2 answers
0/9000
2 answers
  1. Today, 6:13 AM

    When someone uploads a file through the portal, Salesforce creates a record called ContentDocumentLink to show that the file is linked to a user or record. To allow your internal users (like employees) to edit the file details (such as the name or description), you first need to detect when the file is uploaded. This can be done using a Flow or Apex Trigger that runs after a ContentDocumentLink is created. 

     

    After detecting the uploaded file, you can give access to your internal users by creating another ContentDocumentLink record. In this new record, you link the same file to the internal user’s ID and set the sharing type to Collaborator (this allows them to edit the file details). You should also set the visibility to AllUsers or InternalUsers so the internal team can see and edit the file as needed.

0/9000
2 answers
  1. Piyusha Pilania (Horizontal Digital) Forum Ambassador
    Today, 6:10 AM

    @AKHILA V

    Do you have any questions around this? 

     

0/9000
2 answers
  1. Piyusha Pilania (Horizontal Digital) Forum Ambassador
    Today, 6:10 AM

    Hi @Tanshi Mehra

    ! Sometimes it takes up to 30-40 minutes to get the verification email. Also check your Spam folder.  

     

    If you are using any email address other than gmail, try using gmail email address. 

     

0/9000
1 answer
  1. Today, 6:08 AM

    Hi , 

     

    The default team should be like this: 

     

     

    Hi , The default team should be like this: https://developer.salesforce.com/forums/?

     

    https://developer.salesforce.com/forums/?id=9060G0000005fCTQAY

     

     

     

    I reviewed the issue further in your org and it seems you didn't add the default team in the Account Team related list under Edge Communications. You have to click the Add Default Team button under Account Team related list in Edge Communications contact record as shown in the below screenshot: 

     

     

     

    image.png

     

    And this will add Amy Daniels user to the Account Team related list who has Sales Engineer role and then challenge works as expected. I have already added it in your org and you can verify the challenge again.

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

0/9000

In this project there is no Conversation Preview or Copilot AI. 

And how to going "Test Agent" step in this project because yesterday I was working on this site or page and I activate the steps. But today how to going that exact step without entering any of the steps because i have done already?.......Now i want to working on Conversation preview or copiolt AI asper the TEST AGENT step... Kindly help me sir/mam. 

 

Thankyou for your support sir/mam.  

 

#Trailhead Challenges

1 answer
0/9000

question. If I want to pull records of last three years, so we are in 2021, I want to pull records from 2018- 2020, can I use "LAST_N_YEARS: 3" in the relationship criteria? Is this correct?

 

Thanks

9 answers
  1. Today, 6:00 AM

    @Tina Chang

     

    After testing different comparison operators with LAST_N_YEARS: 310, including >, =, and >=, I found that using >= returned the same record as when I manually added the exact boundary date. That confirmed it was the right choice for capturing all records from that point onward—so I went with it. Hope that helps!

0/9000

Hi Team,    I've installed 'magic mover' in my org and did all the setup(pre/post) mentioned in the document. When I try to access 'Update Page Layouts' tab, I'm getting screen (see attachment magic mover. PNG) and after I click on button 'Create Remote Site Setting' nothing is happening. I've added the url which is showing in the attached(magic mover.PNG) screen in remote site settings and trusted urls also.  When I click on create remote site settings button, I'm getting attached(Console Log.PNG) error in console logs. I've added those urls also in trusted urls and remote site settings.     

2 answers
  1. Today, 5:58 AM

    Oh ok. Let me know if you find something.

0/9000
1 answer
0/9000