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
Terence VibanTerence Viban 

Convert Lead Publisher Action

Hi All,

I have experience some very strange behaviour. I have created an object-specific action and added it to the Lead page layout. On the chatter feed / publisher i can see that button and also on SF1 as intended. 

The problem is, when I create a lead, it gets converted immediately. The user does not click the action to convert, the lead just gets converted. The standard button is not on the page. The lead convert action calls a Visualforce page to perform the conversion. When I remove the lead convert action from the layout, the lead does not get converted immediately when it is created.

I am just wondering if anyone has observed this behaviour before or has any idea where it might be coming from. I have observed this on two separate unrelated Orgs and haven't been able to figure it out yet. 

Thanks 

Terence
SonamSonam (Salesforce Developers) 
Terence,

Could you please share the code to the convert action function, I understand you are performing this action using VF page.