Answered by:
What is Logical name and Schema name?

Question
-
Hi,
For each entity in CRM 2K11 , there is logical name and schema name. Can somebody explain me what is the difference between them. i created a new entity named Test. Under silution i can see following details related to this:
Display name: Test
Name: new_test
Schema name: new_test
So as per above details, schema name is new_test. What is logical name. A silly question, but killing me.
Thanks
Monday, January 31, 2011 8:00 PM
Answers
-
If only it were that simple...
There are 2 areas of ambiguity in documentation and usage:
- Whether or not to use pascal case for the schema name. Some documentation (including that quoted above) states that it should be pascal case, but many examples use all lower case. My interpretation is that it does not have to be pascal case, and there is a good reason (see below) to keep it lower case
- CRM 3.0 documentation used the term 'schema name' to refer to the name that was necessarily all lower case (i.e. what is referred to as the 'logical name' from CRM 4.0 onwards)
To resolve these ambiguities, I always treat the terms 'schema name' and 'logical name' interchangably - i.e. they are all lower case, include the schema prefix and have to be unique. The 'display name' what the user sees, can be in any case, would not normally include the schema prefix, and need not be unique
Microsoft CRM MVP - http://mscrmuk.blogspot.com http://www.excitation.co.uk- Marked as answer by Donna EdwardsMVP Tuesday, February 8, 2011 4:30 PM
Tuesday, February 1, 2011 12:34 PMModerator
All replies
-
Schema Name
The schema name is specified upon creation. It must be unique. It is used to create the logical name. This name should be in Pascal case.If it is a custom entity, attribute or relationship, it has a prefix in the format described following this table.
Logical Name
The logical name is an all lowercase version of the SchemaName property
The unique name of the class or property created in the Web Services Description Language (WSDL). This name is all lowercase. The logical name is the name that is most widely used when you use the SDK.
Note that a custom entity, attribute, or relationship has a prefix in the format described following this table.
Monday, January 31, 2011 8:18 PM -
Thanks Vinoth.
I have read the same from SDK. Can you please tell me what is Logical name in my example.
Thanks
Monday, January 31, 2011 8:33 PM -
Schema name --> Account
Logical name --> account
the same is applicable for attributes and relationships
- Proposed as answer by Neil BensonMVP, Moderator Monday, January 31, 2011 10:03 PM
Monday, January 31, 2011 8:58 PM -
If only it were that simple...
There are 2 areas of ambiguity in documentation and usage:
- Whether or not to use pascal case for the schema name. Some documentation (including that quoted above) states that it should be pascal case, but many examples use all lower case. My interpretation is that it does not have to be pascal case, and there is a good reason (see below) to keep it lower case
- CRM 3.0 documentation used the term 'schema name' to refer to the name that was necessarily all lower case (i.e. what is referred to as the 'logical name' from CRM 4.0 onwards)
To resolve these ambiguities, I always treat the terms 'schema name' and 'logical name' interchangably - i.e. they are all lower case, include the schema prefix and have to be unique. The 'display name' what the user sees, can be in any case, would not normally include the schema prefix, and need not be unique
Microsoft CRM MVP - http://mscrmuk.blogspot.com http://www.excitation.co.uk- Marked as answer by Donna EdwardsMVP Tuesday, February 8, 2011 4:30 PM
Tuesday, February 1, 2011 12:34 PMModerator -
One more difference, Schema name should be used in REST calls unlike SDK calls (Late Binding) where only logical names can be used
MaKeer | myencounterwithcrm.wordpress.com | CRM2011 User Settings Utility | CRM2011 Lookup Preview | CRM2011 Lookup Attribute Mapping | CRM2011 TreeView Control (Beta) | CRM2011 N:N Entity View (Beta) | CRM 2011 Global Quick Search (Beta)
Sunday, May 22, 2016 5:21 PM