{"id":746,"date":"2022-01-10T20:43:54","date_gmt":"2022-01-10T20:43:54","guid":{"rendered":"https:\/\/logicbuilder.integroscrm.com\/help\/?page_id=746"},"modified":"2022-08-03T15:20:39","modified_gmt":"2022-08-03T15:20:39","slug":"apply-field-decorator","status":"publish","type":"page","link":"https:\/\/logicbuilder.integroscrm.com\/help\/apply-field-decorator\/","title":{"rendered":"Apply Field Decorator"},"content":{"rendered":"<div style=\"background-color: #ddeaff; border-left: 6px solid #0072b3; padding: 12px;\">\n<p><a name=\"abstract\"><\/a>Requires deployed&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/integroscrm.com\/timeline-viewer\/\" target=\"_blank\">TimeLine Viewer<\/a>&nbsp;add-on into Sugar<\/p>\n<\/div>\n\n\n<p>Makes a field in the Timeline Entry Context as Link to the record (<a href=\"https:\/\/logicbuilder.integroscrm.com\/help\/link-decorator\/\">Link Decorator<\/a>), Rich Text Message (<a href=\"https:\/\/logicbuilder.integroscrm.com\/help\/html-decorator\/\">HTML Decorator<\/a>), Link to file download (<a href=\"https:\/\/logicbuilder.integroscrm.com\/help\/attach-decorator\/\">Attach Decorator<\/a>). Usually applies for users&#8217; convenience to output key information in a readable way or to get rid of unnecessary clicks.<\/p>\n\n\n\n<p><strong>inputs:<\/strong><\/p>\n\n\n\n<p><span style=\"color:#ec8f45;\">structure<\/span> &#8211; input the structure with the TimeLine Context<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Required: yes<\/li><\/ul>\n\n\n\n<p><span style=\"color:#ec8f45;\">decorator<\/span> &#8211; input the needed decorator<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Required: yes<\/li><\/ul>\n\n\n\n<p><em>dropdown<\/em>&nbsp;&#8211; select structure field to which decorator is needed to be applied. If the dropdown list is empty, make sure that the structure port is filled with structure and the structure has fields.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Required: yes<\/li><\/ul>\n\n\n\n<p><strong>outputs:<\/strong><\/p>\n\n\n\n<p><span style=\"color:#ec8f45;\">structure<\/span> &#8211; resulting structure with the decorated field. Can be linked to Context field of Create TLV or with the following Apply Field Decorator to apply even more decorators.<\/p>\n\n\n<p><a href=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-73-fbbc2918da8141099545c46cad058778.png\" rel=\"prettyPhoto\"><img decoding=\"async\" src=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2021\/12\/img-73-fbbc2918da8141099545c46cad058778-1024x312.png\" alt=\"\" class=\"wp-image-378\"><\/a><\/p><div style=\"text-align:left\" class=\"yasr-auto-insert-visitor\"><!--Yasr Visitor Votes Shortcode--><div id='yasr_visitor_votes_746' class='yasr-visitor-votes'><div class=\"yasr-custom-text-vv-before yasr-custom-text-vv-before-746\">Click to rate this post!<\/div><div id='yasr-vv-second-row-container-9b60cd3a5eaa7' \n                                        class='yasr-vv-second-row-container'><div id='yasr-visitor-votes-rater-9b60cd3a5eaa7'\n                                      class='yasr-rater-stars-vv'\n                                      data-rater-postid='746' \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-9b60cd3a5eaa7\"><svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" width=\"20\" height=\"20\" \n                               class=\"yasr-dashicons-visitor-stats\"\n                               data-postid=\"746\" \n                               id=\"yasr-stats-dashicon-9b60cd3a5eaa7\">\n                            <path d=\"M18 18v-16h-4v16h4zM12 18v-11h-4v11h4zM6 18v-8h-4v8h4z\"><\/path>\n                          <\/svg><span id=\"yasr-vv-text-container-9b60cd3a5eaa7\" class=\"yasr-vv-text-container\">[Total: <span id=\"yasr-vv-votes-number-container-9b60cd3a5eaa7\">0<\/span>  Average: <span id=\"yasr-vv-average-container-9b60cd3a5eaa7\">0<\/span>]<\/span><\/div><div id='yasr-vv-loader-9b60cd3a5eaa7' class='yasr-vv-container-loader'><\/div><\/div><div id='yasr-vv-bottom-container-9b60cd3a5eaa7' class='yasr-vv-bottom-container'><\/div><\/div><!--End Yasr Visitor Votes Shortcode--><\/div>","protected":false},"excerpt":{"rendered":"<p>Requires deployed&nbsp;TimeLine Viewer&nbsp;add-on into Sugar Makes a field in the Timeline Entry Context as Link to the record (Link Decorator), Rich Text Message (HTML Decorator), Link to file download (Attach Decorator). Usually applies for users&#8217; convenience to output key information in a readable way or to get rid of unnecessary clicks. inputs: structure &#8211; input &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/logicbuilder.integroscrm.com\/help\/apply-field-decorator\/\"> <span class=\"screen-reader-text\">Apply Field Decorator<\/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-746","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\/746","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=746"}],"version-history":[{"count":4,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/746\/revisions"}],"predecessor-version":[{"id":2048,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/746\/revisions\/2048"}],"wp:attachment":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/media?parent=746"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/tags?post=746"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}