{"id":9321,"date":"2015-11-26T16:11:43","date_gmt":"2015-11-26T16:11:43","guid":{"rendered":"http:\/\/help.instantatlas.com\/report-builder-agol\/agol\/widgets\/text-widget\/"},"modified":"2023-07-20T15:37:38","modified_gmt":"2023-07-20T14:37:38","slug":"rule-aware-text-widget","status":"publish","type":"page","link":"https:\/\/help.reports.esriuk.com\/report-builder\/widgets\/rule-aware-text-widget\/","title":{"rendered":"Text Widget"},"content":{"rendered":"<p>The <strong>Text<\/strong> widget has an extra button in the widget toolbar when selected &#8211; <strong>Edit text and rules<\/strong>. When clicked, this button allows you to type your text directly into the widget. The toolbar that shows above the widget allows you to add formatting and to insert variables.<\/p>\n<p><a href=\"https:\/\/help.reports.esriuk.com\/report-builder\/wp-content\/uploads\/sites\/51\/2023\/07\/rb-2-6-web-map-text11.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11734\" src=\"https:\/\/help.reports.esriuk.com\/report-builder\/wp-content\/uploads\/sites\/51\/2023\/07\/rb-2-6-web-map-text11.png\" alt=\"Add text widget to web map report\" width=\"1015\" height=\"383\" srcset=\"https:\/\/help.reports.esriuk.com\/report-builder\/wp-content\/uploads\/sites\/51\/2023\/07\/rb-2-6-web-map-text11.png 1015w, https:\/\/help.reports.esriuk.com\/report-builder\/wp-content\/uploads\/sites\/51\/2023\/07\/rb-2-6-web-map-text11-300x113.png 300w, https:\/\/help.reports.esriuk.com\/report-builder\/wp-content\/uploads\/sites\/51\/2023\/07\/rb-2-6-web-map-text11-768x290.png 768w\" sizes=\"auto, (max-width: 1015px) 100vw, 1015px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h3>Variables<\/h3>\n<p>You can add variables to your text that will dynamically insert values such as the feature name, indicator name or latest value. The buttons to add variables in the toolbar shown above are <strong>Insert feature value<\/strong> and <strong>Insert indicator value<\/strong>. These allow you to easily insert pre-defined variables. You can also add variables to your text widget manually by simply typing them in &#8211; refer to the <a href=\"https:\/\/help.instantatlas.com\/report-builder\/widgets\/variables\/\">Variables<\/a> page for information on the possible values.<\/p>\n<h3>Text Rules<\/h3>\n<p>For <strong>Text<\/strong> widgets, it is possible to define rules which allow you to display different text based on a data value for example. Click the <strong>Edit text rules<\/strong> button in the text editor toolbar that shows above the widget when you are editing the text. The <strong>Edit text rules<\/strong> window will open. For more information on this window visit the <a href=\"https:\/\/help.instantatlas.com\/report-builder\/widgets\/text-rules\/\">Text Rules<\/a> page.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Text widget has an extra button in the widget toolbar when selected &#8211; Edit text and rules. When clicked, this button allows you to type your text directly into the widget. The toolbar that shows above the widget allows you to add formatting and to insert variables. &nbsp; Variables You can add variables to [&hellip;]<\/p>\n","protected":false},"author":22,"featured_media":0,"parent":4321,"menu_order":16,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-9321","page","type-page","status-publish","hentry","entry"],"_links":{"self":[{"href":"https:\/\/help.reports.esriuk.com\/report-builder\/wp-json\/wp\/v2\/pages\/9321","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.reports.esriuk.com\/report-builder\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/help.reports.esriuk.com\/report-builder\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/help.reports.esriuk.com\/report-builder\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/help.reports.esriuk.com\/report-builder\/wp-json\/wp\/v2\/comments?post=9321"}],"version-history":[{"count":0,"href":"https:\/\/help.reports.esriuk.com\/report-builder\/wp-json\/wp\/v2\/pages\/9321\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/help.reports.esriuk.com\/report-builder\/wp-json\/wp\/v2\/pages\/4321"}],"wp:attachment":[{"href":"https:\/\/help.reports.esriuk.com\/report-builder\/wp-json\/wp\/v2\/media?parent=9321"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}