on 11-26-2008 5:36 PM
Hey Guys
I was going through documentation on Console and it mentions two properties(in addition to others),Name and Code.Both of these are Unique so whats the difference between them?
Thanx
Saif
Hi Saif,
Every field you create in MDM repository will have a Name and a Code.
The Name of the field,is the user given name to the field element to recognize it within MDM.
This name will appear in all the MDM clients you use like Data manager,Console,Import Manager and the Syndicator.
The Code is like a technical name to the field and is used to identify the Field in question in use with many applications like for ex API.
In such cases the Code of the field is used to recognize the Field in consideration for performing any operation on the field value.
In the earlier version of MDM the Code of the lookup field was used to establish the link between the main table Lookup field and the lookup tabel.
The code cannot have blank spaces in between its name only underscores are allowed.
Hope It Helped
Thanks & Regards
Simona Pinto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Saif,
Its not mandatory that Code and Name should match.
Code is used for internal purpose. Meaning for each process the MDM check only Code, not Name.
Name is user specific. We can give any name here. Its just for user identification.
Regards,
Nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Saif,
Apart from the above posts Code once assigned cannot be changed. In order to change the Code of the field you need to delete and re-create the field.
Name is to identify the fields
Code is used with API
Kindly update the thread status
Regards,
Jitesh Talreja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi saif,
apart from these above point,
1)you cann't have two same codes for fields
2)you can use only:a-z,A-Z,0-9 and _ in codes..but in name you can write of you choice.
Regards
Biswanath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The Code property is non-lingual and allows you to refer to objects in a language-layer independent way. Unlike Name, which is for display purposes and may include non-portable characters, Code is used within the MDM APIs to reference objects, and can also be used in a variety of external contexts like example : as a folder name, within XML.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
As you said Name and code are unique.
But difference is Name can consists of both alpha-numeric and non alpha-numeric characters , Code
consists of alpha-numeric and can not have special characters except underscore.
Field name is used in field mapping in import manager and syndicator.
Field code is used to refer particular field when we work with Java API and ABAP API.
Thanks
Narendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Saif,
Name of the field is used to identify the fields in MDM system for import and syndicate purpose.
While code is required when you need to refer to that field in your codes of any of the APIs.
Apart form that, it is very important to verify that no two codes of any objects like fields, lookups etc should be same.They should always be unique.
Hope it helps.
Thanks,
Minaz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Saif
Name of the field is Description and code is always used for technical purposes.In code we cannot have blank spaces and they are used for identifying the fields from POrtal or external services. Field names are used for mapping during import or syndication or MDM internal activities.
Hope this helped.
Regards
Ravi Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.