How to change EPiServer's standard Category property label?

Vote:
 

Hi, 

How can I change the label of the property 'Category'? 

Normally, you can change the label in code (by setting DisplayAttribute.Name) or in the EpiServer Admin Section (by setting  the Field Name in Edit Property). However, this is only working for 'normal' field typesd, and not for category selection. As described in this post (http://joelabrahamsson.com/hiding-episervers-standard-category-property/), the Category properties are hidden on all pagetypes except for one. On that pagetype I do have the Category field, but I want to give it a more descriptive name. 

Regards, Leonard

#178489
May 11, 2017 17:28
Vote:
 

You can change the name using the localization service as described here

Add the following lines to the xml file to change the "Category" name

    <contenttypes>
      <icontentdata>
        <properties>
          <icategorizable_category>
            <caption>The name you want</caption>
            <help>A helpfull description</help>
          </icategorizable_category>
        </properties>
      </icontentdata>
    </contenttypes>

/Mark

#178549
May 14, 2017 14:53
Vote:
 

Thanks! 

#178637
May 16, 2017 12:06
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.