You need to sign in to do that
Don't have an account?
Anna Lu 6
how to use sforce.one for window.name ?
As title.
I am planning to switch from classic to Lightning. In the report, it says in Lightning, window is no longer supported, and the suggestion is to use sforce.one to navigate around.
However, I have a variable like:
Any suggestion?
Thanks!
I am planning to switch from classic to Lightning. In the report, it says in Lightning, window is no longer supported, and the suggestion is to use sforce.one to navigate around.
However, I have a variable like:
var name = window.name;I cannot find proper document to use sforce.one to get current window's name so that my var name can still be used.
Any suggestion?
Thanks!
A reference: https://trailhead.salesforce.com/modules/lex_javascript_button_migration/units/javascript_button_alternatives