Reply
Regular Contributor
MayankDkPant
Posts: 57
0

Picklist values in Apex Code

Hi,

 

I have 4 picklist fields on my vf page. How can I retrieve values of these field when user clicks onsearch button.

 

Scenario:

I don't wan to  use Controller.getRecord() method. Is there any way I can access them. I tried ApexPages.CurrentPage.GetParameters.Get() method but that method is not working. Is there any thing else I can use for them.


Any help will be appreicated.

 

With Regards,

Mayank Pant.

 

 

Super Contributor
sfdcfox
Posts: 3,912
0

Re: Picklist values in Apex Code

You're going to have to use Controller.getRecord() at least once to get the record.

~ sfdcfox ~


I am a sandwich. That is all.