Saturday, April 30, 2016

Weather Report And Forecasting In Salesforce

As we know that a weather report can only be given for a past period and gives the actual weather conditions that  already occurred and calculated on the particular time.

So in salesforce it may be an application or customer requirement to get the weather report with forecasting. There may be two scenario where we may need weather report in salesforce.

1. Weather report of login user : -
                                                Salesforce org is the collections of multiple users. So when a user gets login then on home page a section of weather report can be displayed.
This is also possible in community, portal and lightning.


2. Weather report for given city:- 
                                             We can provide a input section where the user will enter the city name and will get the corresponding weather report.

 
So I have tried to implement same kinda in salesforce which has following things

 A. Platform - Salesforce
 B. API - Yahoo
 C. API Type - Rest
 D. Weather Information - Temperature, Humidity, Pressure, Rising, Visibility
 E. Forecasting - For next 10 days 

Demo - http://vickygaur-developer-edition.ap1.force.com/Demo/WeatherChecker

Please let me know for some suggestions and if need of sample code.


Thanks
Vikas Gaur
excellencegaur@gmail.com
9990540382

1 comment: