<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Microsoft PowerApps on That API Guy</title>
    <link>/tags/microsoft-powerapps/</link>
    <description>Recent content in Microsoft PowerApps on That API Guy</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Thu, 18 Mar 2021 06:00:00 +0000</lastBuildDate>
    <atom:link href="/tags/microsoft-powerapps/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Embedded Canvas App - &#34;We are having trouble displaying this app&#34; Error</title>
      <link>/posts/embedded-canvas-app-error/</link>
      <pubDate>Thu, 18 Mar 2021 06:00:00 +0000</pubDate>
      <guid>/posts/embedded-canvas-app-error/</guid>
      <description>&lt;p&gt;&lt;strong&gt;Issue&lt;/strong&gt;&lt;br&gt;
Are you trying to &lt;a href=&#34;https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/embed-canvas-app-in-form&#34;&gt;embed a canvas app&lt;/a&gt; in a model driven app and seeing this error - &amp;ldquo;We are having trouble displaying this app&amp;rdquo;?&lt;/p&gt;
&lt;p&gt;&lt;img loading=&#34;lazy&#34; src=&#34;/uploads/2021/02/image-e1612211743670.jpeg&#34;&gt;&lt;/p&gt;
&lt;p&gt;We are having trouble displaying this app&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;There is a Canvas App Entity/Table that the user needs &amp;lsquo;Read&amp;rsquo; access to. To provide this access, navigate to&lt;br&gt;
&lt;strong&gt;Advanced Settings -&amp;gt; Security -&amp;gt; Security Roles -&amp;gt; &lt;Security Role Name&gt; -&amp;gt; Customizations -&amp;gt; Canvas App -&amp;gt; Provide Read Access at Organization level&lt;/strong&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Setting goals for 2020</title>
      <link>/posts/setting-goals-for-2020/</link>
      <pubDate>Mon, 13 Jan 2020 13:00:00 +0000</pubDate>
      <guid>/posts/setting-goals-for-2020/</guid>
      <description>&lt;p&gt;Happy new year!!!&lt;/p&gt;
&lt;p&gt;Do you like new year resolutions? Do you like setting personal goals every year?&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s the new year and the whole world is talking about taking new year&amp;rsquo;s resolutions. This year, the added layer of a new decade has made it even more exciting for some people. However, there are some people who don&amp;rsquo;t like to do it just for the sake of it, and then there is always this other group of people who just ask - &amp;ldquo;So how many days did your resolution last? 😏&amp;rdquo;. Recently, I have seen another group of people who just set goals for the year and work towards achieving them.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Validate a URL in PowerApps</title>
      <link>/posts/validate-a-url-in-powerapps/</link>
      <pubDate>Wed, 18 Sep 2019 14:46:59 +0000</pubDate>
      <guid>/posts/validate-a-url-in-powerapps/</guid>
      <description>&lt;p&gt;Do you have a form where you ask a user to enter a website URL ?&lt;/p&gt;
