Allow users to control visibility with mot save

DVS Developers asked on December 18, 2014 12:32

I've followed this example (https://docs.kentico.com/display/K81/Allowing+users+to+change+the+information+they+share) in an attempt to allow users to control visibility for ceertain fields. I have managed to change the layout of the form and I can now see the visibility control in the edit user profile. However when I go in as a user and try to change the visibility of the field, it does not save the changes. I get a message saying the changes have been saved, but when I return to the edit profile page, the changes haven't been saved.

I've tried on Full name (as the example suggest), email, date of birth and lots of other fields and it still will not save. Any ideas?

Recent Answers


DVS Developers answered on December 18, 2014 15:11

*will not save sorry feeling a bit rough today!

0 votesVote for this answer Mark as a Correct answer

Roman Hutnyk answered on December 18, 2014 15:34

Did you configure web part showing your form accordingly?

0 votesVote for this answer Mark as a Correct answer

DVS Developers answered on December 18, 2014 15:41

as far as I can tell yes

The Allow user to edit field visibility option is enabled

is there anything else?

0 votesVote for this answer Mark as a Correct answer

Sandro Jankovic answered on December 19, 2014 14:15 (last edited on December 19, 2014 14:16)

Hello,

It seems that I was able to reproduce this issue in the latest hotfix. The settings are being saved in the database but the checkbox state is not being saved. Could you verify it is the same on your end - do you have the ability to check the CMS_User table in the database and verify that the UserVisibility field contains something similar to the following for the user in question:

<form version="2" name="cms.user.EditProfile"><field column="FullName" visibility="none" /></form>

Best Regards,

Sandro

0 votesVote for this answer Mark as a Correct answer

DVS Developers answered on December 22, 2014 11:50

yes it looks like that is the problem. All of the fields have their visibility set to none, even though the rest of the data is saved

0 votesVote for this answer Mark as a Correct answer

Sandro Jankovic answered on January 5, 2015 12:15

Hello,

Our developers confirmed that this is not the intended behavior so they will work on a fix for the next hotfix release. Thank you for reporting this issue!

Best Regards, Sandro

0 votesVote for this answer Mark as a Correct answer

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