Skip to main content Salesforce and Tableau exam registrations are now closed through July 21st. Learn more about the new Salesforce certification experience coming soon.

Feed

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

Hi. We are trying to turn on LWS on our production org, but we are encountering issue after issue. 

We already refactored some of our custom LWC components, so that they perform better with LWS (mostly removing proxy wrapper from data retrieved using Apex). 

 

Now we have issue with yet another component. It is a big one. 

There is a lot of data rendered on the component and user has the ability to edit it. 

I already made copy of the data using JSON.parse(JSON.stringify()) but it did not help. 

On top of that, we are using barcodeScanner which is functionality provided by SF (mobileCapabilities). 

Without LWS code scanning takes around 1 second to scan. With LWS it can take almost 10 times that! 

And we do not have ability to refactor that method. 

 

So I have a couple of questions: 

- are there plans to fix barcodeScanner functionality with LWS enabled? 

- are there any other ways to help with LWS performance on large LWC components? Besides mentioned above, avoiding sets and maps etc. 

- this LWC component is used in flow and that flow is launched from LWC on app page. Could this also slow it down? (although parameters passed down from flow are only strings, not objects or arrays)

5 answers
  1. Today, 2:40 PM

    @Gary Chang

     

     

    I'm not able to do that. The scanner does not work on desktop and I cannot debug component on mobile (SF app is not detected when using USB debugger with Chrome Inspect Tool). I tracked timing with JS code only.

0/9000

Hi,    I'm new to Experience Cloud. I have a lead assignment rule which works fine when I create a lead from Salesforce UI. But when I create the lead on the portal as a partner user, then the emails are not getting triggered to the users in the queue. Am I missing something here?     Thanks in advance    

2 answers
  1. Jun 18, 3:22 PM

    Hi Chandrika,

    When you create using normal mode - Use active assignment rule would be checked by default and from experience cloud its not there.

    Try below approach

    Use a Flow to Trigger Assignment Email

    If you're creating the lead using a Flow (recommended in Experience Sites), do the following:

    ✅ Set “Use Active Assignment Rule” to TRUE

    When using Create Record element in Flow:(you can do it in before save)

    Click the Advanced section.

    Enable:

    Use active assignment rule

    Send email notification to the assigned user

    Thanks

0/9000

Hi ,got a question on completing the Configure Agentforce for Service Trailhead challenge, I am consistently receiving the error "User doesn't have access to use agent" when attempting to create the Agentforce agent and assign the EinsteinServiceAgent User.

I have meticulously followed all instructions, including:

  • Ensuring the "Turn on Einstein" and "Agentforce" toggles are enabled.
  • Verifying the EinsteinServiceAgent User (identified as Agent, Einstein) has the Einstein Agent User profile?As a student completing the "Configure Agentforce for Service" Trailhead challenge, I am consistently receiving the error "User doesn't have access to use agent" when attempting to create the Agentforce agent and assign the EinsteinServiceAgent User. 

    I have meticulously followed all instructions, including:

    • Ensuring the "Turn on Einstein" and "Agentforce" toggles are enabled.
    • Verifying the EinsteinServiceAgent User (identified as Agent, Einstein) has the Einstein Agent User profile.
  • #Trailhead Challenges  #Trailhead  #Agentforce  #Trailhead Superbadges  #TrailblazerCommunity
0/9000

https://trailhead.salesforce.com/content/learn/projects/build-a-simple-flow/branch-the-flow?trailmix_creator_id=strailhead&trailmix_slug=prepare-for-your-salesforce-administrator-credential    I am unable to complete this step   

  1. For Condition Requirements to Execute Outcome, select All Conditions Are Met (AND).
  2. Click Add Condition and then enter these conditions.
    • First condition:
      • Resource: select the Contact Info screen, then select the If this contact already exists, update the existing record component, then select Value
      • Operator: Equals
      • Value: select the True global constant
4 answers
  1. Today, 2:39 PM
    I was able to get it to work by just putting in the api name of the permission set and save. I do not select it from a drop down. I think that is where I got confused. I wasn’t aware that Salesforce Flows used combo boxes.
0/9000

The Agentforce Data Library is not working for me. When I ask any questions related to the policy that is there in the PDF file, I keep getting the following answer.

 

"It seems I couldn't retrieve the information about the <topic>. You might want to check your company's internal resources or contact customer support for detailed information."

 

Here are the steps that I have followed:

  1. Created an Agentforce (p.k.a Einstein) data library and added a pdf file.
  2. Ensured that the search index in Data Cloud is in a ready state.
  3. Added the data library to Agentforce (default).
  4. The agent has the standard "General CRM" topic and "Answer Questions with Knowledge" standard action attached to the topic.

When I query anything related to the content of the PDF file, I get answers like “I couldn't find specific information on the ticket cancellation policy. If you have any other questions or need assistance with something else, feel free to ask!”

 

I am using the Developer Edition Org.

 

This is such a simple configuration. What am I missing?

11 answers
  1. Today, 2:38 PM

    Hi Pavlina,

    There is some issue here. Please log a case with trailhead support.

0/9000
5 answers
  1. Today, 2:37 PM

    Thanks Geethanjali. Do mark the best answer and close the thread.

    Thanks

0/9000

Hi all 👋

I'm building a Slack app that responds to slash commands. I'm currently sending an ephemeral "Loading..." message using the response_url. Later in the process, I want to replace that message with the actual result using replace_original: true, but it ends up posting a new message instead of updating the original one.

Is it possible to update or replace an ephemeral message sent via response_url, or is there a recommended workaround for this kind of async response pattern?

Thanks in advance!   

0/9000
3 answers
  1. Today, 2:36 PM

    Hi Giridharan,

    I'm still not clear on necessity of having a link to prompt builder just to serialize the data. If ths purpose is just to serialize the data then it can be done directly on Apex. You can either use wrapper methods to serialize or use maps and list accordingly.

    I just need to know the reason behind involving a prompt builder.

    If you are getting some insights based on LLM its fine. You can either use prompt builder invocation using connect api methods or you can directly invoke LLM using Model APIs.

    I need more clarity on exact use case.

    Thanks,

0/9000

Hi Trailblazers,

I’m aware that exam scheduling is currently suspended until July 21st, but I would still like to access Webassessor and set up my account in the meantime, even if I can’t book an exam yet. I'm trying to create a new account, but the webassessor system won’t let me do it.

 

Has anyone else experienced this issue? Is there a workaround or someone I can contact for support? 

Thanks 

 

#Webassessor Exams  #Webassesor Account  #Webassessor Portal  #Online Exam Issue With Kryterion

0/9000

Hi,  

I would like my tech to add the product they have used for the survey.  

I have created a text field for them to add the name of the product, then i create a second screen and used a picklist record collection to show all products that contain the value of the product text field. 

This works in normal flow but as this is different design I can't get it to work. 

Is this even possible? thanks 

 

5 answers
0/9000