+ Start a Discussion
Rajat Mahajan 21Rajat Mahajan 21 

Salesforce1 - Recordtype Issues

We have a custom button for which created a publisher action for Salesforce1

This functions to show us the page in edit mode, however we pass the recordtypeid in the URL (as we need a custom edit view)
The page is working on browser - but opens the normal edit mode for Opportunity (without changing page layout based on recordtypeid)

Can you please inform me if this is a known issue ? Work Arounds ?

Sample Code :
PageReference detailPage = new PageReference('/'+idOpp+'/e');
detailPage.getParameters().put('RecordType', idRecordtype);
detailPage.getParameters().put('retURL', idOpp);
detailPage.getParameters().put('opp11', strStage);
detailPage.getParameters().put(System.label.Opportunity_Sub_Stage, strSubStage);
detailPage.getParameters().put('nooverride', '1');
detailPage.getParameters().put('opp12', String.valueOf(dbProbability));
return detailPage;

Rajat Mahajan
Gaurav KheterpalGaurav Kheterpal
Not sure why this is posted in 'Mobile' Category. I'm moving this to 'Visualforce' section.