Skip to main content
Post a question

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Get Base Language MS CRM

Posted on 18 Sep 2021 11:28:20 by 25

Hello,

I'm trying to get the base language(default organization language), but i didn't find this information, i tryed to check the organization service but it doesn't contain any information about the base language.

do you have any idea about how to get the base language ?

Thank's in advance.

  • Suggested answer
    AmraouiH Profile Picture
    AmraouiH 25 on 18 Sep 2021 at 22:15:09
    RE: Get Base Language MS CRM

    i found that there's an entity "organization" contain all information about your instance, and for the language i used this request :

    var languageCode = Service.RetrieveMultiple(new QueryExpression("organization")

                       {

                           ColumnSet = new ColumnSet("languagecode"),

                       }).Entities.First().GetAttributeValue<int>("languagecode");

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans