I have a datalist. This list has a property:
<property name="pddl:documentCounterType">
So I'm using:
pddl_companyDatalistModel.property.pddl_projectCounterType.title=Typ projektu.
It's OK. But the next thing in datalist is aspect.
<mandatory-aspects>
<aspect>cm:titled</aspect>
</mandatory-aspects>
This aspect has some property title and this property has some name. But I need difference name of this property.
Can I change this name the same way like example above?
Thanks.
Solved! Go to Solution.
Yes, ithink (ups just a typo, not a new apple product) your are right. If you are using the cm:title property of the Aspect cm:titled, your column will get the configured global label for this. You would have to add a custom aspect with your own "title" property. Then you would be able to change its label accordingly (and minimal invasive)
I don't know your context, but if property.pddl_projectCounterType.title works, try property.cm_title or a sub-property of property.cm_title. But a little more context would be helpful...
I assume you want the custom aspect in data list to be displayed as a read able string . See this -
Add aspect with Share configurations | Alfresco Documentation
I have a datalist.
<type name="pddlrojectType">
<title>Typy projektů</title>
<description>Obsahuje seznam typů a jejich identifikační čísla.</description>
<parent>dl:dataListItem</parent>
<mandatory-aspects>
<aspect>cm:titled</aspect>
</mandatory-aspects>
</type>
And I want to change yellow names.
If I had <property name="pddl:documentCounterType">, than I would know how to change it. But I have an aspect and a parent.
Thanks.
As far as I can remember, the system cm model properties are configured in the content-model_YOURLOCALE.properties (have to search for it) and the property is called cm_contentmodel.property.cm_title.title
But this would change the title in the whole application and I don't think that this is what you want. Can you create your own "title" with an appropriate title property?
You are right, it is something what I don't want. I want to change it only in share, cause this value is used in others files.
Thank you.
It seems that solution is: I can not do it.
Yes, ithink (ups just a typo, not a new apple product) your are right. If you are using the cm:title property of the Aspect cm:titled, your column will get the configured global label for this. You would have to add a custom aspect with your own "title" property. Then you would be able to change its label accordingly (and minimal invasive)
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.