As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Hello,
I am new to alfresco,
how can i customize StoreSelectorAspectContentStore instead of changing directly in the org.alfresco.company.repo.content.roting.StoreSelectorAspectContentStore?
You can write a custom content store implementation that inherit from StoreSelectorAspectContentStore and register you implementation in spring configuration extension.
how can you check if this class works in the application??
I'm sorry I don't understand what you mean ,If it is correctly implemented it will work.
About how to create a customized content store, you can refer to following threadhttps://hub.alfresco.com/t5/alfresco-content-services-forum/how-to-create-new-content-store/td-p/264280
.
Hello
please can you explain to me how to register my implementation in spring configuration extension?
You can define a bean named fileContentStore in your spring context file ,alfresco will use your fileContentStore implementation to override it's default.