You need to sign in to do that
Don't have an account?
I have an issue with an alternative to Picklists
I have an issue with an alternative to Picklists. Does anyone know why when I point to a custom object via a relationship custom field, the lookup only show records I own? If you happen to know the name of another reference and use the wilcard it will show, but if you just have a blank search it does not return everything. Any clues?
An example -- when querying thru the API you can see I have 8 records:
Id | Name | |
---|---|---|
1 | a0580000005y0X3AAI | Practice Template |
2 | a0580000005xlqVAAQ | CRM Implementation |
3 | a0580000005xlqWAAQ | Web Design |
4 | a0580000005xlqXAAQ | Integration Project |
5 | a0580000005xlqYAAQ | New ERP Rollout |
6 | a0580000005xlqZAAQ | Bus Plan-Sales Logix |
7 | a0580000005xlqaAAA | New ERP Rollout 2 |
8 | a0580000005y0XIAAY | Hourly Template |
However when I press the thumbtack and the Pop-up comes up I can only see six.
Note that Hourly and Practice are missing from the list.
These two will show up if you enter a portion of their names with the wildcard to the Search Filter like below,
or
How do I get it to return everything?
David
The lookup dialog is showing some objects that you recently viewed, not necessarily things that you own.
You might try turning on Enhanced Lookups and Autocomplete for that object. Then you can eschew the lookup dialog altogether.
Okay, I tweaked out the custom object in several ways --
1. I did the Setup | Customize | Search. and set the enhanced search ( not really sure that did all that much ) and the AutoComplete on for that object.
List still only shows recently viewed items, and the AuotComplete will only complete for Items you have recently viewed.
2. Added fields to the lookup layout - nice but does not help in the least.
The point : How is a salesrep supposed to point to a correct value if the list does not even clue him in on all that is available?
Would I be better off with the lookup popping up a visualforce page?
David
If the page you're using a purely visualforce I would do away with the lookup field completely and replace it with an <apex:selectList> tag. The lookup dialogues are confusing and slow down the entire process. With a selectList you can create a 'Picklist' which is more or less univerally understood by users and can contain values dictated by any logic you choose.
Cheers,
Wes