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.
1 answer
0/9000

Title: How to Integrate 3rd-Party Popup in Salesforce LWC Without iframe/VF (Shadow DOM Compatibility)?

Body:

I’m currently embedding a 3rd-party popup UI (via JavaScript SDK) inside a Visualforce (VF) page, which is then loaded inside a Lightning Web Component (LWC) using an <iframe>. This method works, but it has a limitation:

  • The iframe height is fixed, so if the popup size/content changes dynamically, it leads to clipping or extra space issues.

Objective:

I want to invoke the same 3rd-party popup directly from a button in LWC, without relying on Visualforce or iframes. However:

  • The 3rd-party SDK is not natively compatible with LWC's Shadow DOM.
  • The popup either doesn't show up or gets blocked when initialized directly in LWC.

Questions:

  1. Is there a recommended approach or workaround to initialize 3rd-party popups directly inside LWC, bypassing Shadow DOM restrictions?
  2. Are there any known libraries or frameworks that allow better integration of 3rd-party JS UIs with LWC, especially ones that work around Shadow DOM encapsulation?
  3. Would using a custom Lightning app page or a base Lightning component (e.g., aura) help here?

Any guidance, patterns, documents or even a sample integration pattern would be appreciated. 

 

#Salesforce Developer  #Trailhead  #Security  #Integration Architecture Designer Exam

0/9000

We have a requirement that whenever any user inputs any query the agent should fetch relevant knowledge articles and summarize them. We have created an Agent with type as service agent and we are using the standard prompt template ie 'Answer Questions with Knowledge' to achieve this. It works well for positive scenarios, however when I'm testing for negative scenarios instead of responding with  "Sorry, I can't find an answer based on the available articles."it throws an error INVALID_RUNTIME_VALUE. The JSON format is invalid. 

INVALID_RUNTIME_VALUE. The JSON format is invalid.  error in Agentforce

 

Screenshot 2025-07-10 122840.png

 

Any idea how to fix this? 

 

#Agentforce  #Salesforce Developer

2 answers
  1. Today, 9:02 AM

    Hi @Abhishek R

     

    Yes we are retrieveing from chunked data, there is a data library created and chunk and index data created for the same. As for the action I would like to correct myself..we are using a custom prompt template but the instructions are same as that of standard template and a custom action is created for the same with  RetrieverIdOrNameInstructions, QueryInstructions, Citation ModeInstructions as the input paraments

0/9000
2 answers
0/9000
4 answers
  1. Today, 8:53 AM
    I am getting error in Lightning web component basics in that module in Add Styles and Data to a Lightning Web Component module . In this it's giving error while deploying this lwc org
0/9000
29 answers
  1. Today, 8:52 AM

    Hi, I am having the exact same issue as Clive - I am "Data Model Objects" - I have clicked "ExternalReservation" (there are only two items in that list, ExternalReservation and Static Currency Rates Home (the attached image above shows at least 7) 

     

    Hi, I am having the exact same issue as Clive - I am

     

     

    When we click on ExternalReservation, and click EDIT - (POINT 6 ON THE WORKAROUND SENT HERE) We do not see  6. Check the box to

    Show inactive relationships

    .  

     

     

    Enhance Agentforce to Act on Data with Conversational Language image 2.png

     

     

0/9000
1 answer
0/9000

I'm getting this despite already set the permission for Job Application  

 

We can't find that the ‘Manage Job Applications’ permission set grants read access and edit access to all Job Application fields, except edit access for Position and Candidate.

 

 

 

Stucked at Control Access to Fields Challenge

 

 

 

#Trailhead Challenges

0/9000
0/9000