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 :
Microsoft Dynamics AX (Archived)

Changing labels in report parameter

(0) ShareShare
ReportReport
Posted on by 480

How can I change a label in a contract class? In class InventDimViewContract, method parmViewConfigId I have changed the label (@SYS14011) to a customized label (@VER200). I have made a CIL kompilation but I still get the old label in the report dialog.

[

DataMemberAttribute('ViewConfigId'),

//SysOperationLabelAttribute(literalStr("@SYS14011")),

SysOperationLabelAttribute(literalStr("@VER200")),

SysOperationHelpTextAttribute(literalStr("@SYS102592")),

SysOperationDisplayOrderAttribute('1'),

SysOperationGroupMemberAttribute('ViewGroup')

]

*This post is locked for comments

I have the same question (0)
  • Dennis Huesmann Profile Picture
    on at

    Try opening the report designer in Visual Studio, right click your main data set and click refresh. Save the report and redeploy it.

    I can't guarantee this will work, but basically AX parses the report's RDL before showing the dialog and uses parameter properties from the RDL, so refreshing the report itself should load the new label into the RDL.

  • Community Member Profile Picture
    on at

    Try clearing your caches and restarting the reporting server.  The old label is most likely cached.

  • Suggested answer
    Community Member Profile Picture
    on at

    Additionally, if you are using static reports, you will need to redeploy the reports to get the new labels to show up.

  • aost2 Profile Picture
    480 on at

    Thank you all for your replies. I refreshed the data set in Visual Studio and deployed the report and now the new label is viewed in the dialog.

  • Community Member Profile Picture
    on at

    After creating the new label file on the label editor via tools, then go to Tools > Caches then refresh  Report  Server, if the issue still persists then refresh the Data, Dictionary and Elements. I did same and it worked for me.

  • Majid Hafeez Profile Picture
    40 on at

    Hello,

    I am replacing a "Label" on parameter window in contract class for report but it is not replacing with previous. Previous parameter is still there. To make my confusion clear, I test the new label in job editor, there it print fine. Even that I use CIL many time but old label still there. Some one can help me to resolve the issue?   

  • Community Member Profile Picture
    on at

    After changing the label on AX, open it on visual studio, ensure the parameters are correct and not duplicated, rebuild and deploy. It should work.

  • Majid Hafeez Profile Picture
    40 on at

    After satisfaction, I have no duplicate label and by printing the label in the job, I add it in the report parameter window but it still have same issue. Even that I use CIL and Refresh report server as well

  • Suggested answer
    syed baber Profile Picture
    11,633 on at

    Hi Majid,

    Have you refreshed cache from Tools-> Cache option ? If this doesn't resolve the issue then try resetting the usage data.

    Please verify and let me know if you have further queries.

    Thanks,

    Baber.

  • Majid Hafeez Profile Picture
    40 on at

    Yes Baber!

    I have refreshed cache from Tools but issue is still there. Would you like to explain in short, which type of and how i have to perform "Resetting" usage data?

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans