{"id":2955,"date":"2025-05-16T19:57:36","date_gmt":"2025-05-16T19:57:36","guid":{"rendered":"https:\/\/wiki.xontel.com\/?post_type=manual_documentation&#038;p=2955"},"modified":"2025-05-16T19:58:10","modified_gmt":"2025-05-16T19:58:10","slug":"widgets","status":"publish","type":"manual_documentation","link":"https:\/\/wiki.xontel.com\/ar\/documentation\/call-center\/call-center-v-1-x-x\/call-center\/widgets\/","title":{"rendered":"Widgets"},"content":{"rendered":"<p>The Widgets feature in the Call Center system allows administrators to design and integrate custom dashboard elements using SQL queries. These widgets are used to visually represent key metrics, summaries, or KPIs for call center operations in real-time.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large image-border\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"307\" src=\"https:\/\/wiki.xontel.com\/wp-content\/uploads\/2025\/05\/image-97-1024x307.png\" alt=\"\" class=\"wp-image-2958\" srcset=\"https:\/\/wiki.xontel.com\/wp-content\/uploads\/2025\/05\/image-97-1024x307.png 1024w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2025\/05\/image-97-300x90.png 300w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2025\/05\/image-97-768x230.png 768w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2025\/05\/image-97.png 1326w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Add Widget<br><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full image-border\"><img decoding=\"async\" width=\"999\" height=\"665\" src=\"https:\/\/wiki.xontel.com\/wp-content\/uploads\/2025\/05\/image-96.png\" alt=\"\" class=\"wp-image-2957\" srcset=\"https:\/\/wiki.xontel.com\/wp-content\/uploads\/2025\/05\/image-96.png 999w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2025\/05\/image-96-300x200.png 300w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2025\/05\/image-96-768x511.png 768w\" sizes=\"(max-width: 999px) 100vw, 999px\" \/><\/figure>\n\n\n\n<p><strong>Name<\/strong><em>: <\/em>The title of the widget as it will appear on the dashboard.<\/p>\n\n\n\n<p><strong>Background Color<\/strong><em>: <\/em>A dropdown for selecting the widget\u2019s background color.<\/p>\n\n\n\n<p><strong>Widget Query<\/strong><em>: <\/em>A SQL query that defines the data displayed by the widget. This must return a single value or count suitable for display (e.g., <code>SELECT COUNT(*) FROM calls WHERE status = 'answer'<\/code>).<\/p>\n\n\n\n<p><strong>Widget Description<\/strong><em>: <\/em>A short explanation of what the widget displays. <\/p>","protected":false},"author":1,"featured_media":0,"parent":2755,"menu_order":5,"template":"","manualdocumentationcategory":[16],"manual_doc_tag":[],"class_list":["post-2955","manual_documentation","type-manual_documentation","status-publish","hentry","manualdocumentationcategory-doc-demo-articles"],"_links":{"self":[{"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/manual_documentation\/2955","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/manual_documentation"}],"about":[{"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/types\/manual_documentation"}],"author":[{"embeddable":true,"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":2,"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/manual_documentation\/2955\/revisions"}],"predecessor-version":[{"id":2960,"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/manual_documentation\/2955\/revisions\/2960"}],"up":[{"embeddable":true,"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/manual_documentation\/2755"}],"wp:attachment":[{"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/media?parent=2955"}],"wp:term":[{"taxonomy":"manualdocumentationcategory","embeddable":true,"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/manualdocumentationcategory?post=2955"},{"taxonomy":"manual_doc_tag","embeddable":true,"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/manual_doc_tag?post=2955"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}