Hello,
In WEM 8.5 I am rendering the active sub channels by code. It is a multilingual site and certain channels needs to be available on the site according to locale specific. So I am using the Targeting tab on the channel having targeting rules as below.
when page language = English show
otherwise hide
When rendering the active sub channel list using channel.activeSubChannels, it is giving all the active sub channels
even if there is the targeting rule for hide that channel.
Please suggest if there is any way to find out the targeting rules value of a channel or how can I able to archive the required results i.e all the active sub channels to the current page language type.