web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Custom report upgrade from AX2012 DialogFieldDimensionDefaultingController now obsolete

(0) ShareShare
ReportReport
Posted on by 255

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. AssetRegister.png 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.

D365AssetRegister.png

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.

I have the same question (0)
  • Verified answer
    huijij Profile Picture
    19,811 on at

    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

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 517 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 440

#3
Adis Profile Picture

Adis 266 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans