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

Loop over all labels in label file

(0) ShareShare
ReportReport
Posted on by

I try to get   all label in certain label file, I try to use the function Microsoft.Dynamics.Ax.Xpp.LabelHelper::GetAllLabels , it returns only 500 labels even it has more than this number 

I try also the function Microsoft.Dynamics.Ax.Xpp.MetadataSupport::GetLabelFileContentStream, I face an error during the calling of the function , how can I get all label ids in label file ,also is there  a function to get the list of label files in the system ?

I have the same question (0)
  • Martin Dráb Profile Picture
    237,880 Most Valuable Professional on at

    Unfortunately, it's very difficult to address your problem if all you tell us about it is "I face an error". Please shows us your code and tell us what error you're getting and where.

    I believe this question is about F&O, therefore I'm going to me move it from Dynamics AX Forum to Dynamics 365 Finance Forum.

  • maram fraij Profile Picture
    on at

    My main question is how to loop over all labels in certain label file ! I am not asking about the error I face I only included my trials

  • Martin Dráb Profile Picture
    237,880 Most Valuable Professional on at

    Please tell us what you're trying to achieve from a business point of view. We can't choose the best technical solution for a scenario without knowing the scenario itself.

  • Suggested answer
    Bharani Preetham Peraka Profile Picture
    3,634 Moderator on at

    I am not aware if there is any standard function to retrieve all label IDs from a label file.

    You can simply open your label file in notepad and find all your label IDs there.

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 611 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans