{"id":6776,"date":"2017-10-16T18:45:37","date_gmt":"2017-10-16T13:15:37","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=6776"},"modified":"2022-02-15T16:59:43","modified_gmt":"2022-02-15T11:29:43","slug":"configure-sub-grid-from-crm-forms-in-dynamics-365-portal","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2017\/10\/configure-sub-grid-from-crm-forms-in-dynamics-365-portal\/","title":{"rendered":"Configure Sub Grid from CRM forms in Dynamics 365 Portal"},"content":{"rendered":"<h2><strong>Introduction:<\/strong><\/h2>\n<p>We can easily configure CRM entity form in Dynamics 365 Portal by creating an <em>Entity Form<\/em>. However, by using <em>Entity Forms<\/em>, we can only edit or create the fields on the Portal, we cannot add\/edit records in the Sub Grid.<\/p>\n<p>To add\/edit both the fields and the Sub Grids that are present on the CRM forms, we need to perform some additional configuration, i.e., <em>Sub Grid Metadata Configuration<\/em>.<\/p>\n<h2><strong>Steps to configure Sub Grid from Dynamics CRM forms in Dynamics 365 Portal:<\/strong><\/h2>\n<p>Recently, we had a business requirement where we wanted to show Opportunity form that includes customer Contacts sub grid from the Opportunity entity and we wanted to create new customer records or update the existing records in the Sub Grid.<\/p>\n<p style=\"padding-left: 30px;\"><strong>1.<\/strong> To achieve this, first we have to create the <em>Entity form<\/em> for the <em>Opportunity entity record<\/em> as seen in the screenshot below;<\/p>\n<p style=\"padding-left: 30px; text-align: center;\"><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/10\/11.png\"><img decoding=\"async\" class=\"aligncenter wp-image-6777\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/10\/11.png\" alt=\"Configure Sub Grid from CRM forms in Dynamics 365 Portal\" width=\"791\" height=\"309\" \/><\/a><\/p>\n<p style=\"padding-left: 30px; text-align: left;\"><strong>2.\u00a0<\/strong>Then we need to add the <em>Entity Form Metadata<\/em> to allow the sub grid to create or edit the records as shown in the screenshot below;<\/p>\n<p style=\"padding-left: 30px; text-align: center;\"><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/10\/21.png\"><img decoding=\"async\" class=\"aligncenter wp-image-6778\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/10\/21.png\" alt=\"Configure Sub Grid from CRM forms in Dynamics 365 Portal\" width=\"752\" height=\"274\" \/><\/a><\/p>\n<p style=\"padding-left: 30px; text-align: left;\"><strong>3.\u00a0<\/strong>While creating the entity form metadata, first we have to select the metadata <em>T<\/em>ype (<em>Attribute, Notes, Section, Subgrid, Tab or Timeline<\/em>).<\/p>\n<p style=\"padding-left: 30px; text-align: left;\">Here we are required to create the Sub Grid Metadata, so we need to select the <em>View Actions<\/em> as <em>Create<\/em> to add the option for creating records in Sub Grid or for updating the records in Sub Grid.<\/p>\n<p style=\"padding-left: 30px; text-align: left;\">Then we have to select the <em>Target Type<\/em> as <em>Entity F<\/em>orm, <em>Webpage<\/em> or <em>URL<\/em> as per our requirement. Then we need to select the <em>Entity Form<\/em> that we want to show when we click on the Create\/Edit button of the Sub Grid.<\/p>\n<p style=\"padding-left: 30px; text-align: left;\">We can also set the <em>Button Label<\/em> as shown in the screenshot below;<\/p>\n<p style=\"padding-left: 30px; text-align: center;\"><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/10\/31.png\"><img decoding=\"async\" class=\"aligncenter wp-image-6779\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/10\/31.png\" alt=\"Configure Sub Grid from CRM forms in Dynamics 365 Portal\" width=\"773\" height=\"319\" \/><\/a><\/p>\n<p style=\"padding-left: 30px; text-align: left;\"><strong>4.\u00a0<\/strong>Once we follow the above steps, we can see the <em>Sub Grid<\/em> with the <em>Create<\/em> and <em>Update<\/em> options as shown in the screenshot below;<\/p>\n<p style=\"padding-left: 30px; text-align: center;\"><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/10\/41.png\"><img decoding=\"async\" class=\"aligncenter wp-image-6780\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/10\/41.png\" alt=\"Configure Sub Grid from CRM forms in Dynamics 365 Portal\" width=\"709\" height=\"374\" \/><\/a><\/p>\n<p style=\"text-align: left;\">Hope this helps!<\/p>\n<h2 style=\"text-align: left;\"><div class=\"su-heading su-heading-style-default su-heading-align-center\" id=\"\" style=\"font-size:15px;margin-bottom:5px\"><div class=\"su-heading-inner\"><a href=\"https:\/\/www.inogic.com\/product\/productivity-apps\/mailchimp-dynamics-365-crm-integration-marketing-4-dynamics\" target=\"_blank\" rel=\"noopener\">Marketing4Dynamics<\/a> \u2013 Mailchimp and Dynamics 365 CRM integration to plan effective sales strategies, increase sales and improve ROI<\/div><\/div><\/h2>\n<ul>\n<li>Sync Audiences, Members and Tags from Mailchimp to CRM<\/li>\n<li>Sync CRM Marketing List (Contacts\/Leads) to Mailchimp<\/li>\n<li>Sync Campaigns and Member activities from Mailchimp to CRM<\/li>\n<li>Monitor and analyze Mailchimp campaign statistics through Dashboards in CRM<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Introduction: We can easily configure CRM entity form in Dynamics 365 Portal by creating an Entity Form. However, by using Entity Forms, we can only edit or create the fields on the Portal, we cannot add\/edit records in the Sub Grid. To add\/edit both the fields and the Sub Grids that are present on the\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2017\/10\/configure-sub-grid-from-crm-forms-in-dynamics-365-portal\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":6782,"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,16,19,37],"tags":[328,569,1677],"class_list":["post-6776","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-customizations","category-dynamics-365","category-dynamics-crm","category-microsoft-portals","tag-configure-sub-grid","tag-dynamics-365-portal","tag-sub-grid-metadata-configuration"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/6776","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=6776"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/6776\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media\/6782"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=6776"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=6776"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=6776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}