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
christwin123christwin123 

Render a Custom Object on a button Click from a VF page in Salesforce1

Hi All,

I need to render a Standard Object on a button Click from a VF page in Salesforce1.
<a href="{!URLFOR($Action.Object__c.New, null,null,true)}">Button Title</a>
but it renders the Web Application Object Page not the Mobile Object Page

Web Application Object URL is Rendered-
https://ap1.salesforce.com/a00/e

I Need To get the Mobile URL Rendered.

Could some one please guide me in this.

Thanks and Regards,
Christwin
SonamSonam (Salesforce Developers) 
I understand that custom buttons are only supported on standard detail page(https://help.salesforce.com/HTViewSolution?id=000187793&language=en_US) I suppose you are clicking the custom button from a visualforce page which should open a standard page - right?
Christwin DuraiChristwin Durai
Yeah right.I need to open a standard detail page or a List view:).Actually need for both