+ Start a Discussion
Rajat Mahajan 21Rajat Mahajan 21 

Salesforce 1 Issue! Please help! Urgent

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));
detailPage.setRedirect(true);
return detailPage;

Regards
Rajat Mahajan
Hargobind_SinghHargobind_Singh
Hi Rajat, 

Does this post address the same issue you have: https://developer.salesforce.com/forums/ForumsMain?id=906F0000000AASQIA4

=========

ps: If your problem/question is resolved/answered, please mark your post as 'Solved' so that the community can benefit with resolution of issues.