Refresh HTML WebResource in Ms CRM JS

Refresh HTML WebResource in Ms CRM JS  :

Normally, When form loads, it will stores the data in cache and the data will be displayed in HTML Page. Based on Change Event or ON SAVE Event, it cannot refreshes the html.

Below is the code to refresh the html page Forcefully after save or on change event.

//Force Refresh WebResource
function refreshWebResArea()
 var webResourceControl = Xrm.Page.getControl("WebResource_balu");
 var src = webResourceControl.getSrc();

That’s It. Enjoy 🙂


Custom HTML Grid

Custom HTML Grid:

Recently we had a requirement from client to show the Active Policies for a customer on Incident Entity. OutofBox Crm grids are used to show only the child records, so inbuilt crm grids are not applicable for this scenario.

One Customer can have Multiple policies and each policy has many no of cases.

I have done the requirement with custom Html grids as follows:


While pasting the code, some is missing, use the bellow screenshots of cod

Screenshot (13)




That’s it Enjoy 🙂