Hi All,
Could you please anyone let me know the possibilities of changing field shemaname?
CRM Details:
On-Premise CRM (Dynamics 365)
Thanks
*This post is locked for comments
We DON'T need both Schema and not names. I just wouldn't be Microsoft if they didn't do silly things that make our lives more difficult.
Please note that, while there is no need, there is a usage. On the server/SDK side you will need to use the regular names while on the client side there are odd places where you MUST use the schema name.
Delete the field and create the new field. Make sure you edit the schema name as required before saving.
Oh Silly me, I filling in CamelCase in the Name field and on saving, the it would be saved as all lower case but the CamelCase value is saved as SchemaName.
I'm Glad i could've helped :)
Yes. Now sure why we need to have different Name and Schema Name in our system.
Hi,
The Only place where you can modify or define a field's schema name it's at that place.
But once it's created you can not modify it any more.
Thanks for the tips.. I am a newbie. but how can you configure Schema Name without this field shown in the pic Saad posted?
Oh Cool.. then the schema name is always identical to the name. but in my system, the format is different although the values are the same. Name uses all lower case and schema name is camel case. How that can be done?
Also thanks for uploading picture. I find it challenging as you need to upload pics somewhere.
Yes, you can. Once you tab away from the Display Name field, the name auto-fills. The name will become name.ToLower() while the Schema Name will be name as is. Before saving, you can edit the name field.
One good, best practice to adopt is for every lookup field you create, add "Id" to the name. It's not a completely accurate convention in that the lookup is an EntityReference not a Guid but, it is the convention established by Microsoft out of the box. It makes developing in the sdk a little easier; nice to know what the lookup field is likely to be named.
Yes,
When you are creation a field you can specify the the part after the prefix like "new_" prefix. You specify the name you want. Like its shown in the following img.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156