cancel
Showing results for 
Search instead for 
Did you mean: 

Restricting type/aspect visibility per site

tomoconnell
Champ in-the-making
Champ in-the-making
Can you currently make specific types and aspects only visible when in a certain site?

Or even restrict an entire model to a site?

This would be really useful,
Currently using 4.1 Enterprise; Share.

For example I want exampleAspectA to only be able to be seen and applied when in siteA,
and exampleAspectB in siteB


Thanks.
Tom.
3 REPLIES 3

afaust
Legendary Innovator
Legendary Innovator
Hello,

you can restrict types / aspects in the document library pages using Surf Extensiblity Modules. These allow you to provide dynamic configuration additions based on the context of a request and can have an evaluator assigned determining when that configuration should be used. Have a look at this <a href="http://blogs.alfresco.com/wp/developer/2012/03/05/share-configuration-extensibility/">blog post by Dave Draper</a> for a way to do this.

tomoconnell
Champ in-the-making
Champ in-the-making
Thanks for the reply.

That link helped, but i'm now confused at where to write the module.
Do i create a new .xml file for it, append it in share-documentlibrary-config.xml, or overwrite share-documentlibrary-config.xml.

Thanks

afaust
Legendary Innovator
Legendary Innovator
Hello,

you create a new .xml file in <share_config_root>/alfresco/web-extension/site-data/extensions/

Regards
Axel