tag:blogger.com,1999:blog-6215355853745600041.post3972483703719315204..comments2023-06-29T06:30:57.142-07:00Comments on A Devotee of Dynamics CRM: CRM 2011: Get "Object Type Code" of custom entity on click of custom ribbon buttonAnkit Shahhttp://www.blogger.com/profile/02231940860065519189noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-6215355853745600041.post-4991722521871382852012-07-13T12:12:05.008-07:002012-07-13T12:12:05.008-07:00To me unsupported means that MS will not guarantee...To me unsupported means that MS will not guarantee that this will work on future rollups or CRM upgrades. This is not in the SDK as and therefore unsupported. Use it if you want but accept the risks that the code may unexpectedly break and is unlikely to upgrade to the next major version. <br />Out of necessity and lack of features in older versions of the API I've written a lot of unsupported javascript (for CRM 3 and 4) but as soon as you upgrade you leave the client with a lot of code to rewrite and clean up. <br /><br />Thanks for sharing, I personally would prefer to use a supported method whenever possible.Simon Jacksonhttps://www.blogger.com/profile/16796943354486385443noreply@blogger.comtag:blogger.com,1999:blog-6215355853745600041.post-87607911857483615842012-05-04T02:28:07.750-07:002012-05-04T02:28:07.750-07:00GetObjectTypeCode(entityName) doesn't work if ...GetObjectTypeCode(entityName) doesn't work if there is a htm web resource, do you know how to get object type code by entity name in the htm web resource?Alisahttps://www.blogger.com/profile/06584230458433234639noreply@blogger.comtag:blogger.com,1999:blog-6215355853745600041.post-60387785259924771152012-02-27T23:58:20.653-08:002012-02-27T23:58:20.653-08:00Hi Jonas,
I don't think it is an unsupported ...Hi Jonas,<br /><br />I don't think it is an unsupported way. The code here uses Microsoft’s own logic. Please refer below URLs for more details.<br /><br />http://chaitanyaprasadtk.blogspot.in/2011/09/object-type-code-in-crm-2011.html <br /><br />http://social.microsoft.com/Forums/en-PH/crmdevelopment/thread/6d52fff8-6ce7-43f5-abe7-c8aa9d72c70a<br /><br />http://www.mscrmking.com/2011/07/how-to-get-the-entity-type-code-object-type-code-in-crm-2011-part-2/ <br /><br /><br /><br />Regards,<br />AnkitAnkit Shahhttps://www.blogger.com/profile/02231940860065519189noreply@blogger.comtag:blogger.com,1999:blog-6215355853745600041.post-66843347729599629852012-02-27T23:41:57.269-08:002012-02-27T23:41:57.269-08:00Hi Ankit
I haven't found any documentation ab...Hi Ankit<br /><br />I haven't found any documentation about the RemoteCommand / LookupService.<br />Is that really supported?<br />If not - why not simply use the RetrieveEntityRequest class to obtain metadata in a supported way?<br /><br />Regards<br />JonasJonas Rapphttp://cinteros.se/noreply@blogger.com