kentico get site cultures from macro

faye bronski asked on November 26, 2018 12:11

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).


Recent Answers


Suneel Jhangiani answered on November 26, 2018 12:30

0 votesVote for this answer Mark as a Correct answer

faye bronski answered on November 26, 2018 13:06

Thanks for trying to help me..

0 votesVote for this answer Mark as a Correct answer

Eric Dugre answered on November 26, 2018 20:42

If Suneel's answer helped, please mark it as the correct answer! Or, if it didn't help, please give us some more details about what you've tried and what the results were.

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.