web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to get country/region code prefix from user or from system settings?

(0) ShareShare
ReportReport
Posted on by 675
Set the default country/region code
 Enable country/region code prefixing
Country/Region Code Prefix

Hello,

I need to get the default Country/Region code prefix in javascript. But I am not able to get this field anywhere. Could someone let me know how can I achieve this?

Thank you,

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Deepesh161 Profile Picture
    6,317 on at
  • Verified answer
    VPrashant Profile Picture
    675 on at

    Hello Deepesh,

    Thank you for your answer. Infact I was actually looking for fetch query like this:

    <fetch distinct='false' mapping='logical' output-format='xml-platform' version='1.0'><entity name='usersettings'><attribute name='defaultcountrycode'/><filter type='and'><condition attribute='systemuserid' operator='eq-userid'/></filter></entity></fetch>

    But I got idea from your answer. Thank you very much.

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

News and Announcements

Season of Giving Solutions is Here!

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Shidin Haridas Profile Picture

Shidin Haridas 2

#2
Abdullah13 Profile Picture

Abdullah13 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans