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 :
Customer experience | Sales, Customer Insights,...
Suggested answer

Remove comma from whole number field using Java Script, this whole number is incremented and update to primary key text field on other entity as record id

(0) ShareShare
ReportReport
Posted on by 342

I have whole number field, which is created on Numbercreation entity which is  incremented and updated for each record created on Service entity with the help of workflow proces, this whole number is updated on  primary key text field on Service entity as record number. The problem here with whole number field is it is updated with comma on Service enitty e.g. " 600,000,001"  in this format. How can I remove this comma on the whole number field for whole instance not for personal settings.

I have the same question (0)
  • Suggested answer
    Fubar Profile Picture
    2,756 on at
    RE: Remove comma from whole number field using Java Script, this whole number is incremented and update to primary key text field on other entity as record id

    For users that get added after the XrmToolbox fix suggested above, set the default format Settings->Administration->System Administration  then the Formats tab.

    However, making these settings is global, every form view etc, for all numbers and are you sure you want that (users usually complain that it is difficult to see what large numbers are particularly if there are lots of zeros and no separator)? I would just create a text field and copy the number into that field (stripping out non number characters) via plugin or workflow with a custom workflow activity.

  • Suggested answer
    meelamri Profile Picture
    13,216 User Group Leader on at
    RE: Remove comma from whole number field using Java Script, this whole number is incremented and update to primary key text field on other entity as record id

    Hello, 

    You can change the individual personal settings for all the user with a tool named "User Settings Utility" available on XrmToolBox. 

    https://www.xrmtoolbox.com/plugins/MsCrmTools.UserSettingsUtility/

    pastedimage1614693681579v1.png

    Next, you can change the security of your users to prevent them from changing their personal settings, Make sure that you give Read privilege as shown below: 

    pastedimage1614693823508v2.png

    Result: 

    pastedimage1614693983305v3.png

  • Sandy Hello Profile Picture
    342 on at
    RE: Remove comma from whole number field using Java Script, this whole number is incremented and update to primary key text field on other entity as record id

    Thanks Vashti for your response, the above changes are valid for individual personal settings, i want the changes for whole instance

  • vashti hatami Profile Picture
    40 on at
    RE: Remove comma from whole number field using Java Script, this whole number is incremented and update to primary key text field on other entity as record id

    hi

    go to administration -.> system setting ->

    after that do  according to pictures.

    3007.jpg

    6622.jpg

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…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Hamza H Profile Picture

Hamza H 141

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 132

#3
DAnny3211 Profile Picture

DAnny3211 130

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans