+ Start a Discussion
NjangaNjanga 

New record

Hi guys,

I have a vf page and a button to add a record.

This is my button in vf.

 

<apex:commandButton value="New Job" id="newJob" action="{!URLFOR($Action.Job_ATS__c.new)}" />

 

Now the problem is when I click on my button its showing an error.

This is the error am getting.

 

Error:

Value 'false' cannot be converted from Boolean to common.api.soap.wsdl.ID

 

Pliz Help!

HariDineshHariDinesh

Hi,

 

It seems there is no problem with the Command Button tag Code.It might be some other

 

There is no Problem with below syntax as you given

 

<apex:commandButton value="New Job" id="newJob" action="{!URLFOR($Action.Job_ATS__c.new)}" />

 

can you post the complete VFP code so that any of Board member can answer for you problem.

NjangaNjanga

Thank you for reply, i realised that after i discoverd the problem was with javascript in commandLink. i fixed the problem and its now working.