{"id":1320,"date":"2021-07-16T13:15:16","date_gmt":"2021-07-16T19:15:16","guid":{"rendered":"http:\/\/www.idubbs.com\/blog\/?p=1320"},"modified":"2021-07-16T13:15:16","modified_gmt":"2021-07-16T19:15:16","slug":"sharepoint-modern-challenges-weather-web-part","status":"publish","type":"post","link":"https:\/\/www.idubbs.com\/blog\/2021\/sharepoint-modern-challenges-weather-web-part\/","title":{"rendered":"SharePoint Modern Challenges &ndash; Weather Web Part"},"content":{"rendered":"<h2>Overview<\/h2>\n<p>Working on a \u201crelatively simple\u201d intranet, using as much out of the box capabilities as possible\u2026 and running into what seem to be silly issues. <\/p>\n<p>Want to display the weather. Cool (Haha, see what I did there?), seems legit. Should be easy. There\u2019s a Weather web part. <\/p>\n<p>Edit the page. Add the web part. It asks for the location. Nice and simple lookup that finds my desired location easily. The company has multiple locations, so we add multiple locations to the web part. Still looks good. <\/p>\n<p>I can set the Celsius vs. Fahrenheit setting for the web part, but users can also override. Looks good. <\/p>\n<p>I can override the displayed city name for each location. <\/p>\n<p>That\u2019s it for configuration\/customization. <\/p>\n<h2>Issues<\/h2>\n<ul>\n<li>When does this web part update? How often? Can an update be forced? <br \/>All unknowns. It would be nice to have this information as it does NOT seem to update on a timely basis and well\u2026 it\u2019s weather \u2013 that changes regularly, if not quickly. <\/li>\n<li>I have multiple locations in my web part. When I click the \u201cMSN Weather\u201d link for more information \u2013 like the next few days forecast \u2013 ALL locations configured within the web part seem to land on the same location\u2019s info. <\/li>\n<ul>\n<li>Not sure where it\u2019s getting this default location. Might be the tenant\u2019s default, the MSN site may be using web location settings, might be something else. <br \/>I haven\u2019t narrowed that down yet. <\/li>\n<li>The link for each location appears to be individually configured as I can see the location of the web part in the link string. <br \/>Does the MSN Weather site no longer recognize the URL string and\/or parameters being passed in? <br \/>Is something else overriding the desired location? Either way \u2013 it doesn\u2019t work as users would expect. <\/li>\n<\/ul>\n<\/ul>\n<h2>Resolutions<\/h2>\n<p>None yet. I\u2019ll update this if\/when I find answers or work-arounds.<\/p>\n<h2>References<\/h2>\n<p><a href=\"https:\/\/support.microsoft.com\/en-us\/office\/show-the-weather-on-your-page-4a86540e-0846-4fc0-bad0-1a82fcd430fc\">Show the weather on your page &#8211; Office Support (microsoft.com)<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview Working on a \u201crelatively simple\u201d intranet, using as much out of the box capabilities as possible\u2026 and running into what seem to be silly issues. Want to display the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[21],"tags":[185,186],"class_list":["post-1320","post","type-post","status-publish","format-standard","hentry","category-sharepoint-online","tag-weather","tag-web-part"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pgWQ1-li","jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/posts\/1320","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/comments?post=1320"}],"version-history":[{"count":1,"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/posts\/1320\/revisions"}],"predecessor-version":[{"id":1321,"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/posts\/1320\/revisions\/1321"}],"wp:attachment":[{"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/media?parent=1320"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/categories?post=1320"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/tags?post=1320"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}