AR15 Breaking Change

Posted by: jacopo.colombo on 21 March 2021, 10:40 pm EST

  • Posted 21 March 2021, 10:40 pm EST

    Hi all,

    I’m facing a breaking change while trying to upgrade from AR12 to AR15: I checked the breaking changes documentation, but I could not find anything related to this, so I need support.

    ChartControl chart = GetChartControl(this);

    if (chart != null)

    chart.ExecuteAction(UICommand.Clear);

    GetChartControl is a method to retrieve the chart in the report. My issue is that ChartControl.ExecuteAction is not available anymore: how should I change my code?

    Thank you

  • Posted 22 March 2021, 3:58 pm EST

    Hello,

    “ExecuteAction” is internal API of Chart which is not publicly exposed in the AR12 also. It is not recommended to use the internal API of the control as it can be removed without any notice. However, request to please share your requirement so that I will help you to achieve the same.

    Thanks,

    Mohit

  • Posted 22 March 2021, 6:53 pm EST

    Hello,

    I want to open the Chart Wizard (the one that opens when the chart is dragged on the page the first time) and the Chart Customize (the one invoked by the Customize action) dialogs from my own context menu: in the previous (AR12) version I used a few ExecuteAction calls, now I was able to replace most of them (Load, Save, Reset) with my code, but I did not find a way to open the above dialogs.

    Thank you

  • Posted 23 March 2021, 6:16 pm EST

    Hello,

    I have escalated this to the development team (AR-26252)and will inform you once I get any information from them,

    Thanks,

    Mohit

  • Posted 23 March 2021, 8:47 pm EST

    Hello ,

    could you please confirm that we are talking about the custom context menu for the report opened in End User Designer?

    i have doubts, since the sample of code from you, would affect the undo/redo manager of the designer control.

    Thanks,

    Sergey Romanov.

  • Posted 23 March 2021, 9:03 pm EST

    Hello,

    Yes, I am referring to a context menu opened in the End User Designer: I have no need to support UNDO/REDO commands, but I need to be able to access the customization / wizard dialogs of the selected chart.

  • Posted 23 March 2021, 9:29 pm EST

    Thank you for confirmation. I will forward it to the developers.

  • Posted 25 March 2021, 10:23 pm EST

    Hello ,

    this functionality will be re-established in the upcoming service pack(in the next 3-4 weeks)

    API will be slightly changed. it will work through ExecuteAction(Action, parameter) call of the designer control.

    Thanks,

    Sergey Romanov.

  • Posted 19 April 2021, 9:34 pm EST

    Hello,

    is there any update on this issue?

    Thank you

  • Posted 21 April 2021, 2:17 pm EST

    Hello,

    It is fixed in the our upcoming release i.e AR15.1. You can try after updating your NuGet package to AR 15.1.0 and use the following code to open the dialog:

    designer.ExecuteAction(DesignerAction.OpenChartCustomize, chart);

    Thanks,

    Mohit

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels