Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > [5.5] System table | User | custom field vanished View modes: 
User avatar
Member
Member
JimS - 9/16/2010 5:25:05 PM
   
[5.5] System table | User | custom field vanished
Hi,

I need some more fields for my users, so I successfully added them to database and alternative forms. Works nicely.

But now I tried to add another field, saved it, edited field type, saved again, went to Alternative forms, changes Default visibility of tis custom field and -- gone! The new field name is not included in field lists any more. I tried to re-create it but got an database insert error, field already exists (that's true, checked in database table). If I delete it low-level in MSSQL I can re-create the field in Systems Table dialog.

That happened twice now. Any idea what causes it?

BTW, where do you store the properties of a custom user field (caption, drop-down options etc.)?

Thanks,
Jim

User avatar
Member
Member
JimS - 9/17/2010 4:57:19 AM
   
RE:[5.5] System table | User | custom field vanished
Ok, figured out where (some of) the details are stored: table CMS_AlternativeForm in FormDefinition.

Tried again today to very carefully add new fields, worked sofar. Didn't touch that visibility value ...

User avatar
Member
Member
JimS - 9/17/2010 5:11:41 AM
   
RE:[5.5] System table | User | custom field vanished
OH NO, it just happened again!! New fields are gone again!

But maybe I'm onto something. The site is based on your Community Template, so there are 3 alternative forms for "Edit profile": Default (with default layout), Community (with custom layout), MyDesk (with custom layout). I successfully edited "Display profile" form and "Edit profile Community" form, but then erroneously opened layout tab of "Edit profile default" form. After that the new fields were not listed any more. Will give it another try to confirm this possible bug.

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 9/24/2010 8:13:32 AM
   
RE:[5.5] System table | User | custom field vanished
Hello Jim,


how did you add the new fields to User?

Did you add them in Site manager -> Development -> System tables?

What version of Kentico CMS do you use?


Best regards,
Helena Grulichova

User avatar
Certified Developer v7
Certified  Developer v7
luke-syndicut - 1/17/2011 8:25:46 AM
   
RE:[5.5] System table | User | custom field vanished
This has just happened to me aswell. I am using Kentico Version: 5.5 Build: 5.5.3789. I am creating custom user fields in:

Site manager -> Development -> System tables -> User

The fields are added fine @ first but when i create my alternate form (i am firstly specifying which fields i want to use & then generating my custom layout). Randomly the fields are created in the User Table have now disappeared ?? I have checked the SQL table CMS_User & the fields are still there ?

Any ideas on this ?

Cheers

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 1/17/2011 8:37:18 AM
   
RE:[5.5] System table | User | custom field vanished
Hi,

could you please try to apply the latest hotfix for 5.5 version?

Unfortunately, there was a bug related to alternative forms in the 5.5 version. If the hotfix will not solve the issue, please let me know.

Thank you.

Ivana Tomanickova

User avatar
Certified Developer v7
Certified  Developer v7
luke-syndicut - 1/17/2011 12:09:04 PM
   
RE:[5.5] System table | User | custom field vanished
Hi Ivana,

The Hotfix solved this issue :D

Many Thanks

Luke