I have a custom report that needs to be upgraded from AX2012 to D365 FnO. The report has Parameters for selection to use in the report showing indicators for all Dimensions. Instead of dimension selection it is a check box to indicate if the report should show the selected dimension. I have replaced the DialogFieldDimensionDefaultingController code with the prescribed code using DimensionEntryControl. I replaced the code
dlgDimController = this.dialog().addDimensionDefaultingController(); dlgDimController.accShowValues(false); dlgDimController.initWithChecks(true, 0, "Dimensions", " "); dlgDimController.displayLength(10);
with the following code in the Postrun of the UIbuilder class.
public void postRun() { super(); dimensionEntryValues = dimensionEntryField.control(); dimensionEntryValues.parmNonActiveValueErrorTolerance(ErrorTolerance::Error); dimensionEntryValues.parmDisplayValues(true); dimensionEntryValues.reactivate(); dimensionEntryValues.loadAttributeValueSet(dimensionEntryValues.saveAttributeValueSet()); }.
This is the result of the above code.
Does anyone have some advice how to do this. Or if you can point me in the direction of where I can find something similar.
Hi sir,
Do you mean to add checkboxes in a ssrs report? The following blog mentions a way with SSRS indicators.
www.linkedin.com/.../d365-ssrs-checkboxes-using-wingdings-michael-schiermeyer
André Arnaud de Cal...
291,996
Super User 2025 Season 1
Martin Dráb
230,853
Most Valuable Professional
nmaenpaa
101,156