Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to create auto-number plugin dynamically?

(0) ShareShare
ReportReport
Posted on by 160

Hi,

i plan to created one custom entity and create some fields  like-prefix suffix,date. After created this i just write plugin code for these 3 fields data will auto populate at another entity "auto-number" field , which i created earlier.

*This post is locked for comments

  • Suggested answer
    Nithya Gopinath Profile Picture
    Nithya Gopinath 17,076 on at
    RE: How to create auto-number plugin dynamically?

    Hi,

    Refer the link below.

    community.dynamics.com/.../ms-dynamics-crm-generate-unique-auto-number

  • ggghj Profile Picture
    ggghj 160 on at
    RE: How to create auto-number plugin dynamically?

    please share with me code idea. this shared one is managed plugin.

  • RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: How to create auto-number plugin dynamically?

    Did you try any of the above links?

    https://crm2015autonumber.codeplex.com/ 



  • ggghj Profile Picture
    ggghj 160 on at
    RE: How to create auto-number plugin dynamically?

    Any suggestion??

  • ggghj Profile Picture
    ggghj 160 on at
    RE: How to create auto-number plugin dynamically?

    But my requirement is to take dynamically

    Like entity name[auto-number creation](field value-prefix,subfix,current date,number)

    2-Create another entity "xyz" and field name "xyzid", this xyzid field value comes from "auto-number creation" entity fields.

    output

    -------

    xyzid is "xyz01082017"

  • ashlega Profile Picture
    ashlega 34,477 on at
    RE: How to create auto-number plugin dynamically?

    Hi,

    if you wanted to implement autonumbering in your own plugin, you'll have to make sure you don't start generating duplicate numbers(especially during data imports).. this article explains how/what to do:

    www.greenbeacon.com/.../how-to-implement-robust-auto-numbering-using-transactions-in-microsoft-dynamics-crm

     I think it's possible to do it using a workflow as well.. But that would require some testing.

  • RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: How to create auto-number plugin dynamically?

    There are already several Auto Number solutions available free. If you want to write your own code, you could download the code and then update it a per your needs.

    crm2015autonumber.codeplex.com

    dynamicscrmcoe.com/auto-number-generation-dynamics-crm-2016

    github.com/.../Celedon-Autonumber-RTM

    www.crmconsultants.co.uk/free-autonumber-solution-for-microsoft-dynamics-crm

  • AHMET TANRIKULU Profile Picture
    AHMET TANRIKULU 225 on at
    RE: How to create auto-number plugin dynamically?

    this link will help you

    www.linkedin.com/.../custom-auto-numbering-6-quick-steps-ms-dynamics-crm-eran-fuks

  • ggghj Profile Picture
    ggghj 160 on at
    RE: How to create auto-number plugin dynamically?

    ok, can you share me some example for this.

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…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 231,375 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans