{"id":26976,"date":"2021-02-26T09:04:40","date_gmt":"2021-02-26T09:04:40","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=26976"},"modified":"2022-02-15T13:02:12","modified_gmt":"2022-02-15T07:32:12","slug":"open-lookup-field-form-in-the-same-context-of-the-main-form-within-dynamics-365-crm-power-apps","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2021\/02\/open-lookup-field-form-in-the-same-context-of-the-main-form-within-dynamics-365-crm-power-apps\/","title":{"rendered":"Open Lookup Field Form in the same context of the Main Form within Dynamics 365 CRM\/Power Apps"},"content":{"rendered":"<h2>Introduction<\/h2>\n<p style=\"text-align: justify;\">With the recent wave release of Microsoft, there is a new enhancement added to enrich the adding of New or editing the existing Lookup Record from the main entity record. This feature is called Main Form Dialog (MFD). In this, if we have any lookup field on the form and we want to add or edit the existing lookup record, it will open related entity form in the same context i.e. it does not leave the current record.<\/p>\n<p style=\"text-align: justify;\">When the user wants to add a new record for the lookup field entity, they can easily add it without losing previously entered information on the main form, this enriches the user experience. For example, consider a user is creating a new account and they need to add primary contact. Here, suppose the user enters some information of an account and when they try to add new primary contact, it leaves the main form and opens the contact form in the same context, so it loses account information!<\/p>\n<p style=\"text-align: justify;\">With help of MFD, users can add a new contact record and associate it with an account without losing any information from the account form. Also, if a user is on the account and they wanted to open a contact form to see some information, they can easily do that and come back to the account form by just closing the contact form.<\/p>\n<p style=\"text-align: justify;\">To use this feature, first, we need to do some settings. Please follow the below steps for the same.<\/p>\n<p style=\"text-align: justify;\">1. Go to <a href=\"https:\/\/make.powerapps.com\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/make.powerapps.com<\/a> and login with your credentials<\/p>\n<p style=\"text-align: justify;\">2. Then go to Data -&gt; Tables -&gt; Account, as shown below.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-26969 size-full\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/02\/1-Open-lookup-field-form-in-the-same-context-of-the-main-form.jpeg\" alt=\"Open lookup field form in the same context of the main form\" width=\"557\" height=\"392\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/02\/1-Open-lookup-field-form-in-the-same-context-of-the-main-form.jpeg 557w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/02\/1-Open-lookup-field-form-in-the-same-context-of-the-main-form-300x211.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/02\/1-Open-lookup-field-form-in-the-same-context-of-the-main-form-200x140.jpeg 200w\" sizes=\"(max-width: 557px) 100vw, 557px\" \/><\/p>\n<p style=\"text-align: justify;\">3. Once you open Account, open the form for which you need to enable MFD and then select lookup field and check the two properties checkbox as shown below.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-26970 size-full\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/02\/2-Open-lookup-field-form-in-the-same-context-of-the-main-form.jpeg\" alt=\"Open lookup field form in the same context of the main form\" width=\"1335\" height=\"431\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/02\/2-Open-lookup-field-form-in-the-same-context-of-the-main-form.jpeg 1335w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/02\/2-Open-lookup-field-form-in-the-same-context-of-the-main-form-300x97.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/02\/2-Open-lookup-field-form-in-the-same-context-of-the-main-form-768x248.jpeg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/02\/2-Open-lookup-field-form-in-the-same-context-of-the-main-form-1024x331.jpeg 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/02\/2-Open-lookup-field-form-in-the-same-context-of-the-main-form-660x213.jpeg 660w\" sizes=\"(max-width: 1335px) 100vw, 1335px\" \/><\/p>\n<p style=\"text-align: justify;\">4. Once you are done with the above settings, save and publish the form.<\/p>\n<p style=\"text-align: justify;\">Now when you open the account form and click on the Primary contact lookup field, it opens up in the same context like a popup window, as shown below.<\/p>\n<p><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/02\/3-Open-lookup-field-form-in-the-same-context-of-the-main-form.jpeg\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"aligncenter wp-image-26971 size-full\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/02\/3-Open-lookup-field-form-in-the-same-context-of-the-main-form.jpeg\" alt=\"Open lookup field form in the same context of the main form\" width=\"970\" height=\"286\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/02\/3-Open-lookup-field-form-in-the-same-context-of-the-main-form.jpeg 970w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/02\/3-Open-lookup-field-form-in-the-same-context-of-the-main-form-300x88.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/02\/3-Open-lookup-field-form-in-the-same-context-of-the-main-form-768x226.jpeg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/02\/3-Open-lookup-field-form-in-the-same-context-of-the-main-form-660x195.jpeg 660w\" sizes=\"(max-width: 970px) 100vw, 970px\" \/><\/a><\/p>\n<p><strong>Existing contact Record:<\/strong><\/p>\n<p><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/02\/4-Open-lookup-field-form-in-the-same-context-of-the-main-form.jpeg\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"aligncenter wp-image-26972 size-full\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/02\/4-Open-lookup-field-form-in-the-same-context-of-the-main-form.jpeg\" alt=\"Open lookup field form in the same context of the main form\" width=\"1341\" height=\"546\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/02\/4-Open-lookup-field-form-in-the-same-context-of-the-main-form.jpeg 1341w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/02\/4-Open-lookup-field-form-in-the-same-context-of-the-main-form-300x122.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/02\/4-Open-lookup-field-form-in-the-same-context-of-the-main-form-768x313.jpeg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/02\/4-Open-lookup-field-form-in-the-same-context-of-the-main-form-1024x417.jpeg 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/02\/4-Open-lookup-field-form-in-the-same-context-of-the-main-form-660x269.jpeg 660w\" sizes=\"(max-width: 1341px) 100vw, 1341px\" \/><\/a><\/p>\n<p><strong>New Contact Record:<\/strong><\/p>\n<p><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/02\/5-Open-lookup-field-form-in-the-same-context-of-the-main-form.jpeg\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"aligncenter wp-image-26973 size-full\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/02\/5-Open-lookup-field-form-in-the-same-context-of-the-main-form.jpeg\" alt=\"Open lookup field form in the same context of the main form\" width=\"1293\" height=\"547\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/02\/5-Open-lookup-field-form-in-the-same-context-of-the-main-form.jpeg 1293w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/02\/5-Open-lookup-field-form-in-the-same-context-of-the-main-form-300x127.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/02\/5-Open-lookup-field-form-in-the-same-context-of-the-main-form-768x325.jpeg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/02\/5-Open-lookup-field-form-in-the-same-context-of-the-main-form-1024x433.jpeg 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/02\/5-Open-lookup-field-form-in-the-same-context-of-the-main-form-660x279.jpeg 660w\" sizes=\"(max-width: 1293px) 100vw, 1293px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">When you want to add a new contact record, it will open the contact form as a pop-up where a user can enter information quickly without leaving the main form so that it does not lose any information from the main form.<\/p>\n<h2>Conclusion<\/h2>\n<p style=\"text-align: justify;\">With the help of the Main Form Dialog (MFD) enhancement, users can easily add and edit lookup information and enjoy an enriched user experience.<\/p>\n<p><a href=\"https:\/\/maplytics.com\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"aligncenter wp-image-26977 size-full\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/02\/1.jpg\" alt=\"map dynamics 365\" width=\"800\" height=\"200\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/02\/1.jpg 800w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/02\/1-300x75.jpg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/02\/1-768x192.jpg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/02\/1-660x165.jpg 660w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction With the recent wave release of Microsoft, there is a new enhancement added to enrich the adding of New or editing the existing Lookup Record from the main entity record. This feature is called Main Form Dialog (MFD). In this, if we have any lookup field on the form and we want to add\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2021\/02\/open-lookup-field-form-in-the-same-context-of-the-main-form-within-dynamics-365-crm-power-apps\/\">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":[16,19,44,38],"tags":[545,592,2162,2161,1337],"class_list":["post-26976","post","type-post","status-publish","format-standard","hentry","category-dynamics-365","category-dynamics-crm","category-power-apps","category-microsoft-powerapps","tag-dynamics-365-crm","tag-dynamics-crm","tag-main-form","tag-open-lookup-field-form","tag-power-apps"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/26976","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=26976"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/26976\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=26976"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=26976"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=26976"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}