Hi Community;
I want to add an aspect 'cc:anydownload'.
In share-config-custom.xml I add the <aspect name="cc:anydownload" />.
And also I create the <aspect name="cc:anydownload"> in customModel.xml.
Restart alfresco, then click 'Manage aspects', I can see the 'cc:anydownload' in the left list.
But when I click 'Apple' button, the system told me that can not add this aspect.
Please refer the picture as following, Thanks!
Solved! Go to Solution.
You may follow then this instructions I'm copy-pasting from the link I gave you before:
We’ve put off localizing the form labels until now. To fix this, first create a messages bundle, then register it with a Spring bean. Here are the steps:
In the messages folder, create a new file called "scModel.properties" with the following content:
#sc:doc
type.sc_doc=SomeCo Doc
assoc.sc_relatedDocuments=Related Documents
#sc:whitepaper
type.sc_whitepaper=SomeCo Whitepaper
search.form.desc.sc_whitepaper=Search for SomeCo Whitepapers
#sc:webable
aspect.sc_webable=SomeCo Webable
prop.sc_published=Published
prop.sc_isActive=Active?
#sc:productRelated
aspect.sc_productRelated=SomeCo Product Related
prop.sc_product=Product
prop.sc_version=Version
Hi Team;
I add a new aspect, but lost the name, could you please tell me how to solve it? thanks!
That should be the "Title" from the content model.
You may find additional information in https://ecmarchitect.com/alfresco-developer-series-tutorials/content/tutorial/tutorial.html
Thank you so much for your reply.
Actually, I have set the Title as below, is there something else that I missing?
<aspects>
<aspect name="cc:anydownload">
<title>EveryOne Can DownLoad</title>
<properties>
<property name="cc:isActive">
<type>d:boolean</type>
<mandatory>true</mandatory>
<default>false</default>
</property>
</properties>
</aspect>
</aspects>
You may follow then this instructions I'm copy-pasting from the link I gave you before:
We’ve put off localizing the form labels until now. To fix this, first create a messages bundle, then register it with a Spring bean. Here are the steps:
In the messages folder, create a new file called "scModel.properties" with the following content:
#sc:doc
type.sc_doc=SomeCo Doc
assoc.sc_relatedDocuments=Related Documents
#sc:whitepaper
type.sc_whitepaper=SomeCo Whitepaper
search.form.desc.sc_whitepaper=Search for SomeCo Whitepapers
#sc:webable
aspect.sc_webable=SomeCo Webable
prop.sc_published=Published
prop.sc_isActive=Active?
#sc:productRelated
aspect.sc_productRelated=SomeCo Product Related
prop.sc_product=Product
prop.sc_version=Version
Yes! as you say so, it works!
Thanks again!
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.