{"id":1015,"date":"2014-10-17T15:44:03","date_gmt":"2014-10-17T10:14:03","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=1015"},"modified":"2014-10-17T15:44:03","modified_gmt":"2014-10-17T10:14:03","slug":"issue-with-the-lookup-view-selected-during-customizations-not-being-honored-in-tablet","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2014\/10\/issue-with-the-lookup-view-selected-during-customizations-not-being-honored-in-tablet\/","title":{"rendered":"Issue with the Lookup View selected during Customizations not being honored in Tablet"},"content":{"rendered":"<p style=\"text-align: justify;\"><strong>Issue:<\/strong><\/p>\n<p style=\"text-align: justify;\">Usually when placing a lookup field on the form, we also select the view based on which the records should be displayed in the lookup window. The same behavior is expected for the Tablet application as well.<\/p>\n<p style=\"text-align: justify;\">But we came across a scenario where the lookup displayed all records irrespective of the view selected in the tablet application. The web app works fine but it is only tablet application that does not consider the view selected.<\/p>\n<p style=\"text-align: justify;\">For example, like we have set custom entity lookup \u201cIndustry\u201d on \u201cAccount\u201d entity as below:<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2014\/10\/1.png\"><img decoding=\"async\" class=\"alignnone wp-image-1016 size-full\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2014\/10\/1.png\" alt=\"Custom Lookup Industry on Account Entity\" width=\"624\" height=\"456\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">And we have set <strong>\u201cActive Industries\u201d<\/strong> view for that lookup control, which should only show Active Industry records as shown below:<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2014\/10\/2.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-1017\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2014\/10\/2.png\" alt=\"Lookup Control Active Industries View\" width=\"583\" height=\"591\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">So even though we have selected \u201cActive Industries\u201d view it will still show inactive records. If we search for \u201cclothing\u201d industry, it displays the result even though it is inactive in CRM.<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2014\/10\/3.png\"><img decoding=\"async\" class=\"alignnone wp-image-1018 size-full\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2014\/10\/3.png\" alt=\"Active Industries View Clothing Set\" width=\"624\" height=\"500\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2014\/10\/4.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-1019\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2014\/10\/4.png\" alt=\"Clothing Industry View\" width=\"624\" height=\"358\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong><span style=\"text-decoration: underline;\">Solution<\/span>:<\/strong><\/p>\n<p style=\"text-align: justify;\">Upon reviewing this issue further we noticed that the entity on which the lookup was based was not enabled for viewing on Phone and Tablets.<\/p>\n<p style=\"text-align: justify;\">Once you configure the entity for use on Phone and Tablets, the problem is resolved.<\/p>\n<p style=\"text-align: justify;\">Configuring the option:<\/p>\n<p style=\"text-align: justify;\">Navigate to <strong>Settings &#8211;&gt; Customizations<\/strong> and Select the entity which you want to configure for tablets as shown below:<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2014\/10\/5.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-1020\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2014\/10\/5.png\" alt=\"Configuring the entity for phones tablets\" width=\"624\" height=\"126\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2014\/10\/6.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-1021\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2014\/10\/6.png\" alt=\"Customizing the system entity\" width=\"623\" height=\"165\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2014\/10\/7.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-1022\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2014\/10\/7.png\" alt=\"Configuring lookup entity\" width=\"624\" height=\"417\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">After doing this changes we can get records as per view filter criteria for lookup.<\/p>\n<p style=\"text-align: justify;\"><strong><em>Note: Please note the custom views you create for entities in CRM are not available in tablets and phones.<\/em><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Issue: Usually when placing a lookup field on the form, we also select the view based on which the records should be displayed in the lookup window. The same behavior is expected for the Tablet application as well. But we came across a scenario where the lookup displayed all records irrespective of the view selected\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2014\/10\/issue-with-the-lookup-view-selected-during-customizations-not-being-honored-in-tablet\/\">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":[13,19,21,22,24],"tags":[595,740,1012,1696,1789],"class_list":["post-1015","post","type-post","status-publish","format-standard","hentry","category-customizations","category-dynamics-crm","category-dynamics-crm-2013","category-dynamics-crm-2015","category-dynamics-crm-2016","tag-dynamics-crm-2013","tag-entity","tag-lookup","tag-tablets","tag-view"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/1015","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=1015"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/1015\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=1015"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=1015"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=1015"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}