I'm using Kentico 11 and would like to get the current site's available site cultures using a Macro.
I am trying to do this from a Page Type field's data source Macro Expression. I have set the data type to Text and the Form Control to Multi Select.
The reason I am doing this is because our client has requested that some products only be available to specific site cultures (They are using site culture as locations).
This situation would be better handled via custom SQL query on CMS_SiteCulture and join on CMS_Culture table.
Out of the box macros do not provide direct access to this binding and you would have to resort to custom macro to get a proper list(array) of items back.