You need to sign in to do that
Don't have an account?
BARJRD
Filter a Lookup field on a Visualforce page
I would like to filter the contents of a lookup field on a Visualforce page. For example, on a VF "Registration" page (which creates Campaign Member records), I want to limit/filter the lookup of Campaigns to those with Type="Event".
Is this possible?
Thanks!
Barb
There isn't an easy way to do it. Campaigns do not have filtered lookups.
If it's critical you could try to recreate the lookup functionality with soql & a 2nd pop up visual force page, but might be more trouble than it's worth.
Is a filtered lookup in VF available for any other objects? Such as Account or Contact? If so, how is it achieved?
Thanks!
Filtered lookups can be configured in Setup for most standard objects such as Account. There isn't a VF component per se as the pop up appears pre-filtered based on the settings for that lookup.
https://na1.salesforce.com/help/doc/user_ed.jsp?section=help&target=fields_lookup_filters.htm&loc=help&hash=topic-title
Hi There,
have a look at www.sarwari.org. - I'm sure my solution can solve your problem.
cheers
Reza