User - Custom Fields

Bartec Support asked on September 11, 2014 11:38

We've got several custom fields within our User Class. When viewing users these custom fields used to be accessible on a "Custom fields" tab. For some reason they have stopped displaying (the "Custom fields" tab is no longer visible).

If I add a new field, the "Custom fields" tab appears again and that field appears, it is just the older custom fields that don't display.

Is there a way to flag these older fields as "custom" again. Where in the database would this be stored?

Regards, Dave

Correct Answer

Bartec Support answered on September 11, 2014 17:38

I've spotted where in the database this is stored:

In the CMS_Class table (for the cms.user ClassName) the ClassFormDefinition XML had these fields flagged as system="true".

I've been able to resolve this now by editing this XML. It would be interesting to know what caused this in the first place.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Bartec Support answered on September 11, 2014 11:59

Just to add, the site is on v8.0.5.

0 votesVote for this answer Mark as a Correct answer

Joshua Adams answered on September 11, 2014 16:49

Did you add the fields onto the user db table or usersettings db table? Also did you make sure that you aren't adding them just to an alternative form. If you add it on the alt form, then it won't exist in the database.

0 votesVote for this answer Mark as a Correct answer

Bartec Support answered on September 11, 2014 17:21

We added the fields to the User Class (Modules -> Membership -> Classes -> User). We definitely aren't adding them to an alternative form.

I've also noticed that when selecting these custom fields the Field name, Field type and Field Size properties are disabled. It seems to me these custom fields are now recognized as system fields.

One thing that may be related - I clicked the "Generate default form definition" button (to attempt solve a different issue). Could this have caused it?

Is there a way to set these fields as "custom" instead of "system"?

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.