{"id":14604,"date":"2019-02-16T10:42:27","date_gmt":"2019-02-16T10:42:27","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?page_id=14604"},"modified":"2020-01-14T12:16:51","modified_gmt":"2020-01-14T12:16:51","slug":"clone-records-along-with-relationship-from-one-entity-to-another-entity","status":"publish","type":"page","link":"https:\/\/www.inogic.com\/blog\/clone-records-along-with-relationship-from-one-entity-to-another-entity\/","title":{"rendered":"Clone records details along with the relationship from one entity to another entity"},"content":{"rendered":"<p style=\"text-align: justify;\">In our <a href=\"https:\/\/www.inogic.com\/blog\/click2clone-infocentre\/create-click2clone-template-for-cloning-records\/\" target=\"_blank\" rel=\"noopener noreferrer\">last blog <\/a>we learnt how to create Click2Clone Template and how it executes self-cloning. It is a significant way to reduce the amount of effort in entering duplicate data in records of same Entity. However, this is not all that Click2Clone has to offer. In this blog we will focus on the powerful functionality of Click2Clone i.e. cloning details of one Entity to another Entity records along with their relationships.<\/p>\n<p style=\"text-align: justify;\">This feature enables cloning of records across Entities thereby making Click2Clone an extremely powerful tool. It can be done for both OOB and Custom Entities.<\/p>\n<p>We are now going to cover the steps to configure this feature and see how it clones records across Entities:<\/p>\n<p style=\"text-align: justify;\"><strong>1<\/strong>. In self-cloning we leave the <strong>Target Entity Name<\/strong> blank because the Source Entity and Target Entity are same. However, in cloning records from one Entity to another Entity the Target Entity is different so we need to mention the <strong>Target Entity Name <\/strong>field in the Click2Clone template.<\/p>\n<p>For that navigate to <strong>My Apps -&gt; Click2Clone Group -&gt; Click2Clone Templates<\/strong><\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-18537\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/26-1.png\" alt=\"\" width=\"1129\" height=\"581\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/26-1.png 1129w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/26-1-300x154.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/26-1-768x395.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/26-1-1024x527.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/26-1-660x340.png 660w\" sizes=\"(max-width: 1129px) 100vw, 1129px\" \/><\/p>\n<p><strong>2<\/strong>.\u00a0Let\u2019s take an example of cloning the record of <strong>Opportunity<\/strong> Entity to <strong>Project <\/strong>Entity<strong>.\u00a0<\/strong>In Click2Clone template set the <strong>Target Entity Name<\/strong> as <strong>Project<\/strong> and <strong>Save<\/strong> the template.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-18538\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/1-3.png\" alt=\"\" width=\"1278\" height=\"477\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/1-3.png 1278w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/1-3-300x112.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/1-3-768x287.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/1-3-1024x382.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/1-3-660x246.png 660w\" sizes=\"(max-width: 1278px) 100vw, 1278px\" \/><\/p>\n<p style=\"text-align: justify; padding-left: 40px;\"><strong>3<\/strong>. After defining the Target Entity Name and clicking on save <strong>Fields Mapping<\/strong> grid will get populated. Here, you need to map the Source Entity attributes with the Target Entity attributes in the <strong>Fields Mapping<\/strong> section on the template. The target Entity attributes will be displayed in option set with the same data type as that of the source Entity attributes. Map the attributes as per your business requirement. After mapping click on <strong>\u2018Save\u2019 <\/strong>button of the grid<strong>.<\/strong><\/p>\n<p style=\"padding-left: 160px;\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-18539\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/10-2.png\" alt=\"\" width=\"651\" height=\"498\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/10-2.png 651w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/10-2-300x229.png 300w\" sizes=\"(max-width: 651px) 100vw, 651px\" \/><\/p>\n<p><strong>4<\/strong>. The template One entity to another entity i.e. <strong>Opportunity to Project Template <\/strong>is created.<\/p>\n<p><strong>5<\/strong>. You can also clone the relationships from one Entity to another Entity. For that you need to create a child template. With the help of this child template you can clone relationships i.e. child records can be cloned from one Entity to another Entity record.<\/p>\n<p style=\"text-align: justify;\">For e.g. In Opportunity to Project \u2013 When the user creates the Child template for email relationship user will be able to clone the Emails from Opportunity record to Project record. So we create a child template <strong>Opportunity Email to Project Email.<\/strong><\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-18540\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/1-4.png\" alt=\"\" width=\"1056\" height=\"370\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/1-4.png 1056w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/1-4-300x105.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/1-4-768x269.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/1-4-1024x359.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/1-4-660x231.png 660w\" sizes=\"(max-width: 1056px) 100vw, 1056px\" \/><\/p>\n<p style=\"text-align: justify;\"><strong>6<\/strong>.\u00a0Here as we are carrying email from Opportunity Entity to Project Entity the <strong>Source Entity Name<\/strong> and <strong>Target Entity Name<\/strong> are set as <strong>email<\/strong>. The <strong>Source Entity Relationship<\/strong> and <strong>Target Entity Relationship<\/strong> is set as email type for both Entities. The <strong>Parent Template<\/strong> is auto-populated.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-18541\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/1-5.png\" alt=\"\" width=\"1071\" height=\"462\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/1-5.png 1071w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/1-5-300x129.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/1-5-768x331.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/1-5-1024x442.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/1-5-660x285.png 660w\" sizes=\"(max-width: 1071px) 100vw, 1071px\" \/><\/p>\n<p style=\"text-align: justify;\"><strong>7<\/strong>.\u00a0Once you define the template for cloning records from one Entity to another Entity along with the relationships and click on Click2Clone button, the source Entity record gets cloned and new record of target Entity is created along with the selected child records.<\/p>\n<p><strong>Selected Opportunity with an Email activity:<\/strong><\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-18542\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/1-6.png\" alt=\"\" width=\"1129\" height=\"495\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/1-6.png 1129w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/1-6-300x132.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/1-6-768x337.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/1-6-1024x449.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/1-6-660x289.png 660w\" sizes=\"(max-width: 1129px) 100vw, 1129px\" \/><\/p>\n<p><strong>Cloned Project with Email activity present on Opportunity:<\/strong><\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-18543\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/1-7.png\" alt=\"\" width=\"1127\" height=\"458\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/1-7.png 1127w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/1-7-300x122.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/1-7-768x312.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/1-7-1024x416.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/1-7-660x268.png 660w\" sizes=\"(max-width: 1127px) 100vw, 1127px\" \/><\/p>\n<p style=\"text-align: justify;\">The relationships also have been carried forward in this cloning as you can see the email of Opportunity record is available in Project (Cloned) record. You can also clone other one entity to another entity records along with relationships as per business cases using Click2Clone.<\/p>\n<p style=\"text-align: justify;\">Isn\u2019t this an exciting feature! To explore more download Click2Clone from <a href=\"https:\/\/www.inogic.com\/product\/productivity-pack\/click-2-clone-microsoft-dynamics-crm-records\" target=\"_blank\" rel=\"noopener noreferrer\">Website<\/a> or <a href=\"https:\/\/appsource.microsoft.com\/en-us\/product\/dynamics-365\/inogic.d59d49e1-e228-4243-8155-9b937290bcf5\" target=\"_blank\" rel=\"noopener noreferrer\">AppSource<\/a>.<\/p>\n<p>For demo, queries or any suggestion mail at <a href=\"mailto:crm@inogic.com\" target=\"_blank\" rel=\"noopener noreferrer\">crm@inogic.com<\/a><\/p>\n<p>Go back to <a href=\"https:\/\/www.inogic.com\/blog\/click2clone-infocentre\/\" target=\"_blank\" rel=\"noopener noreferrer\">Click2Clone InfoCentre homepage<\/a>.<\/p>\n<p><em>Keep Cloning!<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In our last blog we learnt how to create Click2Clone Template and how it executes self-cloning. It is a significant way to reduce the amount of effort in entering duplicate data in records of same Entity. However, this is not all that Click2Clone has to offer. In this blog we will focus on the powerful\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/clone-records-along-with-relationship-from-one-entity-to-another-entity\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-templates\/full-width.php","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-14604","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/pages\/14604","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"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=14604"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/pages\/14604\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=14604"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}