You need to sign in to do that
Don't have an account?
Naresh Chanda
Sfdc.canvas.parent.publish - Sfdc is not defined in lightning app builder
When using Sfdc.canvas.parent.publish, get the error- Sfdc is not defined while editing the lightning record page in lightning app builder. It works and doesn't show an error on the lightning record page when you just open it, but when you click 'Edit Page' to view in lightning app builder get the error - Sfdc is not defined. Is it a platform bug?
I suspect that this Known Issue is related to your Query,
https://success.salesforce.com/issues_view?id=a1p3A000000ATswQAG
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks.