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

Notifications

Announcements

No record found.

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 223

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 660 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 549 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 307 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans
Liquid error: parsing "/globalsearch/?q=sciarpa++firenza+italia+scarfs" - Nested quantifier +.