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
Mick Roberts 3Mick Roberts 3 

Hi. Lightning:Overlaylibrary issue

I have a line of code in one of my components

 <lightning:overlaylibrary aura:id="overlayLib"/>

This works fine in the Sandbox, but when I installed in production, I got the following error

Component class instance initialization error [Definition does not exist on the client for descriptor:markup://lightning:overlaylibrary]

Would appreciate some help

 
Alain CabonAlain Cabon
Hi,

Could you copy/paste your exact code?

 <lightning:overlaylibrary aura:id="overlayLib"/> is not correct because the "L" of Library is capitalized.

<lightning:overlayLibrary aura:id="overlayLib"/> (exact values) should missing in a component that uses a controller or helper with a function find('overlayLib') in your sandbox.
Mick Roberts 3Mick Roberts 3
Hi Alian Here is my exact code. This worked in Sandbox, but when I put it into production I got the message ( see below)

Referral

{!v.referral.Name}

Here is the message I got [cid:image001.png@01D3FF01.8CF960C0]
Alain CabonAlain Cabon
That is not an error message if v.referral.Name  = [cid:image001.png@01D3FF01.8CF960C0] (?)
Mick Roberts 3Mick Roberts 3
Hi Alain It seems to be working now . I think when the Production environment changed to Summer 18 , it worked Mick