{"id":1461,"date":"2022-03-30T12:40:07","date_gmt":"2022-03-30T12:40:07","guid":{"rendered":"https:\/\/logicbuilder.integroscrm.com\/help\/?page_id=1461"},"modified":"2022-03-30T12:40:08","modified_gmt":"2022-03-30T12:40:08","slug":"import-sugar-metadata","status":"publish","type":"page","link":"https:\/\/logicbuilder.integroscrm.com\/help\/import-sugar-metadata\/","title":{"rendered":"Import Sugar Metadata"},"content":{"rendered":"\n<p>To create logic and perform configuration for your own instance, Logic Builder project must have uploaded Sugar Metadata.<\/p>\n\n\n\n<p>You can check what is metadata in&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Metadata\" rel=\"noreferrer noopener\" target=\"_blank\">Wiki<\/a>, but generally, it is a list of modules, fields in each module, and relationships between these modules, as this is what you are going to use for configuration.<\/p>\n\n\n<div style=\"background-color: #ddeaff; border-left: 6px solid #0072b3; padding: 12px;\">\n<p>Logic Builder doesn&#8217;t retrieve any business data.<\/p>\n<\/div>\n\n\n<p>So, to upload metadata, navigate to Project -&gt; Upload Sugar Metadata OR during the creation of the New Project:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2022\/03\/img-197-f2079916d1fc495d801adddfad28a491.png\" alt=\"\" class=\"wp-image-1395\" width=\"752\" height=\"280\" srcset=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2022\/03\/img-197-f2079916d1fc495d801adddfad28a491.png 913w, https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2022\/03\/img-197-f2079916d1fc495d801adddfad28a491-300x112.png 300w, https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2022\/03\/img-197-f2079916d1fc495d801adddfad28a491-768x286.png 768w\" sizes=\"auto, (max-width: 752px) 100vw, 752px\" \/><\/figure>\n\n\n\n<p>If you would like to give it a try without configuring your own Sugar just select &#8216;User ready-made Sugar metadata&#8217;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2022\/03\/img-197-12827e7bb72c450693c375fd3839385a.png\" alt=\"\" class=\"wp-image-1393\" width=\"337\" height=\"468\" srcset=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2022\/03\/img-197-12827e7bb72c450693c375fd3839385a.png 589w, https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2022\/03\/img-197-12827e7bb72c450693c375fd3839385a-216x300.png 216w\" sizes=\"auto, (max-width: 337px) 100vw, 337px\" \/><\/figure>\n\n\n\n<p>To upload metadata from your own instance:<\/p>\n\n\n\n<p>If your instance is accessible from the Internet &#8211; select the option &#8216;Import metadata from Sugar via URL&#8217;<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>in Sugar URL provide a link to your Sugar (the link you use to log in, for example,&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/yourcompany.sugaropencloud.eu\/\" target=\"_blank\">https:\/\/yourcompany.sugaropencloud.eu<\/a><br><em>Note: be careful when specifying the link &#8211; you must specify https:\/\/ or http:\/\/, the link should not contain links to modules, for example,&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/yourcompany.sugaropencloud.eu\/#Cases\" target=\"_blank\">https:\/\/yourcompany.sugaropencloud.eu\/#Cases<\/a><\/em><\/li><li>in Sugar Login &#8211; specify the login of a user who has access to Sugar<\/li><li>in Sugar Password &#8211; enter the password of the user whose login you specified above<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2022\/03\/img-197-ce2d36bd94864e378a28f8858a3000d0.png\" alt=\"\" class=\"wp-image-1394\" width=\"668\" height=\"454\" srcset=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2022\/03\/img-197-ce2d36bd94864e378a28f8858a3000d0.png 929w, https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2022\/03\/img-197-ce2d36bd94864e378a28f8858a3000d0-300x204.png 300w, https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2022\/03\/img-197-ce2d36bd94864e378a28f8858a3000d0-768x522.png 768w\" sizes=\"auto, (max-width: 668px) 100vw, 668px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>When you have specified all the connection data, click the Update \/Create Project<\/li><\/ul>\n\n\n<div style=\"background-color: #ddeaff; border-left: 6px solid #0072b3; padding: 12px;\">\n<p>Note: The metadata is imported based on the rights of the user under which the connection is made. For example, if the user doesn\u2019t have access to the Cases module due to role restrictions, the Cases module will not be available in Logic Builder. If possible, use an account with administrator rights.<\/p>\n<\/div>\n\n\n<p>If your instance is not accessible from the Internet:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>download&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/integroscrm.com\/lb-components\/\" target=\"_blank\">Logic Builder metadata collector package<\/a>&nbsp;(LB Package Management)&nbsp;and install it into your Sugar via Module Loader.<\/li><li>Go to Administration page of your Sugar and select LB Metadata option in the Logic Builder section to download the metadata file.<\/li><li>Return to Logic Builder and select option &#8216;Import metadata from a file&#8217;<\/li><li>Select the downloaded file in Sugar Metadata File input box<\/li><li>Click Update\/Create Project<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2022\/03\/img-197-842b453b7d024ac6962d0bc6f226e9d7.png\" alt=\"\" class=\"wp-image-1392\" width=\"679\" height=\"426\" srcset=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2022\/03\/img-197-842b453b7d024ac6962d0bc6f226e9d7.png 906w, https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2022\/03\/img-197-842b453b7d024ac6962d0bc6f226e9d7-300x188.png 300w, https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2022\/03\/img-197-842b453b7d024ac6962d0bc6f226e9d7-768x481.png 768w\" sizes=\"auto, (max-width: 679px) 100vw, 679px\" \/><\/figure>\n<div style=\"text-align:left\" class=\"yasr-auto-insert-visitor\"><!--Yasr Visitor Votes Shortcode--><div id='yasr_visitor_votes_1461' class='yasr-visitor-votes'><div class=\"yasr-custom-text-vv-before yasr-custom-text-vv-before-1461\">Click to rate this post!<\/div><div id='yasr-vv-second-row-container-6007be089a3ec' \n                                        class='yasr-vv-second-row-container'><div id='yasr-visitor-votes-rater-6007be089a3ec'\n                                      class='yasr-rater-stars-vv'\n                                      data-rater-postid='1461' \n                                      data-rating='0'\n                                      data-rater-starsize='24'\n                                      data-rater-readonly='false'\n                                      data-rater-nonce='fa81b01ba5' \n                                      data-issingular='false'\n                                    ><\/div><div class=\"yasr-vv-stats-text-container\" id=\"yasr-vv-stats-text-container-6007be089a3ec\"><svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" width=\"20\" height=\"20\" \n                               class=\"yasr-dashicons-visitor-stats\"\n                               data-postid=\"1461\" \n                               id=\"yasr-stats-dashicon-6007be089a3ec\">\n                            <path d=\"M18 18v-16h-4v16h4zM12 18v-11h-4v11h4zM6 18v-8h-4v8h4z\"><\/path>\n                          <\/svg><span id=\"yasr-vv-text-container-6007be089a3ec\" class=\"yasr-vv-text-container\">[Total: <span id=\"yasr-vv-votes-number-container-6007be089a3ec\">0<\/span>  Average: <span id=\"yasr-vv-average-container-6007be089a3ec\">0<\/span>]<\/span><\/div><div id='yasr-vv-loader-6007be089a3ec' class='yasr-vv-container-loader'><\/div><\/div><div id='yasr-vv-bottom-container-6007be089a3ec' class='yasr-vv-bottom-container'><\/div><\/div><!--End Yasr Visitor Votes Shortcode--><\/div>","protected":false},"excerpt":{"rendered":"<p>To create logic and perform configuration for your own instance, Logic Builder project must have uploaded Sugar Metadata. You can check what is metadata in&nbsp;Wiki, but generally, it is a list of modules, fields in each module, and relationships between these modules, as this is what you are going to use for configuration. Logic Builder &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/logicbuilder.integroscrm.com\/help\/import-sugar-metadata\/\"> <span class=\"screen-reader-text\">Import Sugar Metadata<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"yasr_overall_rating":0,"yasr_post_is_review":"","yasr_auto_insert_disabled":"","yasr_review_type":"","footnotes":""},"tags":[],"class_list":["post-1461","page","type-page","status-publish","hentry"],"yasr_visitor_votes":{"number_of_votes":0,"sum_votes":0,"stars_attributes":{"read_only":false,"span_bottom":false}},"_links":{"self":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/1461","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/comments?post=1461"}],"version-history":[{"count":1,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/1461\/revisions"}],"predecessor-version":[{"id":1462,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/1461\/revisions\/1462"}],"wp:attachment":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/media?parent=1461"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/tags?post=1461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}