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 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));
return detailPage;

NagaNaga (Salesforce Developers) 
Hi Rajat,

Did you make these pages "available for salesforce mobile apps"?
This is done through the setup in your org.

To enable a Visualforce page for Salesforce1 please follow the below path:
From Setup -> Develop -> Pages.
Click Edit for the newly created/existing Visualforce page.
Select “Available for Salesforce mobile apps” then click Save.

Please let me know if this helps.

Best Regards
Naga kiran

Rajat Mahajan 21Rajat Mahajan 21
Hi Naga

Yes, it had already been made available, still facing the issue

Rajat Mahajan