hi,
I have added a Pie chart and on click on the refresh button i want to call the custom javascript. how to achieve this
*This post is locked for comments
hi,
I have added a Pie chart and on click on the refresh button i want to call the custom javascript. how to achieve this
*This post is locked for comments
Hi ,
This is not a supported in dynamics CRM.
When chart is rendered it is having iframe and on that iframe scrolling is set to yes. Due to this scroll bars are coming. Using JavaScript I have set these scroll bars to no. But my issue is when chart is refreshed my js settings are gone. So I thought what to call my js on refresh button. Any thoughts if there is any other thing I can do to accomplish?
There's no supported way to do this. However, since you're working on CRM 4.0 anyway, it's completely unsupported. So in your browser, hit F12 to open the DOM Inspector and find out what this button is called. then jump into your CRM server itself and search the ASPX pages to find that function call. Insert your JS, Restart IIS, and you should be good to go.
Note, this is highly likely to break everything, so back up your CRM before making changes like this. Also, MS specifically says not to do this.
Overall, it's a terrible idea, and you shouldn't do it. But you can.
André Arnaud de Cal...
292,494
Super User 2025 Season 1
Martin Dráb
231,307
Most Valuable Professional
nmaenpaa
101,156