Visibility Field Choices

Charles Matvchuk asked on March 4, 2015 17:58

I need to modify the field visibility drop down list. Currently one of the choices are "Display to authenticated", I need this to say "Display to Members". This personalizes and carries through with the them of the site. Do I just change the xml value in the CMS.resx file ? Or will that cause me grief. I see the form control and it appears it is just picking up value by the data name. My concern is that the actual value is being used somewhere else in logic.

  <data name="visibility.authenticated" xml:space="preserve">
    <value>Display to authenticated</value>

If I cannot do this, I could just put some logic in the form controls to change the displayed string, etc.

Any advice would be greatly appreciated.

Correct Answer

Brenden Kehren answered on March 4, 2015 19:13

I never change anything in the .resx files. I believe the system uses the file last, it will check to see if there is a database value and if not then go to the file. So if you already know what the key name is in the .resx file, simply enter that in your default culture code with the key name and your new "custom" value.

1 votesVote for this answer Unmark Correct answer

Recent Answers

Charles Matvchuk answered on March 4, 2015 19:31

Yes, I should have realized that just using the localization with the key would do it. Thanks Brenden.

1 votesVote for this answer Mark as a Correct answer

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