lookup第一篇:如何在salesforce增强lookup搜索功能,实现搜索所有可用记录和实现搜索同一对象下的all field

The Problematic Situation:
When you add any lookup in Salesforce on a layout from one object to another, and try searching for available values, you face the below issues:
1-You can only search by record name. (main value) – Default settings

2-You need at least 2 characters to for the search to work

3-You cannot search for values in any other field, your search is limited to the main field.
4-System will only display by default recent viewed items (by you) and not all the available values.
Therefore users are expected to know all possible values of the record name field, usually a challenge for users.

The Workaround solution:
First let us go over the search tools and options that are provided by Salesforce :
1-The Wild Search (*)
Salesforce provides a wild search, *, but you need to provide along with it at least 2 characters to work.
This is a great feature, right, but not good enough to find all possible options.

2-The “All Fields” Search
This is also a great feature where you can search not only the main field, but all fields within an object.

In order to enable this options , called Enhanced Lookups, of a certain object, go to
Setup>Customize > Search > Search Settings and check the Enhanced Lookups.


You will not have a new option on the lookup search “All Fields”

3-The workaround.
If you wish to display all available value, all you need to do is create a new field on the destination object, of Type Text with default value “ALL”

You may display or hide the field from the layout, below is an example.

Note: for existing records, you will need to update this field manually(手动地) with the “All” value. While for any new record, it will automatically take the default value “All”
Solved!
Now you can do a lookup search, searching for the value “All” using the “All Fields” option.

If you wish to edit the columns to be displayed on the Lookup search Dialogs
Setup -> App Setup -> Customize -> Search Layouts.

补充:为标准对象中的lookup新增“新建”按钮,如下图:


文章转载自:http://www.salesforce-me.com/how-to-show-all-available-records-in-a-lookup-search/
相关问题:https://success.salesforce.com/answers?id=90630000000gvLoAAI

补充 - 去掉lookup dialog上的New按钮】:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值