{"id":2014,"date":"2018-09-04T17:31:44","date_gmt":"2018-09-04T17:31:44","guid":{"rendered":"http:\/\/elbsolutions.com\/projects\/?p=2014"},"modified":"2022-02-03T11:24:27","modified_gmt":"2022-02-03T17:24:27","slug":"2014-2","status":"publish","type":"post","link":"https:\/\/elbsolutions.com\/projects\/2014-2\/","title":{"rendered":"Auto-refresh when the activity was successful"},"content":{"rendered":"<p>There is a difference between closing the window when things went well (usually a button at the lower or upper right) and when we just close the dialog (the x in the upper corner). When things went well and we close the window we should auto-refresh<\/p>\n<p><strong><a href=\"https:\/\/sharepoint.stackexchange.com\/questions\/202829\/how-to-refresh-page-after-closing-dialog-form-sharepoint-2013\">https:\/\/sharepoint.stackexchange.com\/questions\/202829\/how-to-refresh-page-after-closing-dialog-form-sharepoint-2013<\/a><\/strong><\/p>\n<p>The google search it came from: <a href=\"https:\/\/www.google.com\/search?rls=com.microsoft:en-US:IE-Address&amp;q=SP.UI.ModalDialog.showModalDialog+auto+refresh&amp;spell=1&amp;sa=X&amp;ved=0ahUKEwjmsoLB6qHdAhVk3IMKHe64DXQQBQgkKAA&amp;biw=1920&amp;bih=934\">https:\/\/www.google.com\/search?rls=com.microsoft:en-US:IE-Address&amp;q=SP.UI.ModalDialog.showModalDialog+auto+refresh&amp;spell=1&amp;sa=X&amp;ved=0ahUKEwjmsoLB6qHdAhVk3IMKHe64DXQQBQgkKAA&amp;biw=1920&amp;bih=934<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>This guy goes further so you can pass a \u201csuccess\u201d (1) or \u201cjust close\u201d (0) back to the parent window\/callback function that we don\u2019t have yet. <!--more--><a href=\"http:\/\/sharepointerz.blogspot.com\/2012\/04\/sharepoint-modal-dialog.html\">http:\/\/sharepointerz.blogspot.com\/2012\/04\/sharepoint-modal-dialog.html<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Here is another good article w. pics and everything for SP 2013.<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"8ZqYt56l4s\"><p><a href=\"https:\/\/alinimer.wordpress.com\/2013\/02\/25\/open-pages-and-forms-in-modal-dialog-for-sharepoint-2013\/\">Open Pages and Forms in Modal Dialog For SharePoint&nbsp;2013<\/a><\/p><\/blockquote>\n<p><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;Open Pages and Forms in Modal Dialog For SharePoint&nbsp;2013&#8221; &#8212; Ali Nimer Mustafa\" src=\"https:\/\/alinimer.wordpress.com\/2013\/02\/25\/open-pages-and-forms-in-modal-dialog-for-sharepoint-2013\/embed\/#?secret=AVmireCGC6#?secret=8ZqYt56l4s\" data-secret=\"8ZqYt56l4s\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>That is also something that needs to be taken care of. So \u2026 the button we don\u2019t have yet should appear on the main page when \u201csuccessful\u201d message is given and it should be a greenish color \u2013 other wise we leave ONLY the x in the upper right that is already there and no refresh needs to be done. What this new button triggers!? We need to a little more research.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There is a difference between closing the window when things went well (usually a button at the lower or upper right) and when we just close the dialog (the x in the upper corner). When things went well and we close the window we should auto-refresh https:\/\/sharepoint.stackexchange.com\/questions\/202829\/how-to-refresh-page-after-closing-dialog-form-sharepoint-2013 The google search it came from: https:\/\/www.google.com\/search?rls=com.microsoft:en-US:IE-Address&amp;q=SP.UI.ModalDialog.showModalDialog+auto+refresh&amp;spell=1&amp;sa=X&amp;ved=0ahUKEwjmsoLB6qHdAhVk3IMKHe64DXQQBQgkKAA&amp;biw=1920&amp;bih=934 &nbsp; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2014","post","type-post","status-publish","format-standard","hentry","category-general"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Auto-refresh when the activity was successful - ELB Solutions.com Inc.<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/elbsolutions.com\/projects\/2014-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Auto-refresh when the activity was successful - ELB Solutions.com Inc.\" \/>\n<meta property=\"og:description\" content=\"There is a difference between closing the window when things went well (usually a button at the lower or upper right) and when we just close the dialog (the x in the upper corner). When things went well and we close the window we should auto-refresh https:\/\/sharepoint.stackexchange.com\/questions\/202829\/how-to-refresh-page-after-closing-dialog-form-sharepoint-2013 The google search it came from: https:\/\/www.google.com\/search?rls=com.microsoft:en-US:IE-Address&amp;q=SP.UI.ModalDialog.showModalDialog+auto+refresh&amp;spell=1&amp;sa=X&amp;ved=0ahUKEwjmsoLB6qHdAhVk3IMKHe64DXQQBQgkKAA&amp;biw=1920&amp;bih=934 &nbsp; [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/elbsolutions.com\/projects\/2014-2\/\" \/>\n<meta property=\"og:site_name\" content=\"ELB Solutions.com Inc.\" \/>\n<meta property=\"article:published_time\" content=\"2018-09-04T17:31:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-02-03T17:24:27+00:00\" \/>\n<meta name=\"author\" content=\"Etienne Bley\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Etienne Bley\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/2014-2\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/2014-2\\\/\"},\"author\":{\"name\":\"Etienne Bley\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#\\\/schema\\\/person\\\/51e717c68f4f5917c63baf88f0896c39\"},\"headline\":\"Auto-refresh when the activity was successful\",\"datePublished\":\"2018-09-04T17:31:44+00:00\",\"dateModified\":\"2022-02-03T17:24:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/2014-2\\\/\"},\"wordCount\":218,\"articleSection\":[\"General\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/2014-2\\\/\",\"url\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/2014-2\\\/\",\"name\":\"Auto-refresh when the activity was successful - ELB Solutions.com Inc.\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#website\"},\"datePublished\":\"2018-09-04T17:31:44+00:00\",\"dateModified\":\"2022-02-03T17:24:27+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#\\\/schema\\\/person\\\/51e717c68f4f5917c63baf88f0896c39\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/2014-2\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/2014-2\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/2014-2\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Auto-refresh when the activity was successful\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#website\",\"url\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/\",\"name\":\"ELB Solutions.com Inc.\",\"description\":\"Bringing all your IT Pieces together\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#\\\/schema\\\/person\\\/51e717c68f4f5917c63baf88f0896c39\",\"name\":\"Etienne Bley\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g\",\"caption\":\"Etienne Bley\"},\"url\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/author\\\/etienne-bley\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Auto-refresh when the activity was successful - ELB Solutions.com Inc.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/elbsolutions.com\/projects\/2014-2\/","og_locale":"en_US","og_type":"article","og_title":"Auto-refresh when the activity was successful - ELB Solutions.com Inc.","og_description":"There is a difference between closing the window when things went well (usually a button at the lower or upper right) and when we just close the dialog (the x in the upper corner). When things went well and we close the window we should auto-refresh https:\/\/sharepoint.stackexchange.com\/questions\/202829\/how-to-refresh-page-after-closing-dialog-form-sharepoint-2013 The google search it came from: https:\/\/www.google.com\/search?rls=com.microsoft:en-US:IE-Address&amp;q=SP.UI.ModalDialog.showModalDialog+auto+refresh&amp;spell=1&amp;sa=X&amp;ved=0ahUKEwjmsoLB6qHdAhVk3IMKHe64DXQQBQgkKAA&amp;biw=1920&amp;bih=934 &nbsp; [&hellip;]","og_url":"https:\/\/elbsolutions.com\/projects\/2014-2\/","og_site_name":"ELB Solutions.com Inc.","article_published_time":"2018-09-04T17:31:44+00:00","article_modified_time":"2022-02-03T17:24:27+00:00","author":"Etienne Bley","twitter_misc":{"Written by":"Etienne Bley","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/elbsolutions.com\/projects\/2014-2\/#article","isPartOf":{"@id":"https:\/\/elbsolutions.com\/projects\/2014-2\/"},"author":{"name":"Etienne Bley","@id":"https:\/\/elbsolutions.com\/projects\/#\/schema\/person\/51e717c68f4f5917c63baf88f0896c39"},"headline":"Auto-refresh when the activity was successful","datePublished":"2018-09-04T17:31:44+00:00","dateModified":"2022-02-03T17:24:27+00:00","mainEntityOfPage":{"@id":"https:\/\/elbsolutions.com\/projects\/2014-2\/"},"wordCount":218,"articleSection":["General"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/elbsolutions.com\/projects\/2014-2\/","url":"https:\/\/elbsolutions.com\/projects\/2014-2\/","name":"Auto-refresh when the activity was successful - ELB Solutions.com Inc.","isPartOf":{"@id":"https:\/\/elbsolutions.com\/projects\/#website"},"datePublished":"2018-09-04T17:31:44+00:00","dateModified":"2022-02-03T17:24:27+00:00","author":{"@id":"https:\/\/elbsolutions.com\/projects\/#\/schema\/person\/51e717c68f4f5917c63baf88f0896c39"},"breadcrumb":{"@id":"https:\/\/elbsolutions.com\/projects\/2014-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/elbsolutions.com\/projects\/2014-2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/elbsolutions.com\/projects\/2014-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/elbsolutions.com\/projects\/"},{"@type":"ListItem","position":2,"name":"Auto-refresh when the activity was successful"}]},{"@type":"WebSite","@id":"https:\/\/elbsolutions.com\/projects\/#website","url":"https:\/\/elbsolutions.com\/projects\/","name":"ELB Solutions.com Inc.","description":"Bringing all your IT Pieces together","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/elbsolutions.com\/projects\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/elbsolutions.com\/projects\/#\/schema\/person\/51e717c68f4f5917c63baf88f0896c39","name":"Etienne Bley","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g","caption":"Etienne Bley"},"url":"https:\/\/elbsolutions.com\/projects\/author\/etienne-bley\/"}]}},"_links":{"self":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts\/2014","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/comments?post=2014"}],"version-history":[{"count":2,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts\/2014\/revisions"}],"predecessor-version":[{"id":2016,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts\/2014\/revisions\/2016"}],"wp:attachment":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/media?parent=2014"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/categories?post=2014"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/tags?post=2014"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}