web
You’re offline. This is a read only version of the page.
close
Skip to main content
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)
  • Community Member Profile Picture
    on at
    RE: Bulk update Date Formats in User Personal Settings

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

  • Verified answer
    Gopalan Bhuvanesh Profile Picture
    11,401 on at
    RE: Bulk update Date Formats in User Personal Settings

    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

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Aric Levin - MVP Profile Picture

Aric Levin - MVP 2 Moderator

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#3
MA-04060624-0 Profile Picture

MA-04060624-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans