locked
MS CRM 2013 - Manipulating Charts via Javascript on Dashboard RRS feed

  • Question

  • Hi all,

    I know this is not supported but it would be great of this could be done.

    I want to dynamically change he view for a chart depending on the user who logs in. Since we are limited to one chart per entity view, this means I would have to create a new chart/dashboard for each different user?

    I want to get away from creating many dashboards/charts for different users if I can.

    I was able to grab some code that determine this through the browser debugging tools.

    The piece of code that determines the view for the chart on the dashboard is located within the <vizxml> tags:

    viewId contains the GUID of the system view that we want to change and viewTitle contains the name of the view.

    How do I inject some JScipt code to change this?

    Thanks


    Friday, August 1, 2014 6:14 AM

All replies

  • I think you might struggle with this. To the best of my knowledge, the XML in the chart data is purely for display and not for decision making purposes.

    Friday, August 1, 2014 11:38 AM