Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6836351
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:20:42+00:00 2026-05-26T23:20:42+00:00

In migrating to CRM 2011, we’re discovering different developers used different capitalization of custom

  • 0

In migrating to CRM 2011, we’re discovering different developers used different capitalization of custom entities and custom fields. This creates a headache for custom programming using the early bound methods. http://msdn.microsoft.com/en-us/library/gg327844.aspx. Is there a way to normalize the entity/field names before (or after) the migration?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T23:20:43+00:00Added an answer on May 26, 2026 at 11:20 pm

    As far as I’m aware. The only way to achieve the correct capitalisation you desire is to recreate the entities with the appropriate names.

    Before or after the migration is mostly the upgrade of the CRM Server installation and modifying the database schema to reflect the upgrade, while still maintaining the current data and customisation data.

    Thats as far as the “Supported” spiel goes.

    As for an actual workaround. If your looking to upgrade anyway I’d be tempted to restore your current CRM 4 system to a test domain. Then look at how feasible it is to change the schema names in the actual “untouchable” crm database. I believe there is a MetaDataSchema.Entity table where this is centrally stored so i’d test this to see how usable this is and what impact it has on say the webservice.

    So you face a similiar choice that I face on multiple occasions while working with Dynamics CRM. Go with the supported way, or a bit of “Yee-Ha” development. Sorry it’s probably not what you want to hear!

    Edit:

    In regards to what to change I can’t say for sure as I haven’t got a CRM 4.0 system to hand only a 2011 at this moment in time. However as an example, there will be a MetadataSchema.Entity table in the [OrganisationName_MSCRM] Database. Of which certain columns will jump out. Name, PhysicalName and Logical Name.

    Logical name is the one that CRM users which it defaults to lowercase no matter how you enter it.

    I believe PhysicalName and Name are the ones you would be looking to change into lower case.

    The actual “Name” of the entity, eg logical name is “account” whereas in CRM where it is displayed in a user friendly way is related through a table called MetadataSchema.LocalizedLabel through the foreign key “ObjectId” which in this case would be the “EntityId” field.

    This is where I would be looking to do the changes as it shouldn’t have an impact on the rest of the data due to the “logicalname” field being the one CRM probably uses.

    As far as your generation for strongly types classes goes.

    if you use latebound such as

    relatedEntity.LogicalName = "new_related_account";
    relatedEntity["relatedaccountid"] = entity["accountid"];
    

    then all the properties and logical names need to be lower case. As this will use the “logicalname” property previously identified in the MetadataSchema table.

    Howver using SVCUtil I can only assume it looks at the “Name” and “Physical Name” attributes to give a slightly more user friendly coding experience when it generates the file for use in custom applications.

    Though if you are looking to use the early bound class generation it shouldn’t be a problem as the definition file generated will provide intellisense on the correct capitalisation of attributes and properties, and if you are using late bound like the example previously it’s all lower case. So it’s more it will just be a bit untidy to look at than completely impractical =)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm migrating a legacy codebase at work from python 2.4 to python 2.6. This
After migrating magento from one to another hosting with different domain, I'm getting one
Our team is migrating from VSS 6.0 to TFS 2008 to be used for
I'm currently in the process of migrating a CRM over to Mongo. Our leads
after migrating a system/database we modified a central table which has been used for
I have been migrating from subversion to mercurial piecemeal and this has created a
Migrating a project from ASP.NET 1.1 to ASP.NET 2.0 and I keep hitting this
I'm doing a data migration in to Microsoft Dynamics CRM 2011 and need to
Migrating app from php. and have this in the view: <%=render :partial => jt-test,
I'm migrating a rails 2.3 app to rails 3.2. I have an object used

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.