{"id":28720,"date":"2021-07-22T06:36:24","date_gmt":"2021-07-22T06:36:24","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=28720"},"modified":"2021-09-01T09:21:31","modified_gmt":"2021-09-01T09:21:31","slug":"controlling-typeahead-search-trigger-in-the-advanced-lookup","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2021\/07\/controlling-typeahead-search-trigger-in-the-advanced-lookup\/","title":{"rendered":"Controlling Typeahead Search Trigger in the Advanced Lookup"},"content":{"rendered":"<h2 style=\"text-align: justify;\"><strong>Introduction:<\/strong><\/h2>\n<p style=\"text-align: justify;\">We are already aware of the <a href=\"https:\/\/docs.microsoft.com\/en-us\/powerapps\/user\/lookup-field#advanced-lookup\" target=\"_blank\" rel=\"noopener noreferrer\">Advanced Lookup<\/a> feature that <strong>Microsoft<\/strong> has added in the Release 2021 Wave 1. And along with it some additional features have been introduced to trigger a typeahead search in <strong>Advanced<\/strong> <strong>Lookup<\/strong> behavior i.e., \u201c<strong>Minimum number of characters to trigger typeahead search<\/strong>\u201d and \u201c<strong>Delay between character inputs that will trigger a search<\/strong>\u201d<\/p>\n<p style=\"text-align: justify;\"><u>Now,<\/u> let\u2019s see how it works!<\/p>\n<p style=\"text-align: justify;\">In the<strong> Power Platform Admin Center, <\/strong>go to<strong> Settings &gt; Behavior <\/strong>and look under<strong> Lookup Behavior <\/strong>settings.<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/image001-ink.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"wp-image-28721 size-full aligncenter\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/image001-ink.png\" alt=\"Controlling Typeahead Search Trigger in the Advanced Lookup \" width=\"525\" height=\"265\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/image001-ink.png 525w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/image001-ink-300x151.png 300w\" sizes=\"(max-width: 525px) 100vw, 525px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">Using the \u201c<strong>Minimum number of characters to trigger typeahead search<\/strong>\u201d field, you can trigger a typeahead search in the Search box present in the <strong>Advanced Lookup<\/strong> window based on the number of characters you enter.<\/p>\n<p style=\"text-align: justify;\"><u>For example:<\/u> If you set <strong>0<\/strong> in the field, then typeahead search will get triggered immediately after each character you enter in the search box. But if you set the limit to trigger your typeahead search i.e., minimum of <strong>5<\/strong> characters in the field then the typeahead search will get triggered only after you enter the 5<sup>th<\/sup> character in the search box.<\/p>\n<p style=\"text-align: justify;\">As you see below, I have entered only 4 characters and the typeahead search has not been triggered.<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/image003-ink.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"aligncenter wp-image-28722 size-full\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/image003-ink.png\" alt=\"Controlling Typeahead Search Trigger in the Advanced Lookup \" width=\"831\" height=\"501\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/image003-ink.png 831w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/image003-ink-300x181.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/image003-ink-768x463.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/image003-ink-660x398.png 660w\" sizes=\"(max-width: 831px) 100vw, 831px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">And once you enter the 5<sup>th<\/sup> character, you will see the typeahead search has been triggered and showing the expected result.<em><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/image005-ink.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"aligncenter wp-image-28723 size-full\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/image005-ink.png\" alt=\"Controlling Typeahead Search Trigger in the Advanced Lookup \" width=\"853\" height=\"375\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/image005-ink.png 853w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/image005-ink-300x132.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/image005-ink-768x338.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/image005-ink-660x290.png 660w\" sizes=\"(max-width: 853px) 100vw, 853px\" \/><\/a> <\/em>In addition to the same, the \u201c<strong>Delay between character inputs that will trigger a search<\/strong>\u201d field is used to trigger a typeahead search based on delay occurred while entering the input characters in the Search box present in the Advanced Lookup window.<\/p>\n<p style=\"text-align: justify;\"><u>For Example<\/u>: If you set <strong>30000ms<\/strong> in the field and if \u201c<strong>Minimum number of characters to trigger typeahead search<\/strong>\u201d field value is set to <strong>5<\/strong> then after entering the minimum character i.e., 5, if you do not enter any character or enter the next character with the delay of more than <strong>30000ms<\/strong> then typeahead search will get automatically triggered and will show the result.<\/p>\n<p style=\"text-align: justify;\">As you see below, I have entered 6 characters in the search box but without any delay between characters so the typeahead search has not been triggered yet.<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/image007-ink-1.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"aligncenter wp-image-28724 size-full\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/image007-ink-1.png\" alt=\"Controlling Typeahead Search Trigger in the Advanced Lookup \" width=\"805\" height=\"495\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/image007-ink-1.png 805w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/image007-ink-1-300x184.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/image007-ink-1-768x472.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/image007-ink-1-660x406.png 660w\" sizes=\"(max-width: 805px) 100vw, 805px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">And now if you don\u2019t enter any character or enter the next character with the delay of more than 30000ms then you will observe the typeahead search has been triggered after 30000ms howing the expected result.<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/image009-ink.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"aligncenter wp-image-28725 size-full\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/image009-ink.png\" alt=\"Controlling Typeahead Search Trigger in the Advanced Lookup \" width=\"845\" height=\"371\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/image009-ink.png 845w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/image009-ink-300x132.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/image009-ink-768x337.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/image009-ink-660x290.png 660w\" sizes=\"(max-width: 845px) 100vw, 845px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong><em><u>Note<\/u><\/em><\/strong><em>: You can enter the value in the \u201c<strong>Delay between character inputs that will trigger a search<\/strong>\u201d field between predefined range only i.e., Minimum Value: 250, Maximum value: 2147483647, or else the below message will be displayed after youSave it.<\/em><\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/image011-ink.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"aligncenter wp-image-28726 size-full\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/image011-ink.png\" alt=\"Controlling Typeahead Search Trigger in the Advanced Lookup \" width=\"341\" height=\"269\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/image011-ink.png 341w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/image011-ink-300x237.png 300w\" sizes=\"(max-width: 341px) 100vw, 341px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>Conclusion:<\/strong><\/p>\n<p style=\"text-align: justify;\">In this way, with the above features you can easily control the typeahead search trigger in Advanced Lookup.<\/p>\n<p style=\"text-align: justify;\">Reference: <a href=\"https:\/\/docs.microsoft.com\/en-us\/powerapps\/user\/lookup-field#advanced-lookup\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/docs.microsoft.com\/en-us\/powerapps\/user\/lookup-field#advanced-lookup<\/a><\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.inogic.com\/product\/productivity-apps\/kanban-board-dynamics-365-crm\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"alignnone wp-image-28727 size-full\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/kb.jpg\" alt=\"Kanban Board \" width=\"800\" height=\"200\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/kb.jpg 800w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/kb-300x75.jpg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/kb-768x192.jpg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/kb-660x165.jpg 660w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction: We are already aware of the Advanced Lookup feature that Microsoft has added in the Release 2021 Wave 1. And along with it some additional features have been introduced to trigger a typeahead search in Advanced Lookup behavior i.e., \u201cMinimum number of characters to trigger typeahead search\u201d and \u201cDelay between character inputs that will\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2021\/07\/controlling-typeahead-search-trigger-in-the-advanced-lookup\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[44,1985],"tags":[2350],"class_list":["post-28720","post","type-post","status-publish","format-standard","hentry","category-power-apps","category-power-automate","tag-advanced-lookup"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/28720","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=28720"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/28720\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=28720"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=28720"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=28720"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}