- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
In a specific scenario, customer was adding a validation page for the quote wizard for Amendment subscription which will throw error if the field evergreen='Yes' and should redirect to page when evergreen='No', the issue is with the redirected url where the navigateNext() method is used for 'No' scenario but its not appending subscriptionid at the end for the URL
If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
After reviewing the code it was found, no parameters were being passed with navigateNext() call.
Please check the sample code provided in the below KC article:
public PageReference navigateNext() {
upsert thisQuote;
Map<String, String> customUrlParameters = new Map<String, String>{'Id' => thisQuote.Id};
return zqu.QuoteWizardManager.navigateNext(customUrlParameters);
}
public PageReference navigateBack() {
upsert thisQuote;
Map<String, String> customUrlParameters = new Map<String, String>{'Id' => thisQuote.Id,
'oppId' => thisQuote.zqu__Opportunity__c};
return zqu.QuoteWizardManager.navigateBack(customUrlParameters);
}
If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
After reviewing the code it was found, no parameters were being passed with navigateNext() call.
Please check the sample code provided in the below KC article:
public PageReference navigateNext() {
upsert thisQuote;
Map<String, String> customUrlParameters = new Map<String, String>{'Id' => thisQuote.Id};
return zqu.QuoteWizardManager.navigateNext(customUrlParameters);
}
public PageReference navigateBack() {
upsert thisQuote;
Map<String, String> customUrlParameters = new Map<String, String>{'Id' => thisQuote.Id,
'oppId' => thisQuote.zqu__Opportunity__c};
return zqu.QuoteWizardManager.navigateBack(customUrlParameters);
}
If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √