Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Populating custom fields View modes: 
User avatar
Member
Member
Rich - 6/3/2013 3:17:22 AM
   
Populating custom fields
Hi there,

I have added a custom field to the User System table, which uses a drop-down input.

The field now appear on the registration form, the custom fields tab for the user, and also on the form for the My Account web part. However, this doesn't show the saved value.

How can I set the saved value to show on these forms?

Thanks

User avatar
Kentico Support
Kentico Support
kentico_filipl - 6/3/2013 3:52:41 AM
   
RE:Populating custom fields
Hi,

I have just tried to add a new field to the User system table with drop-down list form control but it is working fine for me with the latest hotfix, i.e. the default value in My account web part is the saved value of the drop-down list field for a current user.

Could you apply the latest hotfix (7.0.38) and see if it resolves the issue?

Best regards,
Filip Ligac

User avatar
Member
Member
Rich - 6/3/2013 4:13:01 AM
   
RE:Populating custom fields
Hi Filip,

Sorry, I thought I posted the thread in V6. For V6 is there some extra code I will need to add to make this work?

User avatar
Member
Member
Rich - 6/3/2013 5:43:10 AM
   
RE:Populating custom fields
This now appears to be working after initiating an application restart.

Thanks.

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 6/3/2013 7:21:32 AM
   
RE:Populating custom fields
Rich wrote: This now appears to be working after initiating an application restart.
There is a very good chance the data was cached. In your web part displaying the data, ensure you have a 0 in the caching section so the data is not cached.

User avatar
Member
Member
Rich - 6/3/2013 8:46:54 AM
   
RE:Populating custom fields
Thanks FroggEye, but the issue didn't seem to be web part specific, it was system-wide as when viewing Administration > Users > *user* >Custom Fields, the field wasn't being populated there either.