{"id":1012,"date":"2017-01-19T08:17:35","date_gmt":"2017-01-19T14:17:35","guid":{"rendered":"https:\/\/www.teamdesk.net\/blog\/?p=1012"},"modified":"2017-01-19T14:05:07","modified_gmt":"2017-01-19T20:05:07","slug":"embedding-option-views-dashboards","status":"publish","type":"post","link":"https:\/\/www.teamdesk.net\/blog\/whats-new\/embedding-option-views-dashboards\/","title":{"rendered":"Embedding option for views and dashboards"},"content":{"rendered":"<p>While ago we added <a href=\"https:\/\/www.teamdesk.net\/help\/7.3.1.aspx\">HTML5\/JavaScript option to the web-to-record form<\/a>. Today, we have extended <a href=\"https:\/\/www.teamdesk.net\/help\/5.aspx\">TeamDesk views<\/a> and <a href=\"https:\/\/www.teamdesk.net\/help\/6.aspx\">dashboards<\/a> with option to embed them on arbitrary page which allow you to copy\/paste simple HTML snippet to embed them to your website page.<\/p>\n<p><!--more-->Views and dashboards now have \u201cEnable Embedding\u201d property in the \u201cAdvanced Options\u201d section.<\/p>\n<p>When enabled, system will ask you to specify \u201cImpersonate As\u201d user and will provide you with HTML snippet code to place on your website page.<\/p>\n<pre><span style=\"color: #008000;\">&lt;!-- Insert the code below the point you want to embed the view to --&gt;<\/span>\r\n<span style=\"color: #0000ff;\">&lt;<span style=\"color: #ff0000;\">script<\/span> src=\"<span style=\"color: #800000;\">https:\/\/www.teamdesk.net\/secure\/embed.js<\/span>\"<\/span>\r\n<span style=\"color: #0000ff;\">        data-url=\"<span style=\"color: #800000;\">\/ev-2704084\/db\/22998\/view.aspx<\/span>\"&gt;&lt;\/<span style=\"color: #ff0000;\">script<\/span>&gt;\r\n<\/span><\/pre>\n<p>It will display view\/dashboard using specified user permissions but with action buttons and drilldown links removed.<\/p>\n<p><!-- Insert the code below the point you want to embed the view to --><\/p>\n<style>.td-tile>div { height:220px!important; }<\/style>\n<p><script src=\"https:\/\/www.teamdesk.net\/secure\/embed.js\" data-url=\"\/ev-2704084\/db\/22998\/view.aspx?top=4\" data-defer=\"true\"><\/script><\/p>\n<p>&nbsp;<\/p>\n<p>After placing snippet code on your website page, please feel free to alter view\/dashboard settings as needed. All subsequent\u00a0changes will be automatically handled &#8211; there is no needs to update snippet code again.<\/p>\n<p>Unlike <a href=\"https:\/\/www.teamdesk.net\/help\/2.7.aspx\">\u201cPublic User\u201d option<\/a> that uses &lt;iframe&gt;\u00a0for integration with web page, the script code you embed to your web page bootstraps all necessary components and render view\/dashboard directly into your web page. Since there is no way to manipulate the snippet code to access other part of your database, it is\u00a0also more secure option.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>While ago we added HTML5\/JavaScript option to the web-to-record form. Today, we have extended TeamDesk views and dashboards with option to embed them on arbitrary page which allow you to copy\/paste simple HTML snippet to embed them to your website page.<\/p>\n","protected":false},"author":5,"featured_media":1015,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-1012","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-whats-new"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Embedding option for views and dashboards - TeamDesk Blog<\/title>\n<meta name=\"description\" content=\"We have extended TeamDesk views and dashboards with embedding option which allow you copy-pasting simple HTML snippet to embed them to your website page.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.teamdesk.net\/blog\/whats-new\/embedding-option-views-dashboards\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Embedding option for views and dashboards - TeamDesk Blog\" \/>\n<meta property=\"og:description\" content=\"We have extended TeamDesk views and dashboards with embedding option which allow you copy-pasting simple HTML snippet to embed them to your website page.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.teamdesk.net\/blog\/whats-new\/embedding-option-views-dashboards\/\" \/>\n<meta property=\"og:site_name\" content=\"TeamDesk Blog\" \/>\n<meta property=\"article:published_time\" content=\"2017-01-19T14:17:35+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-01-19T20:05:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2017\/01\/embedcode.png\" \/>\n\t<meta property=\"og:image:width\" content=\"684\" \/>\n\t<meta property=\"og:image:height\" content=\"224\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Slava Shynderov\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Slava Shynderov\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/embedding-option-views-dashboards\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/embedding-option-views-dashboards\\\/\"},\"author\":{\"name\":\"Slava Shynderov\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/#\\\/schema\\\/person\\\/478c18541e8c72f93caf641086d96b07\"},\"headline\":\"Embedding option for views and dashboards\",\"datePublished\":\"2017-01-19T14:17:35+00:00\",\"dateModified\":\"2017-01-19T20:05:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/embedding-option-views-dashboards\\\/\"},\"wordCount\":199,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/embedding-option-views-dashboards\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/01\\\/embedcode.png\",\"articleSection\":[\"What's New\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/embedding-option-views-dashboards\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/embedding-option-views-dashboards\\\/\",\"url\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/embedding-option-views-dashboards\\\/\",\"name\":\"Embedding option for views and dashboards - TeamDesk Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/embedding-option-views-dashboards\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/embedding-option-views-dashboards\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/01\\\/embedcode.png\",\"datePublished\":\"2017-01-19T14:17:35+00:00\",\"dateModified\":\"2017-01-19T20:05:07+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/#\\\/schema\\\/person\\\/478c18541e8c72f93caf641086d96b07\"},\"description\":\"We have extended TeamDesk views and dashboards with embedding option which allow you copy-pasting simple HTML snippet to embed them to your website page.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/embedding-option-views-dashboards\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/embedding-option-views-dashboards\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/embedding-option-views-dashboards\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/01\\\/embedcode.png\",\"contentUrl\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/01\\\/embedcode.png\",\"width\":684,\"height\":224,\"caption\":\"Enable Embedding option\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/embedding-option-views-dashboards\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Embedding option for views and dashboards\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/\",\"name\":\"TeamDesk Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/#\\\/schema\\\/person\\\/478c18541e8c72f93caf641086d96b07\",\"name\":\"Slava Shynderov\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ebd9835685868383868fa4e09d807b517765b7ed0c8f3d6153be12931545ef0f?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ebd9835685868383868fa4e09d807b517765b7ed0c8f3d6153be12931545ef0f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ebd9835685868383868fa4e09d807b517765b7ed0c8f3d6153be12931545ef0f?s=96&d=mm&r=g\",\"caption\":\"Slava Shynderov\"},\"url\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/author\\\/slava-shynderov\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Embedding option for views and dashboards - TeamDesk Blog","description":"We have extended TeamDesk views and dashboards with embedding option which allow you copy-pasting simple HTML snippet to embed them to your website page.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.teamdesk.net\/blog\/whats-new\/embedding-option-views-dashboards\/","og_locale":"en_US","og_type":"article","og_title":"Embedding option for views and dashboards - TeamDesk Blog","og_description":"We have extended TeamDesk views and dashboards with embedding option which allow you copy-pasting simple HTML snippet to embed them to your website page.","og_url":"https:\/\/www.teamdesk.net\/blog\/whats-new\/embedding-option-views-dashboards\/","og_site_name":"TeamDesk Blog","article_published_time":"2017-01-19T14:17:35+00:00","article_modified_time":"2017-01-19T20:05:07+00:00","og_image":[{"width":684,"height":224,"url":"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2017\/01\/embedcode.png","type":"image\/png"}],"author":"Slava Shynderov","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Slava Shynderov","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.teamdesk.net\/blog\/whats-new\/embedding-option-views-dashboards\/#article","isPartOf":{"@id":"https:\/\/www.teamdesk.net\/blog\/whats-new\/embedding-option-views-dashboards\/"},"author":{"name":"Slava Shynderov","@id":"https:\/\/www.teamdesk.net\/blog\/#\/schema\/person\/478c18541e8c72f93caf641086d96b07"},"headline":"Embedding option for views and dashboards","datePublished":"2017-01-19T14:17:35+00:00","dateModified":"2017-01-19T20:05:07+00:00","mainEntityOfPage":{"@id":"https:\/\/www.teamdesk.net\/blog\/whats-new\/embedding-option-views-dashboards\/"},"wordCount":199,"commentCount":0,"image":{"@id":"https:\/\/www.teamdesk.net\/blog\/whats-new\/embedding-option-views-dashboards\/#primaryimage"},"thumbnailUrl":"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2017\/01\/embedcode.png","articleSection":["What's New"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.teamdesk.net\/blog\/whats-new\/embedding-option-views-dashboards\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.teamdesk.net\/blog\/whats-new\/embedding-option-views-dashboards\/","url":"https:\/\/www.teamdesk.net\/blog\/whats-new\/embedding-option-views-dashboards\/","name":"Embedding option for views and dashboards - TeamDesk Blog","isPartOf":{"@id":"https:\/\/www.teamdesk.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.teamdesk.net\/blog\/whats-new\/embedding-option-views-dashboards\/#primaryimage"},"image":{"@id":"https:\/\/www.teamdesk.net\/blog\/whats-new\/embedding-option-views-dashboards\/#primaryimage"},"thumbnailUrl":"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2017\/01\/embedcode.png","datePublished":"2017-01-19T14:17:35+00:00","dateModified":"2017-01-19T20:05:07+00:00","author":{"@id":"https:\/\/www.teamdesk.net\/blog\/#\/schema\/person\/478c18541e8c72f93caf641086d96b07"},"description":"We have extended TeamDesk views and dashboards with embedding option which allow you copy-pasting simple HTML snippet to embed them to your website page.","breadcrumb":{"@id":"https:\/\/www.teamdesk.net\/blog\/whats-new\/embedding-option-views-dashboards\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.teamdesk.net\/blog\/whats-new\/embedding-option-views-dashboards\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.teamdesk.net\/blog\/whats-new\/embedding-option-views-dashboards\/#primaryimage","url":"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2017\/01\/embedcode.png","contentUrl":"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2017\/01\/embedcode.png","width":684,"height":224,"caption":"Enable Embedding option"},{"@type":"BreadcrumbList","@id":"https:\/\/www.teamdesk.net\/blog\/whats-new\/embedding-option-views-dashboards\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.teamdesk.net\/blog\/"},{"@type":"ListItem","position":2,"name":"Embedding option for views and dashboards"}]},{"@type":"WebSite","@id":"https:\/\/www.teamdesk.net\/blog\/#website","url":"https:\/\/www.teamdesk.net\/blog\/","name":"TeamDesk Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.teamdesk.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.teamdesk.net\/blog\/#\/schema\/person\/478c18541e8c72f93caf641086d96b07","name":"Slava Shynderov","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ebd9835685868383868fa4e09d807b517765b7ed0c8f3d6153be12931545ef0f?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ebd9835685868383868fa4e09d807b517765b7ed0c8f3d6153be12931545ef0f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ebd9835685868383868fa4e09d807b517765b7ed0c8f3d6153be12931545ef0f?s=96&d=mm&r=g","caption":"Slava Shynderov"},"url":"https:\/\/www.teamdesk.net\/blog\/author\/slava-shynderov\/"}]}},"_links":{"self":[{"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/posts\/1012","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/comments?post=1012"}],"version-history":[{"count":11,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/posts\/1012\/revisions"}],"predecessor-version":[{"id":1027,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/posts\/1012\/revisions\/1027"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/media\/1015"}],"wp:attachment":[{"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/media?parent=1012"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/categories?post=1012"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/tags?post=1012"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}