Skip to main content

Notifications

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

  • Verified answer
    meenoo Profile Picture
    meenoo 7,316 on at
    RE: Unique ids

    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.

  • Mithilesh Kumar Profile Picture
    Mithilesh Kumar 10,045 on at
    RE: Unique ids

    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

  • Suggested answer
    Mahadeo Matre Profile Picture
    Mahadeo Matre 17,021 on at
    RE: Unique ids

    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.. 

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans