web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Unique ids

(0) ShareShare
ReportReport
Posted on by 7,316

I am working on CRM 2013 OnPrem. I have to create unique id for each contact creation. But I already have existing contacts which also needs unique ids to be assigned. How to create unique ids to existing contacts and increment it to all the upcoming new contacts?
Looking for some suggestions and directions on how to proceed. Thanks.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mahadeo Matre Profile Picture
    17,021 on at

    To update existing contact with Unique Id.. you can create either workflow activity or console application.. which will update existing contacts.

    and then you can create plugin / synchronous workflow to generate incremental unique Id.

    Here are some tools/ code / sample to generate unique number for CRM

    http://survivingcrm.com/2013/12/auto-numbering-workflows-real-time-vs-asynchronous/

    http://www.zero2ten.com/blog/need-a-unique-id-for-a-microsoft-dynamics-crm-2011-entity/

    http://www.powerobjects.com/blog/2012/11/06/crm-2011-auto-numbering-with-powerautonumber-and-look-up-fields/

    Hope this will help.. 

  • Mithilesh Kumar Profile Picture
    10,047 on at

    Hi Meenoo,

    Use Real Time workflow as described below for Auto Number generation.

    arunpotti.wordpress.com/.../auto-number-generation-using-real-time-workflow-in-ms-crm-2013

    However, make it as On Demand as well for existing records. Run it for the existing contacts so that they start from number one.

    Hope that helps

    Thanks

  • Verified answer
    meenoo Profile Picture
    7,316 on at

    I don't know why but running On Demand workflow for existing records didn't work for me. But found this link helpful and done it through exporting to excel and reimporting.

    community.dynamics.com/.../327184.aspx

    Thanks Chitra.

    Thanks guys for your suggestions.

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

News and Announcements

Season of Giving Solutions is Here!

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
Shidin Haridas Profile Picture

Shidin Haridas 2

#2
Abdullah13 Profile Picture

Abdullah13 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans