简体   繁体   中英

CRM Dynamics Search wildCard

I'm exploring Dynamics CRM 4 and when I search a record for example, a contact, ex. Abcd, Dynamics is searching by Abcd*, including, by default, the WildCard in the end.

Is there any way to also include the Wild Card, by default, in the beggining? Ex. Abcd --> *Abcd*

您应该能够为RetrieveMultiple事件构建一个预插件,并访问Input Parameters集合的Query属性,该属性将包含用户键入的搜索字符串。由于您处于pre事件中,因此可以在星号前添加一个星号。到搜索字符串,这将产生您想要的结果。

Sorry, there is no way to do that. CRM is translating the Search query in a SQL Like at runtime, so, there is even no hack (like modifying a stored procedure).

I've done a custom search by integrating an IFrame in a custom ASPX page to avoid using the default "search engine"... maybe this is an alternate solution to your problem.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM