Weather Web Part

Vahe Voskanian -

The Weather web part allows users to view the current weather in any two cities of their liking.

  

Requirements and Activation

Please make sure the following URLs are accessible on your SharePoint WFE and App servers. These are service URLs that power the Stocks web part functionality. If these are not accessible, then the Stocks web part will not work.

http://www.worldweatheronline.com/
http://api.worldweatheronline.com/free

To activate the Weather web part on your site collection (this has most likely already been done) navigate to Site settings > Site collection features and choose to Activate the "Emgage | Weather Web Part."

Adding the Weather Web Part 

The Weather web part can be added to a page using the following steps:

  1. Place the page you would like to add the Weather web part to in Edit mode by either selecting Edit from the SharePoint Ribbon, or Edit Page from the Site Settings dropdown.



  2. The page is now in Edit mode. To add the Weather web part to a web part zone click on 'Add a Web Part' in the desired zone (pictured below). To add the Weather web part to a content zone, select the Insert tab in the SharePoint Ribbon and click on the 'Web Part' ribbon item.



  3. The SharePoint Ribbon will expand to display two columns titled Categories and Parts. Under Categories, select the Emgage folder and then choose Weather from the Parts section. Then click the Add button.

    NOTE: If the Emgage category or Weather web part is not available then you need to review the Post Install Configuration article to ensure Prime was installed and configured correctly.



  4. Congratulations! You have successfully added the Emgage Weather web part! Now it's time to configure the Weather Web Part.

Configuration and Administration 

The Weather web part can be configured using the web part menu (accessible by clicking the black downward facing arrow in the top right corner of the web part), and administered using the Admin "gear" icon in the bottom left corner of the web part.

Configuration

  1. Expand the web part menu and select Edit Web Part.
    Note: The page must be in Edit mode in order for the arrow to be visible.



  2. This will open the web part Tool Pane on the right side of the page. Here you can configure the Weather web part to best meet your needs. There are four tabs which can be expanded and configured: Weather Web Part Settings, Appearance, Layout and Advanced.

    Our focus will be on the Weather Web Part Settings area (the other three sections contain general SharePoint settings you can adjust as desired). Note however that the Height and Width options within the Appearance tab should be kept at the "No. Adjust height/width to fit zone" setting to maximize the responsive behavior of the web part.




    Weather Web Part Settings:

    Base URL: This is the URL for the weather service the Weather web part utilizes to obtain current weather information. This can be left as is, pointing to: http://api.worldweatheronline.com/free/v2/weather.ashx

    API Key: Each client must sign up to World Weather Online in order to receive a free API Key. Follow the link listed in the Weather Web Part Settings Tool Pane to the World Weather Online website. Once there, here's what you'll need to do to get the API Key:

    • Click on the "API" tab. This page will explain the differences between Free vs. Premium Api's.




    • Scroll to the bottom to find the link "Free Signup" and click on it.



    • Fill in the required information and click "Register"



    • After verifying your email, you will be directed back to the World Weather Online website where you will be given a key.



    • Enter the key into the API Key section inside the Weather Web Part Settings Tool Part and click Apply. 



  3. Your Emgage Weather web part is now configured!

     

Administration

The Admin 'gear' icon allows users to personalize the Weather web part by adding locations for which they's like to see the weather.

  1.  Click on the gear icon located on the bottom left hand side of the Emgage Weather web part.



  2. Here you add/update a location for which you would like the Weather web part to display the weather.  



  3. When finished, click on Submit to save you selection.

Collapsed Mode

This Web Part supports the option of "Collapsed Mode" where you are able to "minimize the Web Part". Click on the navigation bar of the web part to collapse it.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk