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

Bulk update Date Formats in User Personal Settings

(0) ShareShare
ReportReport
Posted on by

Hi,

Is there a way to bulk update  Date Formats for multiple users? Our global setting is set to the correct format but the format the user level setting is not correct. I believe that the "User" level  setting inherits from the global setting when the users are being added. In our environment the users were added first and the global date format was changed retrospectively.

I have tried looking at the XrmToolBox, but its User Settings Utility does not give an option to set the "formats".  Please let me know if there is an out of the box way to change date format for multiple users.

Thanks,

Nishant

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Gopalan Bhuvanesh Profile Picture
    11,401 on at

    Hi

    If you want to do it through code,

    Get all the records of UserSettings entity

    and update the attribute values, accordingly

               userSettingsEntity.Attributes["homepagearea"] = "Sales"

               userSettingsEntity.Attributes["currencysymbol"] = "£"

               userSettingsEntity.Attributes["localeid"] = 2057

               userSettingsEntity.Attributes["homepagesubarea"] = "nav_dashboards"

               userSettingsEntity.Attributes["dateformatstring"] = "dd/MM/yyyy"

               userSettingsEntity.Attributes["timeformatstring"] = "HH:mm"

               userSettingsEntity.Attributes["timezonecode"] = 85

    stackoverflow.com/.../settings-crm-systemusers-personal-options-in-code

  • Community Member Profile Picture
    on at

    Thanks Gopalan!! I will give this a try and let you know.

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

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans