Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

CRM field length

Posted on by

Hi,

Is there any way in CRM interface  to get the list of records that are exceeded the size of X characters for a specific field.

Thanks,

*This post is locked for comments

  • Suggested answer
    Faizal Profile Picture
    Faizal 545 on at
    RE: CRM field length

    If you are using on-premise, you may try in SQL data update.

    (Not supported solution)

  • Verified answer
    Faizal Profile Picture
    Faizal 545 on at
    RE: CRM field length

    Hi Sam,

    You can try some work around to find that.

    Option One: If you want to manually update field content from 20 to 10.

    1. Add new checkbox as "FieldLength".

    2. Build a simple custom program to check the field length in the related Field and check the "FieldLength" box if more than 10.

    3. Use adv find to query for all the records with "FieldLength" been checked.

    4. Export the data and manually update the record and import back into CRM.

    Option two: If you want to automatically truncate the field content from 20 to 10.

    1. Build a simple custom program to check the field length, if more the 10, just truncate to 10.

  • RE: CRM field length

    Yeah, it is a text field . Account name, Contact, Phone number fields

  • PS Profile Picture
    PS 23,577 on at
    RE: CRM field length

    Well that's logical....i am assuming its a text field probably Phone field?

  • RE: CRM field length

    Hi Prashanth,

    The initial length of the X field is 20 characters and that field contains some records  that is having 20 characters. Now that I want to reduce the field legth of that to 10 characters. However, when I change that field length to 10 characters, the old data which  is 20 chars still remains in the old fields and after the change it allows only 10 char in  X for the new records.

    So, Now I want all the list of records for which that is having 20 char.

    Thanks

  • Suggested answer
    PS Profile Picture
    PS 23,577 on at
    RE: CRM field length

    First things first, you will not be able to save any such field having more character than specified in the field length. Why do you need this search for?

    There's no way on the interface to do it.

  • ashlega Profile Picture
    ashlega 34,475 on at
    RE: CRM field length

    Hi,

     there is no such query condition in the Advanced Find/FetchXml, and wildcard search won't help either.. you might try exporting to Excel and finding all such records there instead

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans