Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Won't Fix
-
Affects Version/s: 4.4.0, 4.5
-
Fix Version/s: Unscheduled
-
Component/s: Core CiviCRM
-
Labels:None
-
Documentation Required?:Developer Doc
-
Funding Source:Needs Funding
Description
In the interface, there is a "name" field that is in fact the "Title" of the UFGroup.
The name field in the db is generated by replacing illegal characters with underscores in the title and appending the ID.
In the API, one can query using the ufgroup name, however, the parameter is ignored for creates. This causes unexpected results when expecting the name to be a unique identifier when creating profiles in code.
There is no way to abstract in code the identification of a profile.
One should be able to set the name via the api.