Hi All,
I want to override the Asset Share Commons SearchConfig https://github.com/adobe/asset-share-commons/blob/develop/core/src/main/java/com/adobe/aem/commons/a.... It already has an implementation class in AssetShareCommons (https://github.com/adobe/asset-share-commons/blob/develop/core/src/main/java/com/adobe/aem/commons/a...) and is being referred in other sling models using
Hi @AyushAg3
Normally, when you need to override methods in a delegated service, you can use the following format:
@Delegates(excludes=DelegationExclusion.class)
I’ve briefly explained this concept in my article: AEM: Avoiding Delegation Pattern Pitfalls with Core Components.
I'm not sure if this approach will work in your case, but if you haven’t tried it yet, it might be worth exploring.
Thanks
Veena
@VeenaVikraman I have gone through the article. But this solution does not work in this case. Any other help would be appreciated.
@AyushAg3 Did you find the suggestion helpful? If you need more information, please let us know. If a response resolved your issue, kindly mark it as correct to help others in the future. Alternatively, if you discovered a solution on your own, we'd appreciate it if you could share it with the community. Thank you.
Views
Replies
Total Likes
Views
Likes
Replies