function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Issue with NameSpace in Lightning:container

I am not able to get my lighting:container to work outside my Dev Org.  It looks like I'm having trouble with the namespace.

Lighting:container static resource contains the below manifest.json along with the index.html,

  "landing-pages": [{
    "path": "index.html",
    "apex-controller": "helptips.Rich_Editor_Controller"

In our Dev Org lighting container works fine with namespace or without namespace, but in the Test Orgs we are running into the below scenarios:

If we include the namespace we are running into the below error (the lightning container page is not loading): 
container.js:4 Uncaught ReferenceError: LCC is not defined

& if I don’t include the namespace in manifest - apex-controller the lighting container loads fine but when I’m trying to call the Controller I’m running into the below error:
Cannot read property 'helptips.Rich_Editor_Controller' of undefined

We are not sure what to do here, any help is apprecaited.