-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parentwindow reference not found #10
Comments
don't know if this is still a point but: It depends on the Parent window which is opened under the IFrame. Try not to refresh the Iframe only. Always refresh the whole page. |
Is this issue fixed @luqman27180 ? |
I don't know how to fix this issue, but I am able to get around it somewhat by bundling by widget and deploying it within Zoho. This is pain because I need to recompile every time I want to test changes, but the code at least runs! |
I also have the similar issue. |
Any updates? |
bruh |
this is crazy? any solution other than to enforce dumping of cache client and server side??!? |
Has anyone figured a solution to this? |
This only happened when I tried to manually reload a "Related List" widget iframe. Ass soon as I reload the parent, (f5) that error went away. Seems to only be happening like this for the Related List widget (in my case, I was using it in a canvas) |
Yes, I set a timeout before loading de zoho jsdk api. It seems the problem is the CRM is not initialized when we load the js. |
@clopezICRSoft how did you set the timeout before loading the Zoho SDK API? Can you provide an example of this? I'm having the same issue as well here. |
The workaround should be:
|
I had a problem with Using I hope this can at least point you in the right direction of the cause of this problem in your code. |
I am receiving this error with a simple Button Widget. Just trying to run |
After digging into the ZohoEmbededAppSDK.min file my issue appears to be that the |
facing same issue , settimeout is hit or miss. will this be ever fixed? the angular login page redirects makes the ZOHO.CRM.UI.Dialer.maximize() break with same error. the dialeractive and dial are working. seeing this issue open for more than 4 years, i understand ZOHO team is not able to fix this? |
Failed to maximize the Dialer Error: Parentwindow reference not found. |
after a week of digging, i found the issue on my side is because the URL does not contain the "serviceOrigin=https://crm.zoho.com&frameorigin=https://crm.zoho.com" |
ZOHO.CRM.UI.Record.open({Entity:"Leads",RecordID:"1000000036062"})
.then(function(data){
console.log(data)
})
when i try to call this function getting error can help?
ZSDK.js:314 Uncaught Error: Parentwindow reference not found.
at PostMessage (ZSDK.js:314)
at Object.TriggerEvent (ZSDK.js:222)
at Object.TriggerEvent [as Trigger] (ZSDK.js:464)
at newRequestPromise (ZohoCrmHelper.js:39)
at manipulateUI (ZohoCrmHelper.js:289)
at Object.open (ZohoCrmHelper.js:5154)
at primo.php:18175
The text was updated successfully, but these errors were encountered: