Skip to main content

Notifications

Announcements

No record found.

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 340

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.

  • Suggested answer
    Fubar Profile Picture
    Fubar 2,752 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
    meelamri 13,212 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
    Sandy Hello 340 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
    vashti hatami 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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,575 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans