Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add replacements for legacy control add-ins #783

Merged
merged 4 commits into from
Apr 15, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
#if not CLEAN24
// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// ------------------------------------------------------------------------------------------------

#pragma warning disable AA0247
controladdin "Microsoft.Dynamics.Nav.Client.BusinessChart"
{
ObsoleteState = Pending;
ObsoleteTag = '24.0';

Check failure on line 11 in src/System Application/App/ControlAddIns/src/MicrosoftDynamicsNavClientBusinessChart.ControlAddin.al

View workflow job for this annotation

GitHub Actions / Build System Application (Translated) / System Application (Translated)

AS0072 The Obsolete Tag 24.0 in ControlAddIn Microsoft.Dynamics.Nav.Client.BusinessChart is not allowed. Expected tag for this branch: 25.0.

Check failure on line 11 in src/System Application/App/ControlAddIns/src/MicrosoftDynamicsNavClientBusinessChart.ControlAddin.al

View workflow job for this annotation

GitHub Actions / Build System Application (Default) / System Application (Default)

AS0072 The Obsolete Tag 24.0 in ControlAddIn Microsoft.Dynamics.Nav.Client.BusinessChart is not allowed. Expected tag for this branch: 25.0.
ObsoleteReason = 'Replaced with BusinessChart addin.';
RequestedHeight = 320;
MinimumHeight = 180;
RequestedWidth = 300;
MinimumWidth = 200;
VerticalStretch = true;
VerticalShrink = true;
HorizontalStretch = true;
HorizontalShrink = true;

Scripts = 'Resources\BusinessChart\js\BusinessChartAddIn.js',
'https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.5.1.min.js',
'https://code.highcharts.com/9.1.1/highcharts.js',
'https://code.highcharts.com/9.1.1/highcharts-more.js',
'https://code.highcharts.com/9.1.1/modules/accessibility.js',
'https://code.highcharts.com/9.1.1/modules/funnel.js';
StartupScript = 'Resources\BusinessChart\js\Startup.js';
RecreateScript = 'Resources\BusinessChart\js\Recreate.js';
RefreshScript = 'Resources\BusinessChart\js\Refresh.js';
StyleSheets = 'Resources\BusinessChart\stylesheets\BusinessChartAddIn.css';

/// <summary>
/// Event raised when a data point has been clicked.
/// </summary>
event DataPointClicked(Point: JsonObject);

/// <summary>
/// Event raised when a data point has been double clicked.
/// </summary>
event DataPointDoubleClicked(Point: JsonObject);

/// <summary>
/// Event will be fired when the control add-in is ready for communication.
/// </summary>
event AddInReady();

/// <summary>
/// Event will be fired when the control add-in should be refreshed.
/// </summary>
event Refresh();

/// <summary>
/// Initialize and updates the chart. This method must be called before any controls will work.
/// </summary>
/// <param name="ChartData">The full set of data needed for initializing the chart.</param>
procedure Update(ChartData: JsonObject);
}
#pragma warning restore AA0247
#endif
Loading