Quantcast
Viewing all articles
Browse latest Browse all 79901

Accessing parent CRM page controls from custom HTML resource

Hi all,

I have a custom html page that pops up on a click of a command bad button. This html page creates some records in CRM via javascript code and I want to refresh a sub-grid on the CRM form from which the html page was initiated. I tried using parent.Xrm.Page.getControl("my_subgrid").refresh() but it's not working as it's not fetching the sub-grid object. I'm getting an error:

Cannot read property 'refresh' of null

Has anyone ever succeeded doing something like this before?

Thanks,

-Tony.


Viewing all articles
Browse latest Browse all 79901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>