web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

ms crm field names capitalised

(0) ShareShare
ReportReport
Posted on by

Hi,

1. Has anyone come across a case where the field names in MS CRM are capitalised? Typically this wouldn't be possible as the UI would automatically convert all field names to lowercase.

2. I need to cater for this eventuality, but unsure of how to replicate. Any idea how to create upper case characters in field names?

*This post is locked for comments

I have the same question (0)
  • Rajkumar Rajaraman Profile Picture
    on at

    Karlo,

    Refer this thread:

    social.microsoft.com/.../microsoft-dynamics-crm-2011-onchange-event-uppercase-text

    Hope this helps.

    Regards,

    R.Rajkumar

    "Please mark my answer as verified if you found it helpful"

  • Suggested answer
    BackToTheCrm Profile Picture
    on at

    Hello Karlo,

    The logical name will always be lowercase, however the schema name can be uppercase.

    The schema name is used in the SQL database and in the odata field names.

    At the creation of the field, you only need to enter the uppercase field name. When the field is saved, the name will be shown in lowercase but if you go in the grid view you will see 2 columns one in lowercase (logical name) and one in uppercase (schema name).

    Hope it will help.

    Clément

  • Community Member Profile Picture
    on at

    Hi Clément,

    In this case both logical and schema contain uppercase characters. This causes an issue with fetchxml which now seems to be case sensitive.

    Difficult to replicate and test, unless I know how this could happen.

  • anilambadan Profile Picture
    1,160 on at

    When you are creating an attribute system will automatically set the logical name as lowercase. but it can be edited. so somebody may have manually put the Capital Letters with logical name. We faced the same issue before.

  • Community Member Profile Picture
    on at

    Thanks Anil,

    What was your resolution? Rename to lowercase? I'm unable to edit any schema fields via the UI. How could one go about renaming these to uppercase to test?

  • Mahendar Pal Profile Picture
    45,095 on at

    Even if you will write name in Capital letter system will convert it back to lower case, so there is not control on name field in supported way at least.

  • anilambadan Profile Picture
    1,160 on at

    If the attribute is not contains any data, you can delete the attribute and recreate it. If its contains data, you have to create some temporary attribute and move data to the temporary field (SQL update/write some code to do the data movement), delete the attribute and recreate it and move the data from temporary field. Then delete the temporary field.

  • Suggested answer
    Surmeet Singh Profile Picture
    3,075 on at

    Hi Karlo,

    You will have to delete the existing fields and recreate and at the time of creation before saving you will have to change the field name to Uppercase letters.

  • Suggested answer
    BackToTheCrm Profile Picture
    on at

    Karlo,

    I misunderstood the question. In this case, I think the field was created with the SDK (Here is an example : msdn.microsoft.com/.../Gg509014.aspx ).

    As the others say, you must create a new field, transfer the data in this field (with a SQL query if you're on premises) then delete the old field.

  • Community Member Profile Picture
    on at

    Hi,

    I tried this with the 2011 SDK, but even a capitalised logical name end up created in lowercase. Perhaps this was possible in previous releases.

    My question I guess is whether this capitalised fields should be treated as unsupported customizations (if we cannot even replicate in MS CRM anymore).

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans