Announcements
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
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.
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?
Hi ,
This is not a supported in dynamics CRM.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
ScottDurow 2
GJones 1