You need to sign in to do that
Don't have an account?
dj_0x7c0
Application event force:logout - failed to save Lightning component with handler
(Lightning Experience) When session timeout warning popup appears two events occurs.
First component event salesforceIdentity:sessionTimedOut and later app event force:logout and component. Both aren't available in Salesforce documentation or Component Library (Summer '18, API 43.0)
Despite of the fact I wanted to handle this with Lightning Component Framework via aura:handler.
Failed to save sample.cmp: An unexpected error occurred. Please include this ErrorId if you contact support: 8989761-99970 (356507915).
I checked this on three instances, and the same result. Do you have any information that such events won't be supported? Do you any ideas how to handle, detect session logout from frontend side?
Being aware that Visualforce.remoting.Manager is not available in LEx.
First component event salesforceIdentity:sessionTimedOut and later app event force:logout and component. Both aren't available in Salesforce documentation or Component Library (Summer '18, API 43.0)
Despite of the fact I wanted to handle this with Lightning Component Framework via aura:handler.
<aura:handler event="force:logout" action="{!c.handleAction}"/> OR <aura:handler event="salesforceIdentity:sessionTimedOut" action="{!c.handleAction2}" phase="capture" />If I want to save any handler, then save/deploy results in failing to save component:
Failed to save sample.cmp: An unexpected error occurred. Please include this ErrorId if you contact support: 8989761-99970 (356507915).
I checked this on three instances, and the same result. Do you have any information that such events won't be supported? Do you any ideas how to handle, detect session logout from frontend side?
Being aware that Visualforce.remoting.Manager is not available in LEx.