You need to sign in to do that
Don't have an account?
Rajat 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));
detailPage.setRedirect(true);
return detailPage;
Regards
Rajat
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
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
Yes, it had already been made available, still facing the issue
Regards
Rajat Mahajan