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.
<id>Demo Site Aspect Extensions</id>
<description>Demo Site Aspect Extensions</description>
<config evaluator="string-compare" condition="DocumentLibrary" replace="true">
<!-- Aspects that a user can see -->
<aspect name="myc:blockChainHash" />
<!-- Aspects that a user can add. Same as "visible" if left empty -->
<!-- Aspects that a user can remove. Same as "visible" if left empty -->
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.