Try our conversational search powered by Generative AI!

Page and Block Filtering

Vote:
 

CMS - 10.10.3
Commerce - 11.2.4

We have multiple sites and so have multiple Start pages in CMS.

We need to show pages and blocks for respective sites when creating a block or page from CMS.

So please guide me that how we can filter the Blocks and Pages for different sites.

#185541
Nov 23, 2017 6:17
Vote:
 

As I know, there is no way for the same codebase.

If you really want to limit those - use separate Web projects for each site with their own blocks and pages.

#185559
Nov 23, 2017 17:22
Vote:
 

Maybe have a look at FeatureSwitch by Valdis.

#185565
Nov 24, 2017 10:05
Vote:
 

Could you create VirtualRoles that calculate what site you are on, then apply access rights to Blocks based on those virtual roles?

#185571
Nov 24, 2017 11:38
Vote:
 

The solution is to use virtual roles, as Mark pointed out. For pages, you might not even have to do that. Just set what page types that are possible to create under the different page types.

#185578
Nov 24, 2017 21:18
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.