You need to sign in to do that
Don't have an account?
Sunil Damle 7
nooverride parameter behavior in Lightning post Winter 17 release
We have overriden the Standard 'view' action on the Opportunity Object.
We have two different Record types - Type A and Type B.
Type A - navigates to Custom visualforce page
Type B - Navigates to Standard page.
To achieve this we have used "Nooverride" parameter. See code below.
Post Winter 17 release in the sandbox, the application doesnt respect the "nooverride' paramter and the view action is going into infinite loop in Salesforce lightning app.
Let me know if you have faced similar issue and any workaround that worked for you.
------------------------------------------------------------------
if (c.recordtypeid == recordTypeId[0].id) {
newPage = Page.CustomVFPage;
} else {
newPage = new PageReference('/' + c.id + '?nooverride=1');
newPage.getParameters().put('nooverride', '1');
}
We have two different Record types - Type A and Type B.
Type A - navigates to Custom visualforce page
Type B - Navigates to Standard page.
To achieve this we have used "Nooverride" parameter. See code below.
Post Winter 17 release in the sandbox, the application doesnt respect the "nooverride' paramter and the view action is going into infinite loop in Salesforce lightning app.
Let me know if you have faced similar issue and any workaround that worked for you.
------------------------------------------------------------------
if (c.recordtypeid == recordTypeId[0].id) {
newPage = Page.CustomVFPage;
} else {
newPage = new PageReference('/' + c.id + '?nooverride=1');
newPage.getParameters().put('nooverride', '1');
}
How did u manage to solve this?