<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Tapesh Patel on Medium]]></title>
        <description><![CDATA[Stories by Tapesh Patel on Medium]]></description>
        <link>https://medium.com/@tapesh.patel?source=rss-22a365e7152a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*gcBqQbBoxndf3DRbjG8w6w.jpeg</url>
            <title>Stories by Tapesh Patel on Medium</title>
            <link>https://medium.com/@tapesh.patel?source=rss-22a365e7152a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 00:56:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tapesh.patel/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Free API for any project need]]></title>
            <link>https://medium.com/@tapesh.patel/free-api-for-any-project-need-2c4d45213036?source=rss-22a365e7152a------2</link>
            <guid isPermaLink="false">https://medium.com/p/2c4d45213036</guid>
            <category><![CDATA[api-development]]></category>
            <category><![CDATA[restful-api]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[free-api]]></category>
            <category><![CDATA[api]]></category>
            <dc:creator><![CDATA[Tapesh Patel]]></dc:creator>
            <pubDate>Sun, 03 Apr 2022 23:59:37 GMT</pubDate>
            <atom:updated>2022-04-03T23:59:37.464Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="API image" src="https://cdn-images-1.medium.com/max/780/0*YAGyYoqSpSWBSqjI.png" /><figcaption>Source : <a href="https://sproutsocial.com/insights/what-is-an-api/">https://sproutsocial.com/insights/what-is-an-api/</a></figcaption></figure><p>We all are aware of how API in today&#39;s world can be useful, no matter what sector of IT you take there is a need for an AIP to interact with data, and exactly this article will give you some details regarding the FREE API for every project you are working on or wish to work on.</p><p>In order to make this article more precise and understandable, I have divided it into a few different sections based on the industry sectors, which are as follows:</p><ol><li>Entertainment</li><li>Food</li><li>Agriculture</li><li>Finance</li><li>Hotel</li><li>Travel</li><li>Medical</li><li>Gamming</li><li>Education</li><li>Others</li></ol><h3>Entertainment</h3><h4>1. Jokes API</h4><p>The JokeAPI is a REST API that serves uniformly formatted jokes.<br>Users can access the service without a token, membership, registration, or payment. It supports a variety of filters you can apply in order to get the joke you are looking for.<br>The usage is very simple and similar to other RESTful APIs and requires only basic knowledge of HTTP requests and JSON, XML, YAML, or plain text.</p><p><a href="https://sv443.net/jokeapi/v2/?ref=apilist.fun">Check out API</a></p><h4>2. Movie API (The Movie DB)</h4><p>You can create your own movie web app using this API. It provides information such as movie ratings, trailers, and much more. To use this API, users will have to register first, but one big advantage over other APIs is that it has unlimited calls.</p><p><a href="https://www.themoviedb.org/documentation/api">Check out API</a></p><h4>3. Movie API (OMDb)</h4><p>It is as similar to The Movie DB API, but it has limitations for API calls to a certain limit per day.</p><p><a href="https://www.omdbapi.com/">Check out API</a></p><h3>Food</h3><h4>1. Alcohol/Breweries (Open Brewery DB)</h4><p>This API gives you the list of breweries with the address details and the company details. It can be used to create an app related to food or alcohol providers.</p><p><a href="https://www.openbrewerydb.org/documentation/01-listbreweries">Check out API</a></p><h4>2. Restaurant and Food (Zomato)</h4><p>Zomato APIs give you access to the freshest and most exhaustive information for over 1.5 million restaurants across 10,000 cities globally. You can create a fully interactive food delivery or table reservation using this API. It does have some limitations when it comes to using.</p><h4>3. Food Ingredients and Nutrition Facts (TheMealDB)</h4><p>An API that provides information about food ingredients, in simple words a Meal Recipes free API.</p><p><a href="https://www.themealdb.com/api.php">Check Out API</a></p><h3>Agriculture</h3><h4>1. Smart Farming</h4><p>It is an API that discovers the possibilities SmartFarming Data has to offer. The dashboard operates with satellite imagery, weather, soil, and NDVI/EVI data paired with Ambee’s proprietary AI algorithms and ML models. Users can get access to the dashboard by logging into the SmartFarming Data account with any plans.</p><p><a href="https://dashboard.smartfarmingdata.com/#/signin">Check out API</a></p><h3>Finance</h3><h4>1. Payment API (Stripe API)</h4><p>It is an API that provides online payment processing for internet businesses. Stripe is a suite of payment APIs that powers commerce for online businesses of all sizes.</p><p><a href="https://stripe.com/docs/api/authentication">Check out API</a></p><h4>2. Stocks, Exchanges, and Forex API (Financial Modeling Prep API)</h4><p>It is a fast, accurate, and developer-friendly API for building a trading-related app or website. It provides one of the most accurate data available on the market. Every endpoint is available in JSON format and most of them are also in CSV format. Data is coming right from SEC filings after being serialized by us.</p><p><a href="https://site.financialmodelingprep.com/developer">Check out API</a></p><h4>3. Crypto API (Crypto Compare)</h4><p>This API is one of the most widely used APIs when it comes to the crypto market. Staring from news feeds, to live price action it has everything to offer if you are looking to work on a crypto project.</p><p><a href="https://min-api.cryptocompare.com/">Check out API</a></p><h3>Hotel</h3><h3>1. Booking API (Booking.com)</h3><p>You can choose which properties appear on your site, meaning you can offer accommodation worldwide or in a select area. Writing a travel blog? You can even link to the places you’ve written about.</p><p><a href="https://developers.booking.com/api/index.html?version=2.9">Check out API</a></p><h4>2. Booking API (Hotel Beds)</h4><p>It is one of the fastest and lightest travel distribution API Suite for hotels, activities, and transfers. For a free API Key. Access to Evaluation Plan and a generic Key (without specific pricing or commission rules)</p><p><a href="https://developer.hotelbeds.com/">Check out API</a></p><h3>Travel</h3><h4>1. Flight Booking (Skyscanner Travel API)</h4><p>Skyscanner Travel API directly connects you to all the data you need to build an innovative website or app. Your customers will be able to take advantage of the best deals on flights, hotels or car hire from wherever they are in the world — either as three independent travel solutions or integrated together.</p><p><a href="https://www.partners.skyscanner.net/affiliates/travel-apis">Check out API</a></p><h4>2. EV charging station (Open Charge Map)</h4><p>It provides a global public registry of electric vehicle charging locations. If you wish to export charging location data into your own systems or applications the most flexible way is to use Open Charge Map API, which provides an export in a variety of formats.</p><p><a href="https://openchargemap.org/site/develop/api#/">Check out API</a></p><h4>3. Carpooling or sharing (BlaBla car)</h4><p>BlaBlaCar’s API allows you to search for car sharing trips, just as BlaBlaCar’s website does. The web service is based on REST and is available in the two formats XML and JSON. You might create a taxi sharing app or trip sharing app.</p><p><a href="https://support.blablacar.com/hc/en-gb/categories/360002585239">Check out API</a></p><h3>Medical</h3><h4>1.Health API (Human API)</h4><p>Human API is a platform that makes human health data available through a RESTful web service. They make it very easy to securely get a human’s current or past health data. The API offers accessing data of types; Blood Pressure, Heart Rate, Sleep, Body Fat, Genetics, BMI, Activity, Height, Blood Glucose, Profile, Weight, and Location.</p><p><a href="https://rapidapi.com/humanapi/api/human/">Check out API</a></p><h4>2. Doctor’s Details (Doctor API)</h4><p>BetterDoctor API — get detailed information about doctors in your area. API provides endpoints of; Doctor Search, Specific Doctor Description, Practice Search, List of Doctors in a certain practice, List of Specialities, List of all known conditions, API health check. You might create a find doctor app or locate a doctor app for a personal project using this.</p><p><a href="https://questanalytics.com/solutions/betterdoctor/">Check out API</a></p><h3>Gamming</h3><h4>1. Pokemon Data (Pokeapi)</h4><p>This is a fully RESTful API linked to an extensive database detailing everything about the Pokémon main game series. They havecovered everything from Pokémon to Berry Flavors. This API will always be publicly available and will never require any extensive setup process to consume.</p><p><a href="https://pokeapi.co/">Check out API</a></p><h4>2. Find Games (RAWG API)</h4><p>RAWG is the largest video game database and game discovery service. And are gladly sharing our 500,000+ games, search, and machine learning recommendations with the world. Learn what the RAWG games database API can do and build something cool with it! You must include an API key with every request. In the following example, replace YOUR_API_KEY with your API key.</p><p><a href="https://rawg.io/apidocs">Check out API</a></p><h3>Education</h3><h4>1. Access Institutional details (Open Education API)</h4><p>Using your phone to find the nearest unoccupied computer? Or enroll in a course in a few clicks? Or quickly check your timetable or your marks? The Open Education API will help you do this.</p><p><a href="https://openonderwijsapi.nl/en/api/">Check out API</a></p><h4>2. University/College List and Rankings</h4><p>This API provides a list of universities and colleges in the world and their respective rankings in various regions.</p><p><a href="https://rapidapi.com/sshanbond/api/university-college-list-and-rankings/">Check out API</a></p><h3>Others</h3><h4>1. Music (Spotify)</h4><p>This API provides a list of songs, playlist, and much more in the world and their respective rankings in various regions.</p><p><a href="https://developer.spotify.com/">Check out API</a></p><h4>2. Flight Tracker (Aviation Check)</h4><p>This API provides free, real-time flight status &amp; global aviation data. Flight tracker &amp; airport timetable data web service trusted by 5.000+ of the smartest companies. Finally, it has a scalable REST API infrastructure.</p><p><a href="https://aviationstack.com/?utm_source=any-api&amp;utm_medium=OwnedSites">Check out API</a></p><h3>If you like the article 👋 Let’s be friends! Follow me on <a href="https://twitter.com/tapesh2">Twitter </a>and <a href="https://www.linkedin.com/in/tapesh-patel-276a65a4/">LinkedIn</a> and connect with me. Don’t forget to follow me here on <a href="https://medium.com/@tapeshp05">Medium </a>as well for more Power Apps, Power Automate, Web Development, and UI/UX design tips, especially for beginners.</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2c4d45213036" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Call API in PowerApps using PowerAutomate]]></title>
            <link>https://medium.com/@tapesh.patel/how-to-add-api-in-powerapps-using-powerautomate-44f5de6520bc?source=rss-22a365e7152a------2</link>
            <guid isPermaLink="false">https://medium.com/p/44f5de6520bc</guid>
            <category><![CDATA[microsoft]]></category>
            <category><![CDATA[microsoft-365]]></category>
            <category><![CDATA[power-automate]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[powerapps]]></category>
            <dc:creator><![CDATA[Tapesh Patel]]></dc:creator>
            <pubDate>Wed, 13 Oct 2021 12:14:22 GMT</pubDate>
            <atom:updated>2021-10-14T15:22:13.960Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RrSWEqBsIvFGMd029AkLfg.png" /></figure><p>This article will focus on API integration in PowerApps using PowerAutomate. To get a better understanding of UI/UX created during this tutorial please refer to the previous article i.e <a href="https://medium.com/@tapesh.patel/ui-ux-in-powerapps-or-power-platform-cbdd377400e2">How to create UI/UX in PowerApps or PowerPlatform</a>.</p><blockquote>We all know APIs are the more convenient and easiest way to show and transfer the data between any App or Website. Thanks to PowerAutomate, which gives more flexibility to use those APIs in PowerApps. Some might argue that the PowerApps itself has this feature to use and create a custom API but, to my experience, I found the best and easiest way to use these APIs is by triggering a flow in PowerAutomate.</blockquote><p>To make it more convenient for you all to understand, the article has been divided into the following sections.</p><ol><li>How to create a flow to call API?</li><li>How to trigger an API call and fetch the data in PowerApps.</li></ol><p>So let&#39;s get started,</p><h3><strong>Section 1: </strong>How to create a flow to call API</h3><p>There are many different approaches to work with an API in PowerApps, but here I will discuss one in brief and the other in short. In this example, I have used the OpenWeather API, which is free for use up to a certain limit. If you would also like to use the same API, <a href="https://openweathermap.org/api">click here</a>, or choose any other API that you would like.</p><h4>Step 1: Create a Flow in PowerAutomate (Approach 1)</h4><p>By now, I would presume you’ve already registered for a developer account and received an API key. In order to create a flow, go to the PowerAutomate dashboard and c<strong><em>lick on new flow</em></strong>, then <strong><em>choose instant flow</em></strong>. Now, <strong><em>enter the name of the flow</em></strong>, here I have used <strong><em>WeatherApi </em></strong>as the name, and select the trigger as a PowerApps, and hit create button.</p><figure><img alt="Create Flow Img 1" src="https://cdn-images-1.medium.com/max/721/1*W7wAYHiSGe0LdWBnWPBOOQ.png" /></figure><p>You have the option of choosing from two triggers — PowerApps V1 and V2. You can change the option by deleting and reselecting it. I have chosen V2 as it seems more convenient to me, then<strong><em> select the Text filed and inside enter title filed enter city and leave the other blank as we will use this as input</em></strong> value from PowerApps, please see the image below:</p><figure><img alt="PowerApps Trigger Image" src="https://cdn-images-1.medium.com/max/532/1*N7z4lbixbJTFYXSOjpk58A.png" /><figcaption>PowerApps Trigger Image</figcaption></figure><p>Next, click the Add icon and enter the name HTTP and <strong><em>select the HTTP action</em></strong>, now <strong><em>click on Method and select GET . In URI please enter</em></strong></p><blockquote>api.openweathermap.org/data/2.5/weather?q={city name}&amp;appid=<a href="https://home.openweathermap.org/api_keys">{API key}</a></blockquote><p>In the case where you have selected PowerAppsV1 as your main trigger, replace the city name with <strong><em>Ask in PowerApps</em></strong>; if you have selected V2, change the city from dynamic content as well, see the below image for details.</p><figure><img alt="HTTP GET request Image" src="https://cdn-images-1.medium.com/max/504/1*Ig3txe_SjrrxE64rErRqmA.jpeg" /><figcaption>HTTP GET request Image</figcaption></figure><p>Now, add compose as a new step, and inside compose <strong><em>Inputs select the dynamic content i.e Body</em></strong> from HTTP, and save it, as shown in the image below:</p><figure><img alt="Compose Action Image" src="https://cdn-images-1.medium.com/max/830/1*MoKf6MQRD1KvB15pmAZpCg.png" /><figcaption>Compose Action Image</figcaption></figure><blockquote>Remember, to get the actual schema you have to trigger the flow once so that we will get the output in compose and which we will copy and paste in the notepad for a moment.</blockquote><p>Let us switch to PowerApps, and select the new screen / new app, and <strong><em>insert TextInput</em></strong> which we are going to use for entering the city name <strong><em>and button</em></strong>, which will use to trigger the flow. Go to the action tab on the top right and select the PowerAutomate and Flow which you want to configure or use in your App. Please see the image below :</p><blockquote>ON Select add below code :</blockquote><blockquote>WeatherApi.Run(TextInput1.Text);</blockquote><figure><img alt="Configure Flow" src="https://cdn-images-1.medium.com/max/1024/1*DUypS0YoJ7Mm1PItqEGJQw.jpeg" /><figcaption>Configure Flow</figcaption></figure><figure><img alt="Test trigger flow Image" src="https://cdn-images-1.medium.com/max/884/1*VmdHlff6mHYTsPHtGJQgtQ.png" /><figcaption>Test Trigger Flow Image</figcaption></figure><p>Save the APP for now as we will need it later and click the button <strong><em>call API</em></strong> to trigger the flow. So far we have created a test flow to get the actual schema of whatever API you will be using, next step is to get the output of compose input, copy it, and paste it in notepad for a moment as I said earlier, and delete the compose as we do not need it, but if you want you can keep.</p><p>Now click the new step in the flow and select the <strong><em>Parse JSON action</em></strong>, and inside content filed add dynamic content<strong><em> i.e body from HTTP</em></strong> as we did for compose above and click on <strong><em>Generate Sample Schema button and paste the code</em></strong> which you have in notepad. So fare the result should look as shown in the image below:</p><figure><img alt="Parse JSON Image" src="https://cdn-images-1.medium.com/max/660/1*CZyZInmLXd5hFkzGRdloAA.png" /><figcaption>Parse JSON Image</figcaption></figure><p>The final step to creating a flow is to click the new step and add the <strong><em>Respond to PowerApps Flow action</em></strong> and <strong><em>choose the type of output as Text</em></strong> you can select as per your need. Enter Temperature as first filed tiled and inside input choose from dynamic content i.e temp as shown in the image below and save it.</p><figure><img alt="PowerApps respond action Image" src="https://cdn-images-1.medium.com/max/806/1*g_1mngS1etZIbb4dZs4bOg.png" /><figcaption>PowerApps respond action Image</figcaption></figure><h4><em>So for your complete flow should look as shown in the image below :</em></h4><figure><img alt="Complete Flow Image" src="https://cdn-images-1.medium.com/max/684/1*Dv7wxZjUQuwU-nwcCIbYNw.png" /><figcaption>Complete Flow Image</figcaption></figure><h4>Step 2: Create a Flow in PowerAutomate (Approach 2)</h4><p>In this approach, I would not explain more in detail as the 99% part is similar to that of above, however, the only thing which will be changed in this approach <strong><em>will be replacing the Respond to a PowerApp or Flow action with Responses</em></strong> action as shown in the image below.</p><figure><img alt="Response action Flow Image" src="https://cdn-images-1.medium.com/max/960/1*QU-y7RQGQz3I3bj0QpKj_w.png" /><figcaption>Response Action Flow Image</figcaption></figure><figure><img alt="Response Action Flow Image 2" src="https://cdn-images-1.medium.com/max/701/1*8pmVghIVPvyowGc9MtdZGg.png" /><figcaption>Response Action Flow Image 2</figcaption></figure><h3>Section 2: How to trigger an API call and fetch the data in PowerApps</h3><p>To start with, I have already created an app UI/UX that will show Weather reports of the city you entered as input. I would not focus more on the UI/UX part of how the app has been created, but more focused will be on how the flow should be triggered and the data to be shown.</p><p>Now let’s go back to the same APP we created above with TextInput and Button for testing purposes and generating a schema.<strong><em> Add below code to on select of a button.</em></strong> Basically here we are triggering the flow and same time we are also creating a collection of the data which want from the flow.</p><blockquote>ON Select:</blockquote><blockquote>Collect(SWeatherApi, WeatherApi.Run(TextInput1.Text)); Reset(TextInput1);</blockquote><p>To add the test data to the collection, trigger a flow once. Now that we have sample data, insert the gallery to the screen and change the data source to the collection name which you have created. Finally, you are now ready to use the API as per your need. Add below to Gallary:</p><blockquote>Items:</blockquote><blockquote>SWeatherApi //this is your collection name</blockquote><p>Inside gallery Lable/Text:</p><blockquote>Text:</blockquote><blockquote>ThisItem.feels//change as per your need</blockquote><p>If you want to clear the collection of data, insert the new button and add the below code to on select property.</p><blockquote>ON Select:</blockquote><blockquote>Clear(SWeatherApi);</blockquote><h3><strong>The final result is as shown in the image below:</strong></h3><figure><img alt="Final Result" src="https://cdn-images-1.medium.com/max/600/1*NfXVQm61JiFfnfoiFnxLRQ.gif" /><figcaption>Final Result</figcaption></figure><h3>If you like the article 👋 Let’s be friends! Follow me on <a href="https://twitter.com/tapesh2">Twitter </a>and <a href="https://www.linkedin.com/in/tapesh-patel-276a65a4/">LinkedIn</a> and connect with me. Don’t forget to follow me here on <a href="https://medium.com/@tapeshp05">Medium </a>as well for more Power Apps, Power Automate, Web Development, and UI/UX design tips especially for beginners.</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=44f5de6520bc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Export data as an XML file using PowerApps and PowerAutomate]]></title>
            <link>https://medium.com/@tapesh.patel/export-data-as-an-xml-file-using-powerapps-and-powerautomate-be41429ef76b?source=rss-22a365e7152a------2</link>
            <guid isPermaLink="false">https://medium.com/p/be41429ef76b</guid>
            <category><![CDATA[xml]]></category>
            <category><![CDATA[microsoft-flow]]></category>
            <category><![CDATA[powerapps]]></category>
            <category><![CDATA[microsoft-365]]></category>
            <category><![CDATA[power-automate]]></category>
            <dc:creator><![CDATA[Tapesh Patel]]></dc:creator>
            <pubDate>Fri, 13 Aug 2021 11:44:06 GMT</pubDate>
            <atom:updated>2021-08-19T11:27:07.812Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Data transfer image" src="https://cdn-images-1.medium.com/max/507/1*K5v8k6wXwtpQ7u-hompxeQ.png" /><figcaption>Image credit: <a href="https://www.goanywhere.com/">https://www.goanywhere.com</a></figcaption></figure><p>As you know, XML and JSON are the two most convenient and best ways to transfer data across any website, web app, or mobile app. The purpose of this article is to explain how we can transfer data using XML via PowerApps and PowerAutomate.</p><blockquote>The adaptation of the new suite of Office 365(O365) i.e. PowerApps and PowerAutomte is increasing rapidly since 2020. PowerApps gives you the ability to create any custom hybrid app with minimum code and PowerAutomate gives the ability to automate your day-to-day task, such as send timely reports every Monday morning or send approvals for holidays, and etc, but you can perform more complex actions if you dive deep into this.</blockquote><p>To start with, we will take an example of how we can write an XML code inside PowerApps, validate against the XSD schema, and create an XML file into your preferred database. The article is divided into three sections as mentioned below, and you can find the complete video at the end of the article.</p><p><strong>1. Write an XML code in PowerApps</strong></p><p><strong>2. Validate the XML code against XSD Schema</strong></p><p><strong>3. Create an XML file using PowerAutomate/Microsoft flow</strong></p><h3>Section 1</h3><h3>XML in PowerApps</h3><p>To write an XML code you should have at least a basic understanding of XML format and XML schema. You can watch the videos on youtube if you are totally new to XML. By now, I assume you fully understand what XML is and, even if you do not, simply follow the steps outlined below and you will be up to speed on XML.</p><h4>Step1: Add Sample XML code</h4><p>Open a PowerApps studio and navigate to the new screen, and add a label control. You can name it whatever you want, But here I will use <strong><em>XMLlabel</em></strong><em>. </em>Now add the below code in the label control. You should see the result as shown in the image below.</p><p><strong><em>Note: always add the text inside the double quote only as PowerApps will consider this as a string/text.</em></strong></p><blockquote>“&lt;?xml version=””1.0&quot;” encoding=””UTF-8&quot;”?&gt;</blockquote><blockquote>&lt;breakfast_menu&gt;<br> &lt;food&gt;<br> &lt;name&gt;Belgian Waffles&lt;/name&gt;<br> &lt;price&gt;$5.95&lt;/price&gt;<br> &lt;description&gt;Two of our famous Belgian Waffles with plenty of real maple syrup&lt;/description&gt;<br> &lt;calories&gt;650&lt;/calories&gt;<br> &lt;/food&gt;<br>&lt;/breakfast_menu&gt;”</blockquote><figure><img alt="XML code" src="https://cdn-images-1.medium.com/max/548/1*aJrOf1XPJzs6-uAAn06Pjg.png" /><figcaption>XML code</figcaption></figure><h4>Step2: Add data dynamically</h4><p>Thus far you have your XML code ready, but the above example is just a simple way to match/validate it with an XML schema but to add data dynamically you must use the <strong><em>concat or concatenate</em></strong> function to achieve this functionality.</p><p>First, we will see the result when an item is selected from the gallery. To do so you can create sample data using a collection or you can use your own. To create a collection add a button and go to <strong><em>Onselect</em></strong><em> </em>property of the button and add the below code.</p><h4>Create a collection :</h4><blockquote>ClearCollect(colBreakfastMenu, <br>{<br> Name: “Pancake”, <br> Price: “€5.58”, <br> Description: “Made with eggs and maple syrup”, <br> Calories: “520” ,<br> Image: “<a href="https://images.unsplash.com/photo-1528207776546-365bb710ee93?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&amp;ixlib=rb-1.2.1&amp;auto=format&amp;fit=crop&amp;w=750&amp;q=80">https://images.unsplash.com/photo-1528207776546-365bb710ee93?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&amp;ixlib=rb-1.2.1&amp;auto=format&amp;fit=crop&amp;w=750&amp;q=80</a>&quot;<br>}, <br>{<br> Name: “Fried Egg”, <br> Price: “€10.00”, <br> Description: “Made with eggs, black pepper, sea salt and served with brown bread”,<br> Calories: “900” ,<br> Image: “<a href="https://images.unsplash.com/photo-1617054280194-9eb3deda5325?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&amp;ixlib=rb-1.2.1&amp;auto=format&amp;fit=crop&amp;w=634&amp;q=80">https://images.unsplash.com/photo-1617054280194-9eb3deda5325?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&amp;ixlib=rb-1.2.1&amp;auto=format&amp;fit=crop&amp;w=634&amp;q=80</a>&quot;<br>}, <br>{<br> Name: “Bread and Coffee”, <br> Price: “€5.00”, <br> Description: “Choice of bread brown or white with a choice of coffee”,<br> Calories: “320” ,<br> Image: “<a href="https://images.unsplash.com/photo-1512568400610-62da28bc8a13?ixid=MnwxMjA3fDB8MHxzZWFyY2h8OXx8Y29mZmVlfGVufDB8fDB8fA%3D%3D&amp;ixlib=rb-1.2.1&amp;auto=format&amp;fit=crop&amp;w=600&amp;q=60">https://images.unsplash.com/photo-1512568400610-62da28bc8a13?ixid=MnwxMjA3fDB8MHxzZWFyY2h8OXx8Y29mZmVlfGVufDB8fDB8fA%3D%3D&amp;ixlib=rb-1.2.1&amp;auto=format&amp;fit=crop&amp;w=600&amp;q=60</a>&quot;<br>} )</blockquote><h4>Add a gallery</h4><p>Now Add a gallery and go to the data source of the gallery and add the collection <strong><em>i.e colBreakfastMenu.</em></strong> By now you should see the result as shown in the image below.</p><figure><img alt="Gallery Image" src="https://cdn-images-1.medium.com/max/925/1*xsiImLtX49_0z_M_1i8xoQ.png" /><figcaption>Gallery Image</figcaption></figure><h4>Add data dynamically for selected Items from the gallery</h4><p>The next step is to add the data dynamically for the item which is selected and change the XML schema.</p><p><strong><em>Note: I have not added the base64code of the image here due to long text.</em></strong></p><blockquote>“&lt;?xml version=””1.0&quot;” encoding=””UTF-8&quot;”?&gt;</blockquote><blockquote>&lt;breakfast_menu&gt;<br> &lt;food&gt;<br> &lt;name&gt; “&amp; namelbl.Text&amp; “&lt;/name&gt;<br> &lt;price&gt;”&amp; pricelbl.Text &amp;” &lt;/price&gt;<br> &lt;description&gt;”&amp; descriptionlbl.Text &amp;” &lt;/description&gt;<br> &lt;calories&gt;”&amp; calorieslbl.Text &amp;”&lt;/calories&gt;<br> &lt;/food&gt;<br>&lt;/breakfast_menu&gt;”</blockquote><p>The result should be as shown in the video below:</p><figure><img alt="Result of each item selection" src="https://cdn-images-1.medium.com/max/1024/1*Cp5jdfbnAPnNDq-U4MBuCw.gif" /><figcaption>Result of each item selection</figcaption></figure><h4>Section 2</h4><h3>XML Schema Validation</h3><p>Here I have added the<strong> <em>itemid</em></strong> as an extra file as per XML Schema, if you need any auto-increment ID based on the items present in Gallery you can refer to the code else you can also change as per your need.</p><p><strong>For Example, I have used the below XML schema:</strong></p><pre>&lt;xs:schema attributeFormDefault=&quot;unqualified&quot; elementFormDefault=&quot;qualified&quot; xmlns:xs=&quot;http://www.w3.org/2001/XMLSchema&quot;&gt;<br>  &lt;xs:element name=&quot;breakfast_menu&quot;&gt;<br>    &lt;xs:complexType&gt;<br>      &lt;xs:sequence&gt;<br>        &lt;xs:element name=&quot;product&quot;&gt;<br>          &lt;xs:complexType&gt;<br>            &lt;xs:simpleContent&gt;<br>              &lt;xs:extension base=&quot;xs:string&quot;&gt;<br>                &lt;xs:attribute type=&quot;xs:byte&quot; name=&quot;code&quot;/&gt;<br>              &lt;/xs:extension&gt;<br>            &lt;/xs:simpleContent&gt;<br>          &lt;/xs:complexType&gt;<br>        &lt;/xs:element&gt;<br>        &lt;xs:element name=&quot;restaurant&quot;&gt;<br>          &lt;xs:complexType&gt;<br>            &lt;xs:simpleContent&gt;<br>              &lt;xs:extension base=&quot;xs:string&quot;&gt;<br>                &lt;xs:attribute type=&quot;xs:string&quot; name=&quot;code&quot;/&gt;<br>                &lt;xs:attribute type=&quot;xs:string&quot; name=&quot;type&quot;/&gt;<br>                &lt;xs:attribute type=&quot;xs:string&quot; name=&quot;name&quot;/&gt;<br>              &lt;/xs:extension&gt;<br>            &lt;/xs:simpleContent&gt;<br>          &lt;/xs:complexType&gt;<br>        &lt;/xs:element&gt;<br>        &lt;xs:element name=&quot;food&quot; maxOccurs=&quot;unbounded&quot; minOccurs=&quot;0&quot;&gt;<br>          &lt;xs:complexType&gt;<br>            &lt;xs:sequence&gt;<br>              &lt;xs:element type=&quot;xs:float&quot; name=&quot;itemid&quot;/&gt;<br>              &lt;xs:element type=&quot;xs:string&quot; name=&quot;name&quot;/&gt;<br>              &lt;xs:element type=&quot;xs:string&quot; name=&quot;price&quot;/&gt;<br>              &lt;xs:element type=&quot;xs:string&quot; name=&quot;description&quot;/&gt;<br>              &lt;xs:element type=&quot;xs:string&quot; name=&quot;calories&quot;/&gt;<br>            &lt;/xs:sequence&gt;<br>          &lt;/xs:complexType&gt;<br>        &lt;/xs:element&gt;<br>      &lt;/xs:sequence&gt;<br>    &lt;/xs:complexType&gt;<br>  &lt;/xs:element&gt;</pre><h4>Step1: Add data dynamically for all Item</h4><p>To get the data into XML for all gallery items or data source items, go to the <strong><em>Onselect</em></strong> property of the button and add the code below. And the result should be as shown in the image below.</p><blockquote>Clear(colbreakfastxml);<br>ForAll(breakfastGal.AllItems, <br>Collect(colbreakfastxml,</blockquote><blockquote>“<br> &lt;food&gt;<br> &lt;itemid&gt; “&amp; Text(CountRows(colbreakfastxml)) &amp;”&lt;/itemid&gt;<br> &lt;name&gt; “&amp; namelbl.Text&amp; “&lt;/name&gt;<br> &lt;price&gt;”&amp; pricelbl.Text &amp;” &lt;/price&gt;<br> &lt;description&gt;”&amp; descriptionlbl.Text &amp;” &lt;/description&gt;<br> &lt;calories&gt;”&amp; calorieslbl.Text &amp;”&lt;/calories&gt;<br> &lt;/food&gt;<br>“ ));</blockquote><p>And on the label, navigate to Text property and change the code as shown below. Here I have used <strong><em>Concat </em></strong>function to show the data in Label as text/string, which we can later <strong><em>Export as XML.</em></strong></p><blockquote>“&lt;?xml version=””1.0&quot;” encoding=””UTF-8&quot;”?&gt;<br>&lt;breakfast_menu&gt;<br>&lt;product code= “&amp; “””001&quot;”” &amp;” /&gt;<br>&lt;restaurant code= “&amp; “””H001&quot;”” &amp;” type = “”Hotel”” name = “”Hilton”” /&gt;<br> “&amp; Concat(colbreakfastxml, Value, “”) &amp;”<br>&lt;/breakfast_menu&gt;”</blockquote><figure><img alt="XML code for all gallery Items" src="https://cdn-images-1.medium.com/max/836/1*ghzSPuO8vCqCwN0zTM4yng.png" /><figcaption>XML code for all gallery Items</figcaption></figure><h4>Step 2: XML Schema Validation</h4><p>To verify the document is valid with XML Schema I have used <a href="https://www.freeformatter.com/xml-validator-xsd.html">https://www.freeformatter.com/xml-validator-xsd.html</a> but if you want you can use any platform of your choice and as you can see the XML document is valid.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uV7FtaiWtg8iDsDWqhq8Nw.png" /></figure><h4>Section 3:</h4><h4>Create a XML file</h4><p>For creating a XML file, navigate to PowerAutomate dashboard and <strong><em>select the option of instant cloud flow,</em></strong> give the name of your choice and select the trigger action as PowerApps and create. Please see the image for reference and follow the steps shown below.</p><figure><img alt="Create a Flow" src="https://cdn-images-1.medium.com/max/895/1*LYk4hAxuTmWcGfDRrSf8eA.png" /><figcaption>Create a Flow</figcaption></figure><h4>Step1: Get data from PowerApps</h4><p>You might have many other options to convert any text to string, but here I have used variables. Select new step and <strong><em>type variable </em></strong>and select action as <strong><em>Initialize variable</em></strong>. Now, Select the type as a string and name it as per your need. In the <strong><em>Value option please select the dynamic option which is ask in powerapps</em></strong> and you should see something similar as shown in the image below.</p><figure><img alt="Add variable" src="https://cdn-images-1.medium.com/max/658/1*ZsMeWpK84nSwqX5hRYkf4Q.png" /><figcaption>Add variable</figcaption></figure><h4>Step2: Create a file</h4><p>Select the next step and choose the database of your choice to store the file. Here, I have used Onedrive, and select the action as <strong><em>Create a File action</em></strong>, choose the folder path dynamically if you have already signed in to Onedrive, now enter a file name, and after the name used<strong><em>.XML</em></strong> as the file extension. In my case it is <strong><em>XMLfile.xml</em></strong>. Finally, add the variable name dynamically to <strong><em>File content</em></strong>, save the flow and you should see the result as you can in the image below.</p><figure><img alt="Create a file" src="https://cdn-images-1.medium.com/max/611/1*tiHrzPnYNLVcPB_pGhflIw.png" /><figcaption>Create a file</figcaption></figure><h3>Final result:</h3><p>To run the flow, go to powerapps and add a flow connection to <strong><em>Onselect of button. </em></strong>And now when you will be asked for the additional input property add the Label name in which you have all your XML text. In my case it is <strong><em>XMLlabel.Text</em></strong> as mentioned earlier. All the results are shown below.</p><figure><img alt="Final Flow Run" src="https://cdn-images-1.medium.com/max/1024/1*lclnr1xT3QHIHGpdObdenw.png" /><figcaption>Final Flow Run</figcaption></figure><figure><img alt="XML File" src="https://cdn-images-1.medium.com/max/812/1*BbKGHdhZkl4VNZAXsO_8Ow.png" /><figcaption>XML File</figcaption></figure><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FJxS49_WHZsE%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DJxS49_WHZsE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FJxS49_WHZsE%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/a336d3558875ff785899255ffcd87008/href">https://medium.com/media/a336d3558875ff785899255ffcd87008/href</a></iframe><blockquote>Next in queue : How to add attachment in XML using Power Apps and PowerAutomate.</blockquote><h3>The final result may look similar to the image at the end of the article. If you like the article 👋 Let’s be friends! Follow me on <a href="https://twitter.com/tapesh2">Twitter </a>and <a href="https://www.linkedin.com/in/tapesh-patel-276a65a4/">LinkedIn</a> and connect with me. Don’t forget to follow me here on <a href="https://medium.com/@tapeshp05">Medium </a>as well for more Power Apps, Power Automate, Web Development, and UI/UX design tips especially for beginners.</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=be41429ef76b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Create UI/UX in PowerApps or Power Platform]]></title>
            <link>https://medium.com/@tapesh.patel/ui-ux-in-powerapps-or-power-platform-cbdd377400e2?source=rss-22a365e7152a------2</link>
            <guid isPermaLink="false">https://medium.com/p/cbdd377400e2</guid>
            <category><![CDATA[powerapps]]></category>
            <category><![CDATA[microsoft-powerapps]]></category>
            <category><![CDATA[powerplatform]]></category>
            <category><![CDATA[powerapps-portal]]></category>
            <category><![CDATA[ui-design]]></category>
            <dc:creator><![CDATA[Tapesh Patel]]></dc:creator>
            <pubDate>Sat, 15 May 2021 10:51:25 GMT</pubDate>
            <atom:updated>2021-10-13T12:24:17.650Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong><em>A simple approach to create an icon and add box-shadow in powerapps</em></strong></h4><p>The first thing you need to know when designing a UI/UX for any desktop, mobile, or web application is color concepts and design skills. This article provides directions on how you can create an outstanding UI/UX for your powerapps. Among the main topics that will be discussed in this article are:<br> <strong><em>How to create an icon? and <br>How to add box-shadow?</em></strong></p><p>It is possible that you may be capable of creating something like as shown in the image below by the end of this article.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j6FoJbsGTvMbi_5MVZJUoA.png" /><figcaption>Image Credit <a href="https://www.pexels.com/">Pexels</a></figcaption></figure><blockquote>“Remember, a great user experience comes with great ideas and great ideas come with brainstorming other people&#39;s ideas”</blockquote><p>While there are thousands of UI/UX articles on the internet today with many different rules and ideas, this article will only focus on few major and basic rules to be kept in mind for a newcomer, and they are as follow:</p><blockquote><strong><em>What does the user need?<br>What is the brand color?<br>What will be the color palette based on brand color? <br>Finally, Keep it simple.</em></strong></blockquote><blockquote>To kick start, I have used many different tools, websites, and apps for creating icons and images, such as Adobe Photoshop, <a href="https://unsplash.com/">Unsplash</a>, and <a href="https://www.pexels.com/">Pexels</a>. For illustration purpose will be creating a Movie Hunt Application, where you can search for any movie based on the rating or released year. Now, Let’s get started!</blockquote><h3>Step1: Create a Header</h3><blockquote>Select label, name it <strong>Movie Hunt.</strong> Place it at top of the screen. Where X = 0 &amp; Y = 0(as show in header properties below). Select Fill property and enter <strong><em>ColorValue(“#5FBAAF”) which is also a brand color for me </em></strong>or you may select one of your choices from <a href="https://mycolor.space/">mycolorspace</a> depending on your brand color. You may also generate a color palatte form the same website for your need.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/238/1*zBcsnjPrZgYHXP6sAzxRew.png" /><figcaption>Header Properties</figcaption></figure><h3>Step2: Create a Navigation Component</h3><blockquote>In order to gain an in-depth understanding of the PowerApps component library, you may watch a video created by one of the PowerApps experts that details how to create a navigation component. You may also download it. (<a href="https://www.youtube.com/watch?v=dP74npyyvGc">Watch Video</a>/<a href="https://github.com/rdorrani/PowerApps/tree/master/Components/Left%20Navigation">Download Component</a>). Next, select the fill property and enter the color code which you have chosen already as brand color and set properties. (as show in navigation component properties below).</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/236/1*orvnLj4-9piHk6gi3e0afg.png" /><figcaption>Navigation Component Properties</figcaption></figure><h3>Step 3: Add an Image effect to Welcome Page</h3><blockquote>You can find any image you need at Pexels or Unsplash, then import it into Photoshop. I won&#39;t detail how to edit in Photoshop, but you can watch some tutorials on youtube ( by <a href="https://medium.com/u/9e40f73e1ebe">Envato</a>) if your new as this article will only focus on powerapps. Go to <a href="https://www.pexels.com/">Pexels</a>/<a href="https://unsplash.com/">Unspalsh</a>.</blockquote><blockquote>Add new screen in powerapps, name it as W<strong>elcome screen</strong>. Next, add image properties to it(as show in image properties below). and now import the image you have selected. It should look something similar as shown in the image below. <br>Click on the link below to select the same image.<br>“<a href="https://images.pexels.com/photos/4307925/pexels-photo-4307925.jpeg?auto=compress&amp;cs=tinysrgb&amp;dpr=2&amp;h=750&amp;w=1260">https://images.pexels.com/photos/4307925/pexels-photo-4307925.jpeg?auto=compress&amp;cs=tinysrgb&amp;dpr=2&amp;h=750&amp;w=1260</a>&quot;</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/234/1*Tc9vG8KdS5-uptmEw8IA2w.png" /><figcaption>Image Properties</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1dzMrxyEzEsG6tMy29K9uw.png" /><figcaption>Image Credit:<a href="https://www.pexels.com/"> Pexel</a></figcaption></figure><h3><strong>Step4: Add creative TITLE</strong></h3><blockquote>The attractive font style was created using Segoe UI, but if you wish you may alternatively use one of Fontalic’s font styles. (visit<a href="https://www.fontalic.com/"> fontalic</a>). <br>Select a label and title it as “BEST MOVIE SEARCH ENGINE”. Place the lable on top-left of the app (as show in lable properties below) on welcome screen. Now change the font-size to 27 .</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/234/1*sbLEdowUFh2bQuQQY7poTw.png" /><figcaption>Title Label Properties</figcaption></figure><h3><strong>Step5: Create a button with a shadow effect</strong></h3><blockquote>This is a bit tricky part I would say. To start with you should have a little background about HTML and CSS, by CSS I mean inline CSS only, as PowerApps does not support the CSS3 syntax on a large scale or external CSS format thing.</blockquote><blockquote>To start with, select a HTML input on welcome screen, and place it on the top-right of the coner (as show in HTML input properties below). Now, select the text property, and copy the below code into it.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/226/1*PzbzEpiO4dV8uUO3pXc3FQ.png" /><figcaption>HTML Input Properties</figcaption></figure><p>“&lt;div style=’margin: 10px; width: “&amp; Self.Width -25 &amp; “px; height:”&amp; Self.Height -35 &amp;”px; background-color:#;box-shadow:0 3px 6px 1px #ccc; border-radius:15px’&gt;&lt;/div&gt;”</p><blockquote>Next, select a textinput and add it on top of the HTML input text and adjust to the same height, width, X, and Y property, as well as select boder = none, and then add the image control to the left corner of the text input. Finally, select the image control, then image property and paste the below SVG code.</blockquote><p>“data:image/svg+xml;utf8, “&amp;EncodeUrl(“&lt;svg xmlns=’<a href="http://www.w3.org/2000/svg&#39;">http://www.w3.org/2000/svg&#39;</a> width=’16&#39; height=’16&#39; fill=’#C2FCF4&#39; class=’bi bi-search’ viewBox=’0 0 16 16&#39;&gt;<br> &lt;path d=’M11.742 10.344a6.5 6.5 0 1 0–1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415–1.414l-3.85–3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1–11 0 5.5 5.5 0 0 1 11 0z’/&gt;<br>&lt;/svg&gt;”)</p><blockquote>You can get the SVG codes for Icons from b<a href="https://icons.getbootstrap.com/">ootstrap </a>and convert them to a single quotation mark as shown above using notepad. Note, only convert<br>below part to single quote :</blockquote><p>&lt;svg xmlns=’<a href="http://www.w3.org/2000/svg&#39;">http://www.w3.org/2000/svg&#39;</a> width=’16&#39; height=’16&#39; fill=’#C2FCF4&#39; class=’bi bi-search’ viewBox=’0 0 16 16&#39;&gt;<br> &lt;path d=’M11.742 10.344a6.5 6.5 0 1 0–1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415–1.414l-3.85–3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1–11 0 5.5 5.5 0 0 1 11 0z’/&gt;<br>&lt;/svg&gt;</p><blockquote>Last, but not the least, you can then change the fill of the icon as per your need, by changing the “<strong><em>fill=#C2FCF4” </em></strong><em>in SVG code</em><strong><em>. And copy HTML input, Text Input, and Image, and paste it at bottom and change icon, and text to label as per your need.</em></strong></blockquote><blockquote>Next : <a href="https://medium.com/@tapesh.patel/how-to-add-api-in-powerapps-using-powerautomate-44f5de6520bc">How to Add API in PowerApps using PowerAutomate</a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*3mgQoCqfyF9gBW8OcuWfaQ.gif" /><figcaption>Movie Hunt App Img1</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*BbZazpqSSp2Vb1pQE6E67w.gif" /><figcaption>Movie Hunt App Img2</figcaption></figure><h4>The final result may look similar to the image at the top of the article. If you like the article 👋 <strong>Let’s be friends!</strong> Follow me on <a href="https://twitter.com/tapesh2">Twitter </a>and <a href="https://www.linkedin.com/in/tapesh-patel-276a65a4/">LinkedIn</a> and connect with me. Don’t forget to follow me here on <a href="https://medium.com/@tapeshp05">Medium </a>as well for more Power Apps, Power Automate, Web Development, and UI/UX design tips especially for beginners.</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cbdd377400e2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to create adaptive card or actionable message card using Power Automate or Microsoft Flow and…]]></title>
            <link>https://medium.com/@tapesh.patel/how-to-create-adaptive-card-or-actionable-message-card-using-power-automate-or-microsoft-flow-and-c4548923198?source=rss-22a365e7152a------2</link>
            <guid isPermaLink="false">https://medium.com/p/c4548923198</guid>
            <category><![CDATA[adaptive-card]]></category>
            <category><![CDATA[microsoft-flow]]></category>
            <category><![CDATA[powerapps]]></category>
            <category><![CDATA[powerplatform]]></category>
            <category><![CDATA[flow]]></category>
            <dc:creator><![CDATA[Tapesh Patel]]></dc:creator>
            <pubDate>Wed, 07 Oct 2020 11:42:53 GMT</pubDate>
            <atom:updated>2021-10-14T14:34:41.044Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to create an adaptive card or actionable message card using Power Automate or Microsoft Flow and send it to Outlook mail?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Re--kZHpFxH9bJk6" /><figcaption>Photo by <a href="https://unsplash.com/@lukepeters?utm_source=medium&amp;utm_medium=referral">Luke Peters</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Sending the cards these days in email has been increased tremendously. It has given a rise to new way of sending emails and approval forms to managers, users or employees within the organization. You can do a lot with adaptive cards, such as send an <strong>Expense Report to manager, Flight updates to a customer, create a beautiful UI/UX and send regular updates to a customer or user about the products or shopping wish list, </strong>or any sort of customization based on your organization or customer needs.</p><blockquote>This article focuses on sending an actionable cards to anyone whom you want to send using the <strong>Microsoft Actionable Email Developer Dashboard</strong>, and especially the major part of this article shows the demo and code work of how to <strong>send the cards to yourself, multiple test users, and anyone within the organization</strong>. The article has been divided into two different sections which are as below.</blockquote><blockquote>Section 1 : How to register your company details on Outlook Actionable Email Developer Dashboard</blockquote><blockquote>Section 2: Create a Flow and Send the Card in email</blockquote><h3>Section 1 : How to register your company details on Outlook Actionable Email Developer Dashboard</h3><p><strong>Step 1:</strong> Please Visit the link given below and start registering your company profile with your company credentials</p><p><a href="https://outlook.office.com/connectors/oam/publish">Sign in to your account</a></p><p>You can see the portal as shown in the image below.</p><figure><img alt="Actionable Email Developer Dashboard with no registrations" src="https://cdn-images-1.medium.com/max/1024/1*jWIHy9nEKyUQeTRfapsrdA.png" /><figcaption>Actionable Email Developer Portal</figcaption></figure><p><strong>Step 2:</strong> <strong>Click on New Provider</strong> and start creating new one: image as shown below, please see that details such as Providers ID or Originators Id and Organization Info would be automatically fetched, as you already have signed in with your outlook credentials.</p><p><em>Start entering the details as per the requirements</em></p><p>You can add<strong><em> sender email as your employee email, </em></strong>or anyone provided by your organizations such as <strong>tapesh.patel@msdn.ie</strong> as all the emails and adaptive or actionable cards would be send by this email address you have registered with AEDD (Actionable Email Developer Dashboard)</p><p><strong>Step 3:</strong> <strong>Add Target URL’s</strong></p><p>The actionable message or card won’t be visible if you do not provide the <strong><em>target URL</em></strong>as this verifies the credentials you have provided and sends the reply with post action, which will then send the card to the provided URL or domain.</p><blockquote><strong>For Example: if you want to use outlook for your organization the target url will be </strong><a href="https://medium.com/">https://outlook.com/</a>yourcompanydomain i.e. <a href="https://medium.com/">https://outlook.com/</a>tapeshpatel.com</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*alrIKtnRT85yUFvELRQ0kQ.png" /><figcaption><strong>Actionable Email Developer Dashboard Section 1-Providers Details</strong></figcaption></figure><p><strong>Step 4: Add logo of the company or any image.</strong></p><p>At this stage you can add logo of the company or any image to differentiate the providers from one another, as there might be situation where you might have many in future so to avoid the confusion use image logo as this can even help you to create a group of providers with same image but different names which will be more identical to you to see.</p><p><strong>Step: 5</strong> <strong>Scope of Submission: Select any one option</strong></p><p>The following section, which is the <strong>Scope of Submission, </strong>here you can select the <strong><em>test user</em></strong> which is you , <strong><em>this also do not need any approval, its auto approved</em></strong>, if you want to <strong><em>test with any users in the organization please select the organization one</em></strong> and the option will change accordingly, as shown in the image below and if anyone <strong><em>out of organization please select the global option.</em></strong></p><p><strong>Step: 6 Additional Information: Email to whom you want to notify when approved</strong></p><p>If you have choose the option to test with any user from your organization, please see that you will be asked to provide the email address of the people who should be notified when your submission is approved, and any additional information which you would like to provide to the admin for approval, and then click on save.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*cytPqBTefGchPEaZm4ssTA.png" /><figcaption><strong>Actionable Email Developer Dashboard Section 3 if tester or organization is selected</strong></figcaption></figure><p><strong>Note: If you want to make it very quick please ask your admin personally to verify and approve the submission.</strong></p><p>However, please see that at times, there can be many complications to create a <strong><em>global provider as you would need an approval from everyone, </em></strong>and mostly by the Microsoft and the details would be as shown in the images below. Please follow the link on <a href="https://www.youtube.com/watch?v=X6Cs-MIefyo"><strong><em>YouTube</em></strong> </a>if you want to create the global provider.</p><p><em>Global provider Info — Image 1</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1006/1*wFFJn0dmIdyXe_12nSXs3g.png" /><figcaption><strong>Actionable Email Developer Dashboard Section 3-Global User/Provider Details</strong></figcaption></figure><p><em>Global provider Info — Image 2</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RvFNY5iwG9GU6YSYJX-u1A.png" /><figcaption><strong>Actionable Email Developer Dashboard Section 4, 5 -Publisher Details and Scenario</strong></figcaption></figure><p><em>Global provider Info — Image 3</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4htx0Y0h4H1taYiwXbwvOw.png" /><figcaption><strong>Actionable Email Developer Dashboard Section 6 -Verification Details</strong></figcaption></figure><h3><strong>Section 2: Create a Flow and Send the Card in email</strong></h3><p>Now that you have created and register with actionable email developer dashboard. We will create a flow to send the card when an event is triggered. Please see that you can perform the action with any type of trigger you would like to work on.</p><p><strong>Overview of the flow is shown in the image below</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s2dyrMeBnaSLogKH6sKVdw.png" /><figcaption>Final flow- Successful flow run</figcaption></figure><p>Let’s start by creating a flow now as per the image shown above and test it.</p><p><strong>Step 1: Create any trigger event</strong></p><p>Create any trigger event<strong> </strong>for the flow to get triggered here I have used the Recurrence trigger which will trigger automatically after everyone minute.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/758/1*VO7EM7WJ70kElLvTj7uWqQ.png" /><figcaption>trigger flow</figcaption></figure><p><strong>Step 2: Get the items from SharePoint List</strong></p><p>Get the items from SharePoint List as, you can choose as per your needs, here to show the demo I have choose<strong> Get Items.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/810/1*hdrCD7VW258TnyU2aunxXw.png" /><figcaption>Get Items form SharePoint List</figcaption></figure><p><strong>Step 3: Create a Json card</strong></p><p>Create a Json card using the compose variable. To select the compose action, see the image below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/707/1*jyyMMZHni6gt6wnSUPGl5A.png" /><figcaption>Select the compose action</figcaption></figure><p>and We can now create a Json Card.</p><blockquote>Please see the code below you can copy and paste if you would like, <strong>but make sure that you add the originator field in the Json Compose action which you will find it in your Actionable email Developer Dashboard, use your providers which you have created and copy and paste it as shown in the image below, as this will act as the ID for you to display the card to people whom you want else it will show no preview in email</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/649/1*ji3VMgimZgY1VztfhfdgJw.png" /><figcaption>Copy and Paste originator</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/864/1*viWVPOYSYm_63P-8OhU5HA.png" /><figcaption>Json card</figcaption></figure><h4>Step 4: Copy the below json code</h4><blockquote><strong>json code for card to be displayed:</strong></blockquote><p>&lt;script type = “application/adaptivecard+json”&gt;</p><p>{<br> “type”: “AdaptiveCard”,<br> “$schema”: “<a href="http://adaptivecards.io/schemas/adaptive-card.json">http://adaptivecards.io/schemas/adaptive-card.json</a>&quot;,<br> “version”: “1.0”,<br> “body”: [<br> {<br> “type”: “Image”,<br> “id”: “image_id”,<br> “url”: “<a href="https://pbs.twimg.com/profile_images/1300487052702683136/CE-C4Y2v_400x400.jpg">https://pbs.twimg.com/profile_images/1300487052702683136/CE-C4Y2v_400x400.jpg</a>”,<br> “style”: “Person”,<br> “size”: “Medium”<br> },<br> {<br> “type”: “TextBlock”,<br> “text”: “Hello, \n\nYou Have successfully created a Json card and your ready to trigger the flow. “<br> }<br> ],<br> “actions”: [<br> {<br> “type”: “Action.OpenUrl”,<br> “title”: “Follow on LinkedIn”,<br> “id”: “LinkedIn_id”,<br> “url”: “<a href="https://www.linkedin.com/in/tapesh-patel-276a65a4/">https://www.linkedin.com/in/tapesh-patel-276a65a4/</a>”<br> },<br> {<br> “type”: “Action.OpenUrl”,<br> “title”: “Follow on Twitter “,<br> “id”: “Twiter_id”,<br> “url”: “<a href="https://twitter.com/tapesh2">https://twitter.com/tapesh2</a>&quot;<br> }<br> ]<br>}</p><p>&lt;/script&gt;</p><h4><strong>Final card result will be like this</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*psPnYCeJ21z0Y5XiQ04o2A.png" /><figcaption>Adaptive card</figcaption></figure><p><strong>Step 5 Final: Send an email</strong></p><p>Send an email and select the output from <strong>Compose Json</strong> <strong>action</strong> and add in the body of email as shown in below image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/776/1*QE9rj8c3JXwjDvOdNrfVcw.png" /><figcaption>Send an email to user</figcaption></figure><h3><strong>Conclusion</strong> and Result</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fMhgIu-pHPjwDYqZl70z6A.png" /><figcaption>Result of Image on Outlook Exchange</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*73gi1Jw4K91Q6vBq3FfH4A.png" /><figcaption>Result of Image on Outlook Web App</figcaption></figure><p>You may sometimes face an issue while creating or registering with Actionable Email Developer Portal, however in this case please do contact Microsoft support service, else you can ask the admin to verify the details. Many a time these cards won’t work on Internet Explorer as this is no longer supported in some cases, hence please try to switch on to Microsoft Edge or Chromium.</p><p>👋 <strong>Let’s be friends!</strong> Follow me on <a href="https://twitter.com/tapesh2">Twitter </a>and <a href="https://www.linkedin.com/in/tapesh-patel-276a65a4/">LinkedIn</a> and connect with me. Don’t forget to follow me here on <a href="https://medium.com/@tapeshp05">Medium </a>as well for more Power Apps, Power Automate, Web Development and UI/UX design tips.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c4548923198" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>