Tuesday, May 20, 2014

How to set the value of Boolean attribute in MS CRM 2013

Xrm.Page.getAttribute("alb_trigger").setValue(true);

OR


Xrm.Page.getAttribute("alb_trigger").setValue(1);

Why window.showModalDialog does not refresh

Problem
I have some pages that is opened by window.showModalDialog().  But why is it not refreshed?
  • For example, when there is a compile error in the page, it will show it when opening it.  This is correct.  But after I correct the error, it will still show the same error.  I have to terminate ASP.NET worker process by issuing "iisreset" command.  Then it will show the corrected page.
  • Or when some data is changed.  When I open that page, it will still show the old data.  Like it is using the browser's local cache.  After I clear the brower's cache, then it will show the updated data.
Solution

In IE7, go to Tools  |  Internet Options.  Click the Browsing History "Settings" button.  Check for newer versions of stored pages: and select "Everytime I visit the page"

Split the String values with a special character in MS Flow to convert this into Array

 Many times we have a requirement to prepare the Mailing address for some of the documents, suppose there are Address Line1, Address Line2, ...