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, ...
Suggested Answer

Label File Broken - D365 FinOps

(0) ShareShare
ReportReport
Posted on by 60

Hello,

I am building some test code on a 365 environment and have found an issue with label files which I am struggling to resolve.

Essentially the issue is that at runtime the labels are displaying as '@LabelFileName' rather than as the label text. The designer window in VS however is able to find the labels and display them fine.

I have tried a number of things to try and resolve this including

  • Delete and recreate the label files (building the solution and model after the delete and the recreate)
  • Deleting the .dll for the labels from the application packages and re-building models to regenerate them.
  • Fully delete everything, label files in the solution, .dlls from the application and then rebuild the model solution before re-adding them.

Nothing has worked, currently the only thing I can do is create a brand new file, with a different name and re-point my labels to it, this will then display the labels correctly.

Has any one else had this issue, or a similar issue or are there any known ways to resolve this, obviously this is ok in a test project but if this issue had occurred on a real project we would now be faced with having to build new label files and updating all our labels to use them.

I have the same question (0)
  • WillWU Profile Picture
    22,361 on at

    Hi Kunal,

    There are many reasons for this issue.

    There is no exact solution, and you could try :

    1.Do a full DB sync.

    2.create a new Job and run this static method named DirDataPopulation::populateDirData();

    You could also have a look at the old thread:

    community.dynamics.com/.../label-text-not-showing-on-user-interface

  • nmaenpaa Profile Picture
    101,160 Moderator on at

    Are all your languages (of the same lable code) in the same model/package? If not, it can behave in a way than what you are experiencing.

  • Kunal Mahajan Profile Picture
    60 on at
    [quote]

    Are all your languages (of the same lable code) in the same model/package? If not, it can behave in a way than what you are experiencing.

    [/quote]

    Hello,

    Yes, all my languages are in the same model/package.

    Thank you for the suggestion.

  • nmaenpaa Profile Picture
    101,160 Moderator on at

    What is the language of your D365 user? Do you have label translation in that language?

  • Kunal Mahajan Profile Picture
    60 on at
    [quote]

    What is the language of your D365 user? Do you have label translation in that language?

    [/quote]

    Hello,

    The language of D365 user is English. Yes, I've the translation to Spanish language but the labels to this language in the translation file are not filled yet.

  • Kunal Mahajan Profile Picture
    60 on at

    Hi Will,

    I tried the suggestions you posted, but the results didn't came as expected.

    Thank you.

  • Sergei Minozhenko Profile Picture
    23,093 on at

    Hi Kunal,

    Could you, please, check if you used correct syntax for labels on objects and in code @LabelFile:LabelId?

  • Kunal Mahajan Profile Picture
    60 on at
    [quote user="Sergei Minozhenko"]

    Hi Kunal,

    Could you, please, check if you used correct syntax for labels on objects and in code @LabelFile:LabelId?

    [/quote]

    Hello,

    Yes, the labels syntax were all correct throughout my objects.

    Thank you for all the efforts. The issue wasn't resolved despite trying all the suggested solutions, so had to create a new label file with a different name which finally made the labels visible.

  • Suggested answer
    Shashanks Profile Picture
    230 on at

    Hi Kunal,

    With your responses i could only think of one possible issue where the file id is pointing to different content label content file. could you check the label file XML and verify that it is pointing to correct content file.

    label.PNG

    Regards,

    Shashank Shekhar


    This post is my own opinion and does not reflect the opinion or view of my company. If this answer is helpful accept it as a solution.

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