{"id":33969,"date":"2023-02-08T15:32:33","date_gmt":"2023-02-08T10:02:33","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=33969"},"modified":"2023-02-08T15:33:03","modified_gmt":"2023-02-08T10:03:03","slug":"how-to-incorporate-fluent-ui-framework-in-canvas-apps","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2023\/02\/how-to-incorporate-fluent-ui-framework-in-canvas-apps\/","title":{"rendered":"How to incorporate fluent UI framework in Canvas Apps"},"content":{"rendered":"<p>To enhance the look and feel of the Canvas App, we can use a fluent UI framework by using the Creator Kit. The Creator Kit helps create Power Apps experiences on the web and mobile platforms with convenient components appearing in modern software.<\/p>\n<h2>Prerequisites &#8211;<\/h2>\n<p>The Power Apps code components for the Canvas Apps feature should be enabled (the System Administrator security role is needed to enable the feature).<\/p>\n<p>Following are the steps to enable Power Apps code components:<\/p>\n<p>Power Platform admin center &gt; Select the environment (In which you want to create the app) &gt; Settings &gt; Product &gt; Features<\/p>\n<p>Enable \u201cPower Apps component framework for Canvas Apps\u201d.<\/p>\n<ul>\n<li>The System Customizer security role is needed to use the Creator Kit components.<\/li>\n<li>Install the Creator kit in your environment from AppSource.<\/li>\n<\/ul>\n<p>To add fluent UI components in Canvas App, follow the below steps:<\/p>\n<p>1. You can open the components panel in the existing Canvas App or create a new one. Click on the \u201cGet more components\u201d option as shown below.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-33975\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/1Canvas-Apps.jpeg\" alt=\"Canvas Apps\" width=\"1467\" height=\"760\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/1Canvas-Apps.jpeg 1467w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/1Canvas-Apps-300x155.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/1Canvas-Apps-1024x530.jpeg 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/1Canvas-Apps-768x398.jpeg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/1Canvas-Apps-660x342.jpeg 660w\" sizes=\"(max-width: 1467px) 100vw, 1467px\" \/><\/p>\n<p>2. An Import component panel will appear on the right side of the screen. Canvas and Code tab will display. In the Canvas tab, you will get some pre-built canvas components to use. And in the Code tab, you will find fluent UI code-based components.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-33974\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/2Canvas-Apps.jpeg\" alt=\"Canvas Apps\" width=\"925\" height=\"746\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/2Canvas-Apps.jpeg 925w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/2Canvas-Apps-300x242.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/2Canvas-Apps-768x619.jpeg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/2Canvas-Apps-660x532.jpeg 660w\" sizes=\"(max-width: 925px) 100vw, 925px\" \/><\/p>\n<p>Select the required component for the Canvas Apps and click on the import button.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-33973\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/3Canvas-Apps.jpeg\" alt=\"Canvas Apps\" width=\"971\" height=\"796\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/3Canvas-Apps.jpeg 971w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/3Canvas-Apps-300x246.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/3Canvas-Apps-768x630.jpeg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/3Canvas-Apps-660x541.jpeg 660w\" sizes=\"(max-width: 971px) 100vw, 971px\" \/><\/p>\n<p>3. After importing the selected component, You will see the component in the components section to be used.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-33972\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/4Canvas-Apps.jpeg\" alt=\"Canvas Apps\" width=\"537\" height=\"713\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/4Canvas-Apps.jpeg 537w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/4Canvas-Apps-226x300.jpeg 226w\" sizes=\"(max-width: 537px) 100vw, 537px\" \/><\/p>\n<p>Here are some examples to understand how to use these components in Power Apps:-<\/p>\n<ul>\n<li><strong>ExpandMenu &#8211;<\/strong><\/li>\n<\/ul>\n<p>Expand menus are like \u2018Nav\u2019 components used to provide navigation, which provides links to the main areas of an app or site. It also allows the ability to expand and collapse the menu, giving the user an option for more space if desired.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-33971\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/5Canvas-Apps.jpeg\" alt=\"Canvas Apps\" width=\"241\" height=\"282\" \/><\/p>\n<p>Formula to create \u201cExpand Menu\u201d:<\/p>\n<pre class=\"lang:css gutter:true start:1\">Table(\r\n\r\n{\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Icon: \"Home\",\r\n\r\nLabel: \"Home\",\r\n\r\nScreen:App.ActiveScreen,\r\n\r\nTooltip:\"Home Page of app\"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 },\r\n\r\n{\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Icon: \"Accounts\",\r\n\r\nLabel: \"Account\",\r\n\r\nScreen:App.ActiveScreen,\r\n\r\nTooltip:\"Account List\" },\r\n\r\n{\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Icon: \"Contact\",\r\n\r\nLabel: \"Contact\",\r\n\r\nScreen:App.ActiveScreen,\r\n\r\nTooltip:\"Contact List\"\u00a0 },\r\n\r\n{\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Icon: \"BrowserScreenShot\",\r\n\r\nLabel: \"Photos\",\r\n\r\nScreen:App.ActiveScreen, Tooltip:\r\n\r\n\"BrowserScreenShot\"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 }\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 )<\/pre>\n<p>Here, you can use \u201cOffice UI Fabric Icons\u201d icons by just placing their name in the icon property of the code. Reference link for the icons could be found here :- <a href=\"https:\/\/uifabricicons.azurewebsites.net\/\" target=\"_blank\" rel=\"noopener\">https:\/\/uifabricicons.azurewebsites.net\/<\/a><\/p>\n<ul>\n<li><strong>Breadcrumbs &#8211;<\/strong><\/li>\n<\/ul>\n<p>Breadcrumbs should be used as a navigational aid in your app or site. They indicate the current page\u2019s location within a hierarchy and help the user understand where they are in relation to the rest of that hierarchy.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-33970\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/6Canvas-Apps-ink.jpeg\" alt=\"Canvas Apps\" width=\"1041\" height=\"155\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/6Canvas-Apps-ink.jpeg 1041w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/6Canvas-Apps-ink-300x45.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/6Canvas-Apps-ink-1024x152.jpeg 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/6Canvas-Apps-ink-768x114.jpeg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/6Canvas-Apps-ink-660x98.jpeg 660w\" sizes=\"(max-width: 1041px) 100vw, 1041px\" \/><\/p>\n<p>Formula to create \u201cExpand Menu\u201d:<\/p>\n<pre class=\"lang:css gutter:true start:1\">Table(\r\n\r\n{\r\n\r\nItemKey:\"1\",\r\n\r\nItemDisplayName:\"Account\",\r\n\r\nItemClickale:true\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 },\r\n\r\n\u00a0\r\n\r\n{\r\n\r\nItemKey:\"2\",\r\n\r\nItemDisplayName:\"Main Grid\",\r\n\r\nItemClickale:true } )<\/pre>\n<p><strong>Conclusion:<\/strong><\/p>\n<p>In this way, a user can improve the look and feel of the Canvas App by using Fluent UI components.<\/p>\n<p><a href=\"https:\/\/www.inogic.com\/services\/microsoft-power-platform\/microsoft-power-apps-canvas-app\/\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"alignnone size-full wp-image-33978\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/Microsoft-Power-Platform-3.png\" alt=\"\" width=\"800\" height=\"200\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/Microsoft-Power-Platform-3.png 800w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/Microsoft-Power-Platform-3-300x75.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/Microsoft-Power-Platform-3-768x192.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/Microsoft-Power-Platform-3-660x165.png 660w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>To enhance the look and feel of the Canvas App, we can use a fluent UI framework by using the Creator Kit. The Creator Kit helps create Power Apps experiences on the web and mobile platforms with convenient components appearing in modern software. Prerequisites &#8211; The Power Apps code components for the Canvas Apps feature\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2023\/02\/how-to-incorporate-fluent-ui-framework-in-canvas-apps\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1954,16,18],"tags":[1988],"class_list":["post-33969","post","type-post","status-publish","format-standard","hentry","category-canvas-apps","category-dynamics-365","category-dynamics-365-v9-2","tag-canvas-apps"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/33969","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=33969"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/33969\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=33969"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=33969"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=33969"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}