Page and Block Filtering


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.

Nov 23, 2017 6:17

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.

Nov 23, 2017 17:22

Maybe have a look at FeatureSwitch by Valdis.

Nov 24, 2017 10:05

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

Nov 24, 2017 11:38

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.

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.