Loading
Salesforce から送信されるメールは、承認済ドメインからのみとなります続きを読む

Custom CSS Not Applied When OmniScript is Dynamically Loaded in LWC

公開日: Mar 17, 2025
説明

When an OmniScript is dynamically loaded within an LWC, custom CSS which is added in the Omniscript, does not get applied as expected. However, if the OmniScript is added normally within the LWC, the styling works correctly.

Meaning of Dynamically Rendering the OmniScript:

Dynamically rendering the OmniScript refers to importing the OmniScript at runtime on perform of any action on LWC, after the custom LWC has fully loaded. 


 

 

Resources for Dynamically rendering Components in LWC :- Link

解決策

The team has recommended avoiding the dynamic import method to include the OmniScript in the LWC. Instead, they suggest using the static method by referencing the snippet from the "How to Launch" section of OmniScript.

ナレッジ記事番号

004518951

 
読み込み中
Salesforce Help | Article