Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

PrimaryEntityTypeCode not deprecated in D365?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

    According to this article, Microsoft is saying that for Ribbon parameters the PrimaryEntityTypeCode parameter is deprecated in Dynamics 365 and that we should use PrimaryEntityTypeName instead.

https://msdn.microsoft.com/en-us/library/dn281891.aspx#bkmk_RibbonEntityTypeCodes

I have a Dynamics 365 Online environment as a development organization, with a custom button that calls the stock Mscrm.GridCommandActions.addNewFromSubGridStandard javascript call (which is supposed to now take PrimaryEntityTypeName as a parameter in D365). However, it still seems to take PrimaryEntityTypeCode as a parameter! Isn't it supposed to take PrimaryEntityTypeName in D365, since MS is saying PrimaryEntityTypeCode is deprecated? 

How am I supposed to update my custom button command to use PrimaryEntityTypeName if MS didn't update the javascript in D365? Am I misunderstanding something?

Any comments/suggestions are welcome.

Thanks.

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: PrimaryEntityTypeCode not deprecated in D365?

    Hello. Tenfold can also help in integrating Microsoft Office 365 and Microsoft and enabling click to dial in Outlook. They also support MS Dynamics integration. Our click to dial also works on webpages opened in Chrome. www.tenfold.com/.../dynamics

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: PrimaryEntityTypeCode not deprecated in D365?

    +1 to Nadeeja.

    I also confirm that Deprecated means it will be removed in future version or upgrades of CRM.

  • Suggested answer
    Nadeeja Bomiriya Profile Picture
    Nadeeja Bomiriya 6,804 on at
    RE: PrimaryEntityTypeCode not deprecated in D365?

    Hi John,

    When a feature is deprecated, it's marked to get deleted in a future release.  But feature still works and supported.  Sometimes, deprecated features last for years.

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,489 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans