cancel
Showing results for 
Search instead for 
Did you mean: 

Labels for Aspects and Types

d_franz
Champ on-the-rise
Champ on-the-rise
I have created a few new types and Aspects. To see them on the Share GUI i have used following code:
         <visible>
            <aspect name="cm:versionable" />
            <aspect name="cm:taggable" />
         <aspect name="my:tagClassifiable" />   
         <aspect name="my:publishable" />
         </visible>
Instead of the title of this aspects Share always shows a name such as this "aspect.my_publishable"

Where I have to define the title/label for this?
5 REPLIES 5

mitpatoliya
Star Collaborator
Star Collaborator
In your model as well as the property file entry as follow
aspect.my_publishable=Publishable

d_franz
Champ on-the-rise
Champ on-the-rise
I already have this line in my "properties" file.

# Custome Types
my_examplemodel.property.my_baseDoc.title=Basisdokument
my_examplemodel.property.my_blog.title=Blog
my_examplemodel.property.my_post.title=Post

# Custome Aspects
my_examplemodel.aspect.my_tagClassifiable.title=Category Tag
aspect.my_tagClassifiable=Category Tag
my_examplemodel.aspect.my_publishable.title=Publishable
aspect.my_publishable=Publishable

Where in my model I have to place this command ("aspect.my_publishable=Publishable")?

mitpatoliya
Star Collaborator
Star Collaborator
Your property file is loaded properly?
In model file you need not to add that command.
Its just which defining the aspect you need to set the title.

ex.
<aspect name="dl:gantt">
         <title>Gantt</title>


Also try once by placing the property in the share's OOTB property file.

d_franz
Champ on-the-rise
Champ on-the-rise
I already have titel fields for all my aspects and types. But this titels don't show up.

    <aspect name="my:tagClassifiable">
      <title>Category Tag</title>

d_franz
Champ on-the-rise
Champ on-the-rise
Now it works!

The properties file has to look such as this:
type.my_post=Post

aspect.my_publishable=Publishable