How do i edit or change a field name in Dynamics?
-
2012. július 12. 9:43
Hello,
I want to rename a field in an entity but it is showing as uneditable. Is there a way to do this?
When i create a new field it puts 'new_' in front of the field name. Is there a way to get around this and remove the 'new' word as i need to have uniformity in the names of the fields which are being referenced by a .aspx page.
Regards
Dave
- Szerkesztette: David J Kelly 2012. július 12. 9:56
Az összes válasz
-
2012. július 12. 9:56
Hi
Do you want to remove prefix altogether or you want to replace new with some other prefix.
1. If you want to remove prefix altogether I guesss it is not possible. Prefix is used to differentiate between system and custom fields. It is a mandatory field in both crm 4 and crm 2011.
2. If you want to replace prefix:
In crm 2011 you can create a new publisher and save it with desired prefix, say ABC. Then create new solution with new publisher. Or you can update existing solution with new publisher as well
But a noteworthy point here is, new prefix ABC will be used for attributes which you create in future. Old attributes will retain "new" prefix, and system attributes will remain as such without prefix
Hope this helps.
-
2012. július 12. 10:16
Hi there,
Thanks for your reply. Is there a way of even changing the field name? I don't mind leaving the 'new' in there if i have to but would like to change the rest of the field name.
Regards
Dave
-
2012. július 12. 10:35
I guess its not possible.
If you go to publisher in crm 2011, you will see prefix is a mandatory field.
Never tried putting in blank value.
-
2012. július 12. 10:44
So in effect, once i have saved the 'schema name' as whatever i have called it e.g. 'new_joebloggs' i can't rename it 'new_joe'??
-
2012. július 12. 10:49
No.You will need to create new field with new schema name and map all the data to new field.
I guess if there is a scope to change schema name then the system will become too fragile.
- Megjelölte válaszként: David J Kelly 2012. július 12. 10:51
-
2012. július 12. 10:50Great thanks for your help on this one.
- Megjelölte válaszként: David J Kelly 2012. július 12. 10:51
- Válaszként való megjelölést visszavonta: David J Kelly 2012. július 12. 10:51
-
2012. július 18. 11:58Another thing that you could try is to create a view in the database for the .aspx page to use instead of querying the orginal tables. This would allow you to give the fields different names in the view.