You need to sign in to do that
Don't have an account?
kardolus
Lookup functionality on form field
Hi,
I have a VisualForce form field which is used to pass an argument to an Apex method.
I want lookup functionality (to the Campaign object) on this particular field. Users select a campaign, then it gets passed to the Apex method.
Is that somehow possible?
if i understand you correctly, what you want can be accomplished using a select list that is populated in the controller using values found by the controller that reference the campaign. You could have a drop down box of campaigns with values of their ids and then use this in the action method.
All Answers
if i understand you correctly, what you want can be accomplished using a select list that is populated in the controller using values found by the controller that reference the campaign. You could have a drop down box of campaigns with values of their ids and then use this in the action method.
Thanks man, finally had time to try your idea. Worked!
Used something like this in my visualforce page
And something like this in apex controller