function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rajat Mahajan 21Rajat Mahajan 21 

Salesforce1 VIsualForce issue! Please help me out

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 when in Salesforce 1(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
ShashankShashank (Salesforce Developers) 
Please see if this helps: http://salesforce.stackexchange.com/questions/24998/parameter-passing-on-salesforce1-publisher-action