Powerapps training nellore, dynamics 365 training nellore

In this blog, we will discuss how to display current weather in PowerApps using connectors MSN Weather.
Microsoft provides an MSN Weather connector in Power Apps to obtain the current weather status of various countries and states.
To obtain the current weather status, this PowerApps Weather app accepts country, city, and Zipcode.


i have designed my weather report app like this

First, we’ll make a canvas app using the PowerApps.com website.

Next, navigate to the Data sources section and create a new connection. You must search for MSN Weather in order to obtain the current weather status.

Next, make a new screen and design your page according to your needs. Here, it is very simply designed by me.
After you’ve created a new screen, go to its OnVisible property and paste the following code.
You can change the country and state names in the code below to suit your needs.

UpdateContext({LastLocation : “Nellore,India”})

Formulas

Select Search box and for Default property, enter

Similarly, Select Search Icon onSelect Property and paste below formula

UpdateContext({Weather: MSNWeather.CurrentWeather(TextInput5.Text,Radio1.Selected.Value)})

For Radio button Item property

Items Property – [“Imperial”, “Metric”]

For Weather

Text Property – Weather.responses.weather.current.cap

For Wind

Text Property – Weather.responses.weather.current.windSpd & ” ” & Weather.units.speed

For Humidity

Text – Weather.responses.weather.current.rh & ” %”

For Temperature

Text Property – Weather.responses.weather.current.temp & ” ” & Weather.units.temperature

For Sky

Text Property – Weather.responses.weather.current.sky

For Help or Queries Contact us on info@crmonce.com or +918096556344