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, ...
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 ?

  • Martin Dráb Profile Picture
    241,434 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
    241,434 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

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

#1
Martin Dráb Profile Picture

Martin Dráb 543 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 387 Super User 2026 Season 2

#3
CU-1234529-002 Profile Picture

CU-1234529-002 185

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans