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)

duplicate detection rule "doesn't see" changing on no. of characters for a field

(1) ShareShare
ReportReport
Posted on by 124

Hi all!

I have a question. I need to set up a duplicate detection rule for a custom entity. One field is an option set - matchcode 255 length, second field is text with 200 characters, which is too much for system (max length - 450). So I've changed no. of characteres in the text field to 180 and went back to duplicate detection rule. But there is no change - matchcode for text field is still 200 characters.

I've tried cleaning cache, restarting login, different browsers and nothing, detection rule "sees" this text field as 200 characters.

Could someone tell me why and how to change it?

*This post is locked for comments

I have the same question (0)
  • Dynamics365 Rocker Profile Picture
    7,755 on at

    Have you tried to delete rule and recreate new one?

  • Anna Zasadzka Profile Picture
    124 on at

    Yes, didn't work.

  • Suggested answer
    Andreas Cieslik Profile Picture
    9,267 on at

    You could delete rule and recreate it as proposed by Dynamics 365 Rocker but you could also try to Clear out the match fields and try to re-define them.

  • Dynamics365 Rocker Profile Picture
    7,755 on at

    Please share screen shot if possible.

  • Anna Zasadzka Profile Picture
    124 on at

    1. original max length for a field:

    duplication-rule-_2D00_-matchcode-after-changing-field-length.png

    2. I've created on duplication rule for a field before changing max length:

    duplication-rule-_2D00_-matchcode-before-changing-field-length.png

    3. then I've changed max length for the field to 150 and published changes:

    field-details-_2D00_-length-changed-to-150.png

    4. then I've created new duplication rule - matchcode still the same:

    duplication-rule-_2D00_-matchcode-after-changing-field-length.png

    I also created new text field and was changing max length and matchcode was changing along...

  • Suggested answer
    Community Member Profile Picture
    on at

    Please publish all customizations  from the default solution and create a new Dupe rule.

  • Suggested answer
    Dynamics365 Rocker Profile Picture
    7,755 on at

    Publish all customization and also publish duplicate detection rule.

    Delete old duplicate detection rule.

  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at

    Please do following step-

    - Unpublish duplicate detection rule.

    - Publish All customization.

    - Press ctrl+F5 browser to  refresh, you can also try in different browser.

    - Create new duplicate detection rule or publish existing rule.

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi,

    The other option would be to change the rule i.e. instead of saying "Exact match", use "Same First Characters" and then enter no. of characters.

    Hope this helps

  • Anna Zasadzka Profile Picture
    124 on at

    I've tried all suggested actions and nothing works, except this with first letters, so I think I would have to use first characters rule.

    The strange thing is that for some txt fields (with the same setup) matchcode refreshes without a problem after length changing on a field, and for some it doesn't work. Do any of you know how matchcode works for different types of fields?

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