You need to sign in to do that
Don't have an account?

Lead convert page in VF
hi all
well i want to make lead convert page in VF
now in standard salesforce system when we click convert button then Lead convert() call made. as per shown in forece.com API devloper guide.
now i m thinking this but may be i m wrong:
now when we use standard controller we can use the standard Sobject properties.
like if we use Account standard controller then we can get the fields name and value just with writing the field name
also we can save that page by using the {!save} method that is standard for Account
so can it possible with the "lead"-- standard controller ??
(1) can we use that Lead convert() call for converting the lead in lead standard controller if yes then how????
(2) how can we display the record owner field without passing the quarry perameters for record owner
because here for convert the perticulert lead we have to pass the perticuler lead's quarry perameter...
or if i m worng about this then how it possible with custome controller
please give me some idea that i can work out this
well i want to make lead convert page in VF
now in standard salesforce system when we click convert button then Lead convert() call made. as per shown in forece.com API devloper guide.
now i m thinking this but may be i m wrong:
now when we use standard controller we can use the standard Sobject properties.
like if we use Account standard controller then we can get the fields name and value just with writing the field name
also we can save that page by using the {!save} method that is standard for Account
so can it possible with the "lead"-- standard controller ??
(1) can we use that Lead convert() call for converting the lead in lead standard controller if yes then how????
(2) how can we display the record owner field without passing the quarry perameters for record owner
because here for convert the perticulert lead we have to pass the perticuler lead's quarry perameter...
or if i m worng about this then how it possible with custome controller
please give me some idea that i can work out this
Lead Owner Full Name as {!Lead.OwnerFullName}
Lead Owner Id as {!Lead.OwnerId}
Lead Owner First Name as {!Lead.OwnerFirstName}
Lead Owner Last Name as {!Lead.OwnerLastName}
:smileyhappy:
the StandardController works by building up the query based on the id you passed in, so you will need to have that query parameter. How else would you know which record to operate on?