&lt;p&gt;There is no direct way to validate URL in PowerApps today, however, you can use &lt;a href=&#34;https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-ismatch&#34;&gt;IsMatch&lt;/a&gt; function along with &lt;a href=&#34;https://www.regextester.com/94502&#34;&gt;Regular Expressions&lt;/a&gt; to do this.&lt;/p&gt;
&lt;p&gt;Here is the expression you need to validate a URL -&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;IsMatch(URL_Input.Text, &amp;#34;(?:http(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:/?#[\]@!\$&amp;amp;&amp;#39;\(\)\*\+,;=.]+$&amp;#34;)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;That&amp;rsquo;s it, now you can use this to change the border-color of the Text Input box so that the app user knows when he URL entered is incorrect.&lt;/p&gt;</description>
    </item>
    <item>
      <title>PowerApps and Power Automate license based on Office 365 license</title>
      <link>/posts/powerapps-and-flow-license-based-on-office-365-license/</link>
      <pubDate>Sun, 07 Apr 2019 16:22:46 +0000</pubDate>
      <guid>/posts/powerapps-and-flow-license-based-on-office-365-license/</guid>
      <description>&lt;p&gt;This blog post is based on the &lt;a href=&#34;https://download.microsoft.com/download/9/5/6/9568EFD0-403D-4AE4-95F0-7FACA2CCB2E4/PowerApps%20and%20Flow%20Licensing%20Guide.pdf&#34;&gt;Licensing document&lt;/a&gt; released by Microsoft in April 2019. The intent of this blog post is to help you understand the licensing better based on the Office 365 license you currently have.&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;If you have any of these Office 365 Licenses -&lt;/p&gt;
&lt;p&gt;Office 365 Business Essentials&lt;/p&gt;
&lt;p&gt;Office 365 Business Premium&lt;/p&gt;
&lt;p&gt;Office 365 A1 for Students&lt;/p&gt;
&lt;p&gt;Office 365 A1 Plus for Faculty&lt;/p&gt;
&lt;p&gt;Office 365 A1 Plus for Students&lt;/p&gt;</description>
    </item>
    <item>
      <title>PowerApps Challenge</title>
      <link>/posts/powerapps-challenge/</link>
      <pubDate>Sun, 03 Feb 2019 16:12:52 +0000</pubDate>
      <guid>/posts/powerapps-challenge/</guid>
      <description>&lt;p&gt;In this video we will show a step by step approach to solve the 3 tasks mentioned in this challenge by Audrie Gordon - &lt;a href=&#34;https://forms.office.com/Pages/ResponsePage.aspx?id=v4j5cvGGr0GRqy180BHbRzJVkDds8yROvOeWrHDKUXBUMVM5SVA3TTFFNzZOMzBPR0pFUkM0NTBYTS4u&#34;&gt;Challenge Form&lt;/a&gt; Challenge 1. We will create a PowerApp with 2 data sources such that the user can read the data but can&amp;rsquo;t edit it. Challenge 2. Tracking inventory of PowerApps Swag using Flow. Challenge 3. Saving a photo to a Sharepoint Document library using Flow and adding some more meta-data to it. &lt;a href=&#34;https://youtu.be/T7aLyuEwmw4&#34;&gt;https://youtu.be/T7aLyuEwmw4&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Click-through PowerApps Analytics</title>
      <link>/posts/click-through-powerapps-analytics/</link>
      <pubDate>Thu, 08 Nov 2018 21:52:02 +0000</pubDate>
      <guid>/posts/click-through-powerapps-analytics/</guid>
      <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt; This blog post will walk through a simple approach to create your own click-through analytics. Extend your reporting options to include statistics which will raise visibility into how your app consumers navigate your applications, enabling you to use data to validate assumptions on app usage and design. I have attached the MSAPP files and the datasource sample(excel spreadsheet) so you can play around with the app to understand it better and then implement the same approach in your apps. &lt;strong&gt;Workflow overview&lt;/strong&gt; – &lt;img alt=&#34;2018-04-18 08_05_21-Presentation1 - PowerPoint.png&#34; loading=&#34;lazy&#34; src=&#34;https://powerusers.microsoft.com/t5/image/serverpage/image-id/23893i29AAF257541141D9/image-size/large?v=1.0&amp;px=600&#34; title=&#34;2018-04-18 08_05_21-Presentation1 - PowerPoint.png&#34;&gt; To explore the app, follow these steps – &lt;strong&gt;Step 1&lt;/strong&gt;: Install the app from the MSAPP file that I have attached below. &lt;strong&gt;Step 2&lt;/strong&gt;: Save the excel spreadsheet “AnalyticsDemo.xlsx” in your OneDrive and add it as a data source in the app using the OneDrive connector. &lt;strong&gt;Step 3&lt;/strong&gt;: After saving and publishing the app, open the app and click on some icons and navigate around the app. Check whether the data gets collected in the Excel Spreadsheet. (Note: Sometimes it may take a few seconds before the data gets updated so you might have to close and open the spreadsheet once) &lt;strong&gt;Step 4&lt;/strong&gt;: Use the OneDrive excel spreadsheet as a data source in a PowerBI report and create different graphs/statistics based on what you would like to measure. Below is an example to get you started –&lt;img alt=&#34;powerbi report.png&#34; loading=&#34;lazy&#34; src=&#34;https://powerusers.microsoft.com/t5/image/serverpage/image-id/23898i3C50F94FE4BE843C/image-size/large?v=1.0&amp;px=600&#34; title=&#34;powerbi report.png&#34;&gt; &lt;strong&gt;Capturing Interaction points-&lt;/strong&gt; The main functions that I have used to capture the user interaction are the Patch and Collect functions. To start with, you would probably like to collect some basic user information before you capture any further interaction points of that user. To do this, I used the below formula in the OnStart property of the app-&lt;code&gt;Collect(AnalyticsDemo,{UserName:Office365Users.MyProfile().DisplayName,UserEmail:Office365Users.MyProfile().Mail,LoginDate:Today(),LoginTime:Text( Now(), &amp;quot;\[$-en-US\]hh:mm:ss&amp;quot; ),Latitude:Location.Latitude,Longitude:Location.Longitude})&lt;/code&gt;This will create a new record in the Excel data source and because we are using the OnStart property, the basic user information will get collected only once, i.e., when the app is opened by the user. For capturing user details, I have used the Office365users connector. For any further interaction points / clicks , I used the Patch function to update data in the record that was created above. Below is an example of the Patch function used in the OnVisible property of the Products screen –```
Patch(AnalyticsDemo,Last(AnalyticsDemo),{ProductScreen:&amp;ldquo;Y&amp;rdquo;})&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
