Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Creating CRM entity via Console application

Posted on by Microsoft Employee

Hi all,

I wrote a basic console application to create entities in CRM. The application runs perfectly fine and i am able to get the guid for the entity created in CRM. But if I open our CRM page it is not showing the records corresponds to the entity. Since the application run perfectly fine, I am not able to figure our what could be an issue. Please help me on this.

Thanks,

Dharani

*This post is locked for comments

  • Suggested answer
    ashlega Profile Picture
    ashlega 34,475 on at
    RE: Creating CRM entity via Console application

    Hi Dharani,

     you might be creating the records correctly, but they might still be hidden because of the filters.

     Go to CRM using an admin account, open advanced find, select your entity, then remove all the filters, and see if your records show up in the results. If they do show up, then there are filters preventing you from seeing those records in other views.

  • Justinjose Profile Picture
    Justinjose 2,707 on at
    RE: Creating CRM entity via Console application

    Hi DharaniRaaj,

    if you don't mind can you please share the code.

    Thanks

    Justin Jose

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Creating CRM entity via Console application

    I think I am adding records to my entity. I am using service.create to add records into the CRM entity.

  • TomSmelser Profile Picture
    TomSmelser 1,570 on at
    RE: Creating CRM entity via Console application

    Have you tried publishing in CRM to see if that helps?

  • Suggested answer
    Hemant Kumar Sahu Profile Picture
    Hemant Kumar Sahu 1,825 on at
    RE: Creating CRM entity via Console application

    Hi DharaniRaaj,

    Are you creating Entities or records in entity ?

    Entities you can see in default solution once you run your application.

    Thanks

    Hemant

  • Suggested answer
    Shahbaaz Ansari Profile Picture
    Shahbaaz Ansari 6,203 on at
    RE: Creating CRM entity via Console application

    make sure you are checking in correct instance, may be you are creating record from console in sandbox and checking in Production or vise a versa.

  • Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: Creating CRM entity via Console application

    Hi,

    Share your code here.

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans