Saving and refreshing a CRM entity form without postback

I was working on a case where I had to empty a hidden field, save the form and refresh all without the user noticing it. In CRM 2011 you could only achieve this by doing a not so pretty refresh something like this:

function SaveAndRefresh() {
    var id =;;
    Xrm.Utility.openEntityForm("myEntityName", id);
But this will cause a visual page refresh where the user will get a blank page and then the form again.

In CRM 2013 and up however you can do this:
function SaveAndRefresh() {
This way the page is saved and refreshed without any visual post back effects.

Comments (36) -

  • Sarabjit Singh Sethi

    12/10/2015 5:35:09 AM |

    This post is really wonderful and very helpful

  • anne hathaway boy haircut

    11/27/2016 6:01:52 PM |

    I just like the valuable info you supply to your articles. I'll bookmark your blog and test again here regularly. I am rather sure I will be told lots of new stuff proper right here! Best of luck for the following!

  • black hairstyles for a bride

    11/27/2016 7:02:06 PM |

    Your style is very unique in comparison to other folks I have read stuff from. Thanks for posting when you have the opportunity, Guess I will just bookmark this page.

  • emotional tattoos tumblr

    11/27/2016 7:32:41 PM |

    Link exchange is nothing else however it is only placing the other person's webpage link on your page at proper place and other person will also do same in favor of you.

  • pastel colors for nails

    11/27/2016 9:26:47 PM |

    This piece of writing is in fact a fastidious one it helps new internet people, who are wishing for blogging.

  • hairstyles like selena gomez

    11/27/2016 10:00:39 PM |

    Pretty! This has been a really wonderful post. Many thanks for providing this information.

  • Hello very nice blog!! Man .. Excellent .. Wonderful .. I'll bookmark your website and take the feeds additionally? I am satisfied to find numerous useful information here in the put up, we need work out more techniques on this regard, thanks for sharing. . . . . .

  • all kim kardashian hairstyles

    11/28/2016 4:36:38 AM |

    I was very happy to uncover this website. I want to to thank you for your time for this wonderful read!! I definitely liked every part of it and I have you saved as a favorite to see new information in your web site.

  • jennifer lopez different hair styles

    11/28/2016 5:50:09 AM |

    I truly love your website.. Pleasant colors & theme. Did you develop this amazing site yourself? Please reply back as I'm attempting to create my own blog and would love to know where you got this from or exactly what the theme is called. Thank you!

  • nail ideas for mother of the bride

    11/28/2016 9:08:45 AM |

    Hey there, I think your blog might be having browser compatibility issues. When I look at your website in Safari, it looks fine but when opening in Internet Explorer, it has some overlapping. I just wanted to give you a quick heads up! Other then that, great blog!

  • faceless tattoos youtube

    11/28/2016 9:14:34 AM |

    As the admin of this web page is working, no hesitation very soon it will be well-known, due to its quality contents.

  • beautiful girl face tattoo

    11/28/2016 11:29:22 AM |

    If you are going for most excellent contents like me, just go to see this site daily since it offers quality contents, thanks

  • mehwish hayat pics fb

    11/28/2016 12:34:11 PM |

    I have been exploring for a little bit for any high quality articles or weblog posts on this sort of house . Exploring in Yahoo I ultimately stumbled upon this website. Studying this information So i'm glad to show that I've an incredibly excellent uncanny feeling I found out exactly what I needed. I most undoubtedly will make certain to don?t forget this site and give it a look on a relentless basis.

  • black roses and skulls

    11/28/2016 4:21:40 PM |

    I’m not that much of a internet reader to be honest but your sites really nice, keep it up! I'll go ahead and bookmark your website to come back later on. All the best

  • Snake Monster Tattoo queens

    11/28/2016 6:59:27 PM |

    Hmm is anyone else experiencing problems with the images on this blog loading? I'm trying to figure out if its a problem on my end or if it's the blog. Any feed-back would be greatly appreciated.

  • best diwali greetings quotes

    11/28/2016 8:18:21 PM |

    Wow, this article is fastidious, my sister is analyzing such things, so I am going to tell her.

  • cross tattoo designs on forearm

    11/28/2016 8:30:27 PM |

    When someone writes an article he/she maintains the idea of a user in his/her mind that how a user can understand it. Thus that's why this article is amazing. Thanks!

  • mischa barton hair color

    11/28/2016 9:01:41 PM |

    My family always say that I am wasting my time here at web, except I know I am getting familiarity every day by reading thes fastidious posts.

  • all rihanna hairstyles

    11/28/2016 11:29:57 PM |

    Hi to every one, it's actually a pleasant for me to visit this website, it includes important Information.

  • Christmas Fireplace Decoration Jpg

    12/13/2016 6:24:58 AM |

    This is a really good tip especially to those new to the blogosphere. Short but very accurate information… Thank you for sharing this one. A must read post!

  • tribal family tree tattoo tumblr

    12/13/2016 1:49:19 PM |

    of course like your website but you need to check the spelling on several of your posts. A number of them are rife with spelling problems and I in finding it very troublesome to inform the reality then again I'll certainly come back again.

  • 1636t4g

    1/28/2017 1:55:01 PM |

    974817 926039Deference to op , some  superb   selective data . 976006

  • hernia mesh lawsuit

    2/2/2017 4:57:10 PM |

    881804 994292Gnarly write-up mate, maintain the excellent function, just shared this with ma friendz 911975

  • Pro Gold IRA

    2/7/2017 9:57:48 PM |

    545639 845662I like this  web site  really significantly so significantly  superb   details. 479093

  • World Health One

    2/7/2017 10:08:57 PM |

    401515 11805Wow, cool post. I�d like to write like this too - taking time and real effort to make a very good article� but I procrastinate too considerably and never appear to get started. Thanks though. 419570

  • instalacao rede informatica

    2/9/2017 10:06:59 PM |

    636069 647089This internet website might be a walk-through its the data you wanted in regards to this and didn�t know who should. Glimpse here, and you�ll completely discover it. 683679

  • Silicon valley CEO

    2/10/2017 1:22:08 AM |

    113356 355672Thanks for the info provided! I was researching for this write-up for a long time, but I was not able to see a dependable source. 671544


    2/10/2017 2:12:08 PM |

    817301 565391I was suggested this internet internet site by my cousin. I�m not confident whether this post is written by him as nobody else know such detailed about my dilemma. You are incredible! Thanks! 46697

  • what is instant rewards about

    2/11/2017 2:22:24 AM |

    372394 534082Yeah bookmaking this wasn�t a  risky   determination   outstanding post! . 58123

  • indian matka

    2/11/2017 12:27:35 PM |

    473943 560807I�d need to speak to you here. Which isn�t something Which i do! I enjoy to reading a post that need to get folks to feel. Also, thank you for permitting me to comment! 635946

  • how to secure a front door

    2/11/2017 6:09:03 PM |

    983136 413449How do I know if a Wordpress theme supports a subscribe option? 246517

  • article source

    2/12/2017 11:08:16 AM |

    591274 516188Just   wanna  input on couple of common items, The internet site style  is perfect, the  articles  is quite    wonderful  : D. 429158

  • Cinema Sauce

    2/13/2017 3:12:37 PM |

    389286 611911You might find effective specific development of any L . a . Weight loss program and each and every you�re extremely important. To begin with level is an natural misplacing during the too much weight. lose belly fat 440632

  • Matratzenschonbezug 120x190

    2/15/2017 11:53:10 AM |

    33678 142279Glad to be  one of numerous   visitants on this  awful   web website  : D. 451657

  • clickfunnels affiliate bootcamp login

    2/15/2017 10:56:41 PM |

    254746 359964I  believe  this  internet internet site   contains quite  superb   composed   articles  posts . 163900

  • channel 5

    2/17/2017 11:56:53 PM |

    610237 573228Useful information. Fortunate me I discovered your web site by chance, and I�m surprised why this twist of fate didn�t happened earlier! I bookmarked it. 239459

  • buy quality backlinks

    2/20/2017 11:30:07 PM |

    394615 93970Oh my goodness! an exceptional post dude. A lot of thanks Even so We are experiencing dilemma with ur rss . Don�t know why Not able to sign up to it. Could there be anybody finding identical rss dilemma? Anyone who knows kindly respond. Thnkx 788774

  • buy quality backlinks

    2/24/2017 11:16:23 PM |

    524449 36819I very   happy  to find this website   on bing, just what I was looking  for : D  too  bookmarked . 342267

  • hampton ceiling fans

    2/25/2017 4:51:22 AM |

    363289 202267These kinds of Search marketing boxes normally realistic, healthy and balanced as a result receive just about every customer service necessary for some product. Link Building Services 710107

  • Electricians

    2/25/2017 8:17:52 AM |

    351474 299548Following study a couple of of the content inside your website now, we genuinely such as your technique of blogging. I bookmarked it to my bookmark web website list and will also be checking back soon. Pls take a look at my web-site likewise and make me aware what you believe. 438041


    2/28/2017 11:14:31 PM |

    367316 929743I recognize there�s lots of spam on this internet site.  Do you need to have support cleansing them up?  I could support among courses! 90852


    3/4/2017 2:33:34 AM |

    599985 942268Hey, are you having issues along with your hosting? I necessary to refresh the page about million times to get the page to load.  Just saying 18965


    3/6/2017 8:43:07 PM |

    685466 395641An fascinating dialogue is value comment. I feel that it�s best to write extra on this matter, it may not be a taboo topic however usually people are not enough to speak on such topics. To the next. Cheers 957193

  • porn videos

    3/6/2017 10:56:25 PM |

    544885 575298hey there, your site is fantastic. I do thank you for work 78393

  • satta matka

    6/24/2017 8:27:48 AM |

    Your blog website provided us with useful information to execute with. Each & every recommendations of your website are awesome. Thanks a lot for talking about.

  • indianmatka

    10/4/2017 5:01:30 AM |

    I like your post.
    Thank you for sharing such a useful information.

  • UP Board 10th Result 2018

    3/27/2018 9:29:54 AM |

    This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information. Keep it up. Keep blogging. Looking to reading your next post

  • Cash Advance San diego

    3/29/2018 5:15:12 AM |

    Faxless payday advances are frequently given without playing out a credit check. Shockingly better, not at all like a vast bank's endorsement procedure, this kind of advances are offered to individuals regardless of the possibility that they don't possess security.

  • quick cash advance corona

    4/8/2018 4:34:06 PM |

    Moreover, most moneylenders will expect you to think of them a check for the measure of the advance in addition to charges, which they will hold until the point that your next payday at which time they will store the check and get their "pay back."

Pingbacks and trackbacks (1)+