Hi,
I have created a content model named "Document" and under this an aspect named "Property". "Property" has properties File-Path1 and Location-status1 respectively. I want these properties of aspect to be visible only to a site named "XYZ".How can it be achieved? Also, if I want to make changes in actions.js file,what will be the code for it? I am using alfresco community edition 5.2. I am a beginner in alfresco, so kindly consider this while providing me solution.
a) Don't make changes in any of the default files (I assume with actions.js you are referring to some default file)
b) Surf extension modules allow you to target configuration / customisations to specific sites via the site evaluator. In that example you also see how you can add configuration only for the targeted site(s). If you put form / doclib configuration into such an extension module to display your aspect properties, then they will only be active when a user is looking at a document / list of documents within site UI.
c) Property visibility can be configured via metadata-templates (document listing in the library) and forms (visibility in details view + edit forms)
Hi,
Can you provide an example of configuration code to be included in share-documentlibrary-config.xml to make my aspect visible to a specific site(s).
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.