In one of my previous post I explained how to get current user locale information like city, country, latitude, longitude, IP address using SharePoint hosted app. In this post I have taken one further step and get the weather information of current logged in user's location.
Follow the below steps ... [More]
Recently I had to change mysite host URL in one of our environment. After I update my site hots URL and ran full user profile sync. Everything was working fine until I noticed that user images are not appearing inside user profiles.
I have started looking into the issue and done the following steps... [More]
You can follow the below steps to get user location information inside your SharePoint hosted app.
Create a “SharePoint Host App” project in visual studio 2013
Replace app.js contents with below code