{"id":87,"date":"2018-05-31T06:37:09","date_gmt":"2018-05-31T13:37:09","guid":{"rendered":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/power-apps\/html-markup-with-dynamic-data\/"},"modified":"2025-06-11T08:08:28","modified_gmt":"2025-06-11T15:08:28","slug":"html-markup-with-dynamic-data","status":"publish","type":"post","link":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/power-apps\/html-markup-with-dynamic-data\/","title":{"rendered":"HTML template based on dynamic data in PowerApps"},"content":{"rendered":"<p>Using HTML templates is a great way to format and display data within in PowerApps applications, to generate reports and to send emails using the app. We come across many scenarios where there is a need to combine HTML markup with dynamic data. One such scenario is explained in the blog <a href=\"https:\/\/powerapps.microsoft.com\/en-us\/blog\/html-email-reporting-with-tabular-data\/\">here<\/a>, which talks on how to actually combine the data with HTML tags. Another quick scenario I could think of is to generate a report after an inspection.<\/p>\n<p>In the article below, we will go a bit deeper and generate the HTML template with dynamic data in a much appealing way. <a href=\"https:\/\/powerusers.microsoft.com\/t5\/Microsoft-Flow-Community-Blog\/Create-PDF-document-from-HTML-template-based-on-dynamic-data-in\/ba-p\/76208\">Here<\/a> is another blog, using Microsoft Flow to create a PDF document from HTML template with Dynamic data.<\/p>\n<h3>Scenario:<\/h3>\n<blockquote>\n<p>Assume you have a Conference app. As users register for the conference, a confirmation email with details of the conference will be sent to each signed up user.<\/p>\n<p><a href=\"https:\/\/pwrappscdn.azureedge.net\/mediahandler\/blog\/media\/PowerApps\/blog\/4e1cb970-50bc-4874-af16-19d2b900dd3c.png\"><img loading=\"lazy\" decoding=\"async\" alt=\"App1\" height=\"451\" src=\"https:\/\/pwrappscdn.azureedge.net\/mediahandler\/blog\/media\/PowerApps\/blog\/4e1cb970-50bc-4874-af16-19d2b900dd3c.png\" style=\"display: inline;\" title=\"App1\" width=\"256\"\/><\/a><\/p>\n<\/blockquote>\n<h3>Problem:<\/h3>\n<blockquote>\n<p>Assuming the data is already available in a context variable, an object called <b>Session<\/b>, here is a sample email template with HTML tags and application data embedded. Let\u2019s call it as <strong>Template1.<\/strong><\/p>\n<\/blockquote>\n<blockquote>\n<h5>Template 1:<\/h5>\n<\/blockquote>\n<blockquote>\n<p><a href=\"https:\/\/pwrappscdn.azureedge.net\/mediahandler\/blog\/media\/PowerApps\/blog\/e3555a91-0e7f-41ab-9cff-c2f8258d4617.png\"><img loading=\"lazy\" decoding=\"async\" alt=\"image\" height=\"120\" src=\"https:\/\/pwrappscdn.azureedge.net\/mediahandler\/blog\/media\/PowerApps\/blog\/e3555a91-0e7f-41ab-9cff-c2f8258d4617.png\" style=\"display: inline;\" title=\"image\" width=\"685\"\/><\/a><\/p>\n<\/blockquote>\n<blockquote>\n<p>In this approach, we are hardcoding application data inline in the HTML template. And, maintenance gets harder as for any change in data and we are forced to modify the template.<\/p>\n<\/blockquote>\n<h3>Solution approach:<\/h3>\n<blockquote>\n<p>Let\u2019s store placeholders inline in the HTML template instead of hardcoded application data values. The placeholders will be in the format of {i}, where \u2018i\u2019 refers to index of the placeholder being replaced. Let\u2019s call this as <strong>Template2<\/strong>.<\/p>\n<\/blockquote>\n<blockquote>\n<p>You can store the index and the application data values in a local collection. Use a ForAll loop and replace the placeholders with actual values from the local collection.<\/p>\n<\/blockquote>\n<blockquote>\n<h5>Template 2:<\/h5>\n<\/blockquote>\n<blockquote>\n<p><a href=\"https:\/\/pwrappscdn.azureedge.net\/mediahandler\/blog\/media\/PowerApps\/blog\/16afeed2-4a2a-41a6-9543-d25786c76a2a.png\"><img loading=\"lazy\" decoding=\"async\" alt=\"Template2\" height=\"102\" src=\"https:\/\/pwrappscdn.azureedge.net\/mediahandler\/blog\/media\/PowerApps\/blog\/16afeed2-4a2a-41a6-9543-d25786c76a2a.png\" style=\"display: inline;\" title=\"Template2\" width=\"662\"\/><\/a><\/p>\n<\/blockquote>\n<h3>Implementation:<\/h3>\n<p>First, let\u2019s create an external source where we store our template. You can use any data source but for this blog, I&#8217;m going to use data from a static excel. Let\u2019s call this Settings.<\/p>\n<blockquote>\n<p><a href=\"https:\/\/pwrappscdn.azureedge.net\/mediahandler\/blog\/media\/PowerApps\/blog\/e13e9f6d-7413-4b76-a566-e589631137df.jpg\"><img loading=\"lazy\" decoding=\"async\" alt=\"clip_image002[8]\" height=\"119\" src=\"https:\/\/pwrappscdn.azureedge.net\/mediahandler\/blog\/media\/PowerApps\/blog\/e13e9f6d-7413-4b76-a566-e589631137df.jpg\" style=\"display: inline;\" title=\"clip_image002[8]\" width=\"660\"\/><\/a><\/p>\n<\/blockquote>\n<p>Let\u2019s assume you also have another source holding your actual conference data. Let\u2019s call it Sessions<\/p>\n<blockquote>\n<p><a href=\"https:\/\/pwrappscdn.azureedge.net\/mediahandler\/blog\/media\/PowerApps\/blog\/8be65c14-a009-4f84-bbe3-d04fc3e4d72b.jpg\"><img loading=\"lazy\" decoding=\"async\" alt=\"clip_image004\" height=\"40\" src=\"https:\/\/pwrappscdn.azureedge.net\/mediahandler\/blog\/media\/PowerApps\/blog\/8be65c14-a009-4f84-bbe3-d04fc3e4d72b.jpg\" style=\"display: inline;\" title=\"clip_image004\" width=\"660\"\/><\/a><\/p>\n<\/blockquote>\n<h4>Steps:<\/h4>\n<blockquote><p>On the OnVisible event of Confirmation Screen:<\/p><\/blockquote>\n<blockquote>\n<p>Create a collection <b>SessionInfo<\/b> using values from the selected session.<\/p>\n<\/blockquote>\n<blockquote>\n<p><a href=\"https:\/\/pwrappscdn.azureedge.net\/mediahandler\/blog\/media\/PowerApps\/blog\/2ca0df07-ad98-441c-a461-52252681539f.png\"><img loading=\"lazy\" decoding=\"async\" alt=\"Formula1\" border=\"0\" height=\"131\" src=\"https:\/\/pwrappscdn.azureedge.net\/mediahandler\/blog\/media\/PowerApps\/blog\/2ca0df07-ad98-441c-a461-52252681539f.png\" style=\"border: 0px currentcolor; border-image: none; display: inline; background-image: none;\" title=\"Formula1\" width=\"1047\"\/><\/a><\/p>\n<p>Collect the Settings into a local collection called <b style=\"font-family: inherit; font-size: 13px;\">AppSettings<\/b>. We don\u2019t want to modify the original template and hence storing it locally.<\/p>\n<\/blockquote>\n<blockquote>\n<p><a href=\"https:\/\/pwrappscdn.azureedge.net\/mediahandler\/blog\/media\/PowerApps\/blog\/ae2b022b-3a4b-46de-94a3-34d6f086d6e7.png\"><img decoding=\"async\" alt=\"Formula3\" src=\"https:\/\/pwrappscdn.azureedge.net\/mediahandler\/blog\/media\/PowerApps\/blog\/ae2b022b-3a4b-46de-94a3-34d6f086d6e7.png\" style=\"border: 0px currentcolor; display: inline; background-image: none; width: 360px; height: 27px;\" title=\"Formula3\"\/><\/a><\/p>\n<p>Next step is to update the template with placeholders to dynamically embed actual Session Details inline.To do this, we need to loop through each of the indices in <b>SessionInfo<\/b>, for each index, find its placeholder within the template, and replace that placeholder index with its associated Value.<\/p>\n<p>\u00a0<\/p>\n<p><a href=\"https:\/\/pwrappscdn.azureedge.net\/mediahandler\/blog\/media\/PowerApps\/blog\/c40a22f8-d99d-49e7-bbb6-ab800c2f63fa.png\"><img loading=\"lazy\" decoding=\"async\" alt=\"Formula2\" border=\"0\" height=\"124\" src=\"https:\/\/pwrappscdn.azureedge.net\/mediahandler\/blog\/media\/PowerApps\/blog\/c40a22f8-d99d-49e7-bbb6-ab800c2f63fa.png\" style=\"border-image: none; display: inline; background-image: none;\" title=\"Formula2\" width=\"1029\"\/><\/a><\/p>\n<\/blockquote>\n<p>At this point, you have a HTML template with application data embedded inline. And you can send this confirmation template as part of your email.<\/p>\n<blockquote>\n<p><a href=\"https:\/\/pwrappscdn.azureedge.net\/mediahandler\/blog\/media\/PowerApps\/blog\/4e1cb970-50bc-4874-af16-19d2b900dd3c.png\"><img loading=\"lazy\" decoding=\"async\" alt=\"App1\" height=\"451\" src=\"https:\/\/pwrappscdn.azureedge.net\/mediahandler\/blog\/media\/PowerApps\/blog\/4e1cb970-50bc-4874-af16-19d2b900dd3c.png\" style=\"display: inline;\" title=\"App1\" width=\"256\"\/><\/a><\/p>\n<\/blockquote>\n<p><b>Benefits with the new approach:<\/b><\/p>\n<ul>\n<li>With this approach, you are avoiding hardcoding of your application data inline.<\/li>\n<li>Easier to store data and make modifications as there is separation between data and the template.<\/li>\n<li>Cleaner and more elegant way to view your template, and easy to debug.<\/li>\n<\/ul>\n<p>Check out the sample app <a href=\"https:\/\/pahandsonlab.blob.core.windows.net\/content\/HtmlTemplateSample.zip\">here<\/a><\/p>\n<ul>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Using HTML templates is a great way to format and display data within in PowerApps applications, to generate reports and to send emails using the app.<\/p>\n","protected":false},"author":115,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ms_queue_id":[],"ep_exclude_from_search":false,"_classifai_error":"","_classifai_text_to_speech_error":"","_alt_title":"","ms-ems-related-posts":[],"footnotes":""},"audience":[3378],"content-type":[3423],"job-role":[],"product":[3473],"property":[],"topic":[],"coauthors":[2145],"class_list":["post-87","post","type-post","status-publish","format-standard","hentry","audience-it-professional","content-type-tips-and-guides","product-power-apps"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>HTML template based on dynamic data in PowerApps - Microsoft Power Platform Blog<\/title>\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.microsoft.com\/en-us\/power-platform\/blog\/2018\/05\/31\/html-markup-with-dynamic-data\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"HTML template based on dynamic data in PowerApps - Microsoft Power Platform Blog\" \/>\n<meta property=\"og:description\" content=\"Using HTML templates is a great way to format and display data within in PowerApps applications, to generate reports and to send emails using the app.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/power-apps\/html-markup-with-dynamic-data\/\" \/>\n<meta property=\"og:site_name\" content=\"Microsoft Power Platform Blog\" \/>\n<meta property=\"article:published_time\" content=\"2018-05-31T13:37:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-11T15:08:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/pwrappscdn.azureedge.net\/mediahandler\/blog\/media\/PowerApps\/blog\/4e1cb970-50bc-4874-af16-19d2b900dd3c.png\" \/>\n<meta name=\"author\" content=\"Vasavi Bhaviri Setty\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Vasavi Bhaviri Setty\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2018\/05\/31\/html-markup-with-dynamic-data\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2018\/05\/31\/html-markup-with-dynamic-data\/\"},\"author\":[{\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/author\/vasavi-bhaviri-setty\/\",\"@type\":\"Person\",\"@name\":\"Vasavi Bhaviri Setty\"}],\"headline\":\"HTML template based on dynamic data in PowerApps\",\"datePublished\":\"2018-05-31T13:37:09+00:00\",\"dateModified\":\"2025-06-11T15:08:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2018\/05\/31\/html-markup-with-dynamic-data\/\"},\"wordCount\":517,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2018\/05\/31\/html-markup-with-dynamic-data\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/pwrappscdn.azureedge.net\/mediahandler\/blog\/media\/PowerApps\/blog\/4e1cb970-50bc-4874-af16-19d2b900dd3c.png\",\"keywords\":[\"Formulas\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2018\/05\/31\/html-markup-with-dynamic-data\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2018\/05\/31\/html-markup-with-dynamic-data\/\",\"url\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2018\/05\/31\/html-markup-with-dynamic-data\/\",\"name\":\"HTML template based on dynamic data in PowerApps - Microsoft Power Platform Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2018\/05\/31\/html-markup-with-dynamic-data\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2018\/05\/31\/html-markup-with-dynamic-data\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/pwrappscdn.azureedge.net\/mediahandler\/blog\/media\/PowerApps\/blog\/4e1cb970-50bc-4874-af16-19d2b900dd3c.png\",\"datePublished\":\"2018-05-31T13:37:09+00:00\",\"dateModified\":\"2025-06-11T15:08:28+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2018\/05\/31\/html-markup-with-dynamic-data\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2018\/05\/31\/html-markup-with-dynamic-data\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2018\/05\/31\/html-markup-with-dynamic-data\/#primaryimage\",\"url\":\"https:\/\/pwrappscdn.azureedge.net\/mediahandler\/blog\/media\/PowerApps\/blog\/4e1cb970-50bc-4874-af16-19d2b900dd3c.png\",\"contentUrl\":\"https:\/\/pwrappscdn.azureedge.net\/mediahandler\/blog\/media\/PowerApps\/blog\/4e1cb970-50bc-4874-af16-19d2b900dd3c.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2018\/05\/31\/html-markup-with-dynamic-data\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"HTML template based on dynamic data in PowerApps\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#website\",\"url\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/\",\"name\":\"Microsoft Power Platform Blog\",\"description\":\"Innovate with Business Apps\",\"publisher\":{\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#organization\",\"name\":\"Microsoft Power Platform Blog\",\"url\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-content\/uploads\/2020\/03\/Microsoft-Logo-e1685482038800.png\",\"contentUrl\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-content\/uploads\/2020\/03\/Microsoft-Logo-e1685482038800.png\",\"width\":194,\"height\":145,\"caption\":\"Microsoft Power Platform Blog\"},\"image\":{\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#\/schema\/person\/0ba4485abff62c7c04b8adecbc9f4683\",\"name\":\"Vasavi Bhaviri Setty\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/331482f0b4ac3aa0cd52bb3033fb072ba82595983da13ccc0be13628e0cfb8ef?s=96&d=mm&r=ge471471dceca2bde261c0d240a32838e\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/331482f0b4ac3aa0cd52bb3033fb072ba82595983da13ccc0be13628e0cfb8ef?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/331482f0b4ac3aa0cd52bb3033fb072ba82595983da13ccc0be13628e0cfb8ef?s=96&d=mm&r=g\",\"caption\":\"Vasavi Bhaviri Setty\"},\"url\":\"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/author\/vabhavir\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"HTML template based on dynamic data in PowerApps - Microsoft Power Platform Blog","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.microsoft.com\/en-us\/power-platform\/blog\/2018\/05\/31\/html-markup-with-dynamic-data\/","og_locale":"en_US","og_type":"article","og_title":"HTML template based on dynamic data in PowerApps - Microsoft Power Platform Blog","og_description":"Using HTML templates is a great way to format and display data within in PowerApps applications, to generate reports and to send emails using the app.","og_url":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/power-apps\/html-markup-with-dynamic-data\/","og_site_name":"Microsoft Power Platform Blog","article_published_time":"2018-05-31T13:37:09+00:00","article_modified_time":"2025-06-11T15:08:28+00:00","og_image":[{"url":"https:\/\/pwrappscdn.azureedge.net\/mediahandler\/blog\/media\/PowerApps\/blog\/4e1cb970-50bc-4874-af16-19d2b900dd3c.png","type":"","width":"","height":""}],"author":"Vasavi Bhaviri Setty","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Vasavi Bhaviri Setty","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2018\/05\/31\/html-markup-with-dynamic-data\/#article","isPartOf":{"@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2018\/05\/31\/html-markup-with-dynamic-data\/"},"author":[{"@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/author\/vasavi-bhaviri-setty\/","@type":"Person","@name":"Vasavi Bhaviri Setty"}],"headline":"HTML template based on dynamic data in PowerApps","datePublished":"2018-05-31T13:37:09+00:00","dateModified":"2025-06-11T15:08:28+00:00","mainEntityOfPage":{"@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2018\/05\/31\/html-markup-with-dynamic-data\/"},"wordCount":517,"commentCount":0,"publisher":{"@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#organization"},"image":{"@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2018\/05\/31\/html-markup-with-dynamic-data\/#primaryimage"},"thumbnailUrl":"https:\/\/pwrappscdn.azureedge.net\/mediahandler\/blog\/media\/PowerApps\/blog\/4e1cb970-50bc-4874-af16-19d2b900dd3c.png","keywords":["Formulas"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2018\/05\/31\/html-markup-with-dynamic-data\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2018\/05\/31\/html-markup-with-dynamic-data\/","url":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2018\/05\/31\/html-markup-with-dynamic-data\/","name":"HTML template based on dynamic data in PowerApps - Microsoft Power Platform Blog","isPartOf":{"@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2018\/05\/31\/html-markup-with-dynamic-data\/#primaryimage"},"image":{"@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2018\/05\/31\/html-markup-with-dynamic-data\/#primaryimage"},"thumbnailUrl":"https:\/\/pwrappscdn.azureedge.net\/mediahandler\/blog\/media\/PowerApps\/blog\/4e1cb970-50bc-4874-af16-19d2b900dd3c.png","datePublished":"2018-05-31T13:37:09+00:00","dateModified":"2025-06-11T15:08:28+00:00","breadcrumb":{"@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2018\/05\/31\/html-markup-with-dynamic-data\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2018\/05\/31\/html-markup-with-dynamic-data\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2018\/05\/31\/html-markup-with-dynamic-data\/#primaryimage","url":"https:\/\/pwrappscdn.azureedge.net\/mediahandler\/blog\/media\/PowerApps\/blog\/4e1cb970-50bc-4874-af16-19d2b900dd3c.png","contentUrl":"https:\/\/pwrappscdn.azureedge.net\/mediahandler\/blog\/media\/PowerApps\/blog\/4e1cb970-50bc-4874-af16-19d2b900dd3c.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/2018\/05\/31\/html-markup-with-dynamic-data\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/"},{"@type":"ListItem","position":2,"name":"HTML template based on dynamic data in PowerApps"}]},{"@type":"WebSite","@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#website","url":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/","name":"Microsoft Power Platform Blog","description":"Innovate with Business Apps","publisher":{"@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#organization","name":"Microsoft Power Platform Blog","url":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-content\/uploads\/2020\/03\/Microsoft-Logo-e1685482038800.png","contentUrl":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-content\/uploads\/2020\/03\/Microsoft-Logo-e1685482038800.png","width":194,"height":145,"caption":"Microsoft Power Platform Blog"},"image":{"@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/#\/schema\/person\/0ba4485abff62c7c04b8adecbc9f4683","name":"Vasavi Bhaviri Setty","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/331482f0b4ac3aa0cd52bb3033fb072ba82595983da13ccc0be13628e0cfb8ef?s=96&d=mm&r=ge471471dceca2bde261c0d240a32838e","url":"https:\/\/secure.gravatar.com\/avatar\/331482f0b4ac3aa0cd52bb3033fb072ba82595983da13ccc0be13628e0cfb8ef?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/331482f0b4ac3aa0cd52bb3033fb072ba82595983da13ccc0be13628e0cfb8ef?s=96&d=mm&r=g","caption":"Vasavi Bhaviri Setty"},"url":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/author\/vabhavir\/"}]}},"bloginabox_animated_featured_image":null,"bloginabox_display_generated_audio":false,"distributor_meta":false,"distributor_terms":false,"distributor_media":false,"distributor_original_site_name":"Microsoft Power Platform Blog","distributor_original_site_url":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog","push-errors":false,"_links":{"self":[{"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/posts\/87","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/users\/115"}],"replies":[{"embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/comments?post=87"}],"version-history":[{"count":1,"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/posts\/87\/revisions"}],"predecessor-version":[{"id":131072,"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/posts\/87\/revisions\/131072"}],"wp:attachment":[{"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/media?parent=87"}],"wp:term":[{"taxonomy":"audience","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/audience?post=87"},{"taxonomy":"content-type","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/content-type?post=87"},{"taxonomy":"job-role","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/job-role?post=87"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/product?post=87"},{"taxonomy":"property","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/property?post=87"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/topic?post=87"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/coauthors?post=87"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}