I want to visible some of the aspect to particular site only.
I am using share extension and my code is as per below but not working.
<extension> <modules> <module> <id>Demo Site Aspect Extensions</id> <description>Demo Site Aspect Extensions</description> <version>1.0</version> <auto-deploy>true</auto-deploy> <evaluator type="site.module.evaluator"> <params> <sites>demo</sites> <applyForNonSites>false</applyForNonSites> </params> </evaluator> <configurations> <config evaluator="string-compare" condition="DocumentLibrary" replace="true"> <aspects> <!-- Aspects that a user can see --> <visible> <aspect name="myc:blockChainHash" /> </visible> <!-- Aspects that a user can add. Same as "visible" if left empty --> <addable> </addable> <!-- Aspects that a user can remove. Same as "visible" if left empty --> <removeable> </removeable> </aspects> </config> </configurations> </module> </modules> </extension>
Without replace=true and applyForNonSites=true, my custom apsect is visible(Manage Aspect) with all existing aspect at all place.
Without replace=true and applyForNonSites=false, my custom apsect is not visible(Manage Aspect) with all existing aspect.
If I add replace=true and applyForNonSites=true then only custom aspect is visible but for all place.
If I add replace=true and applyForNonSites=false then custom aspect is not visible.
@fcorti @angelborroy Any helpful hints to offer on this one? The business requirement is to only make certain aspects available for selection to user groups that are members of a particular site, as the aspects are site-specific. Thanks in advance for reviewing.
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.