Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Site setting macro View modes: 
User avatar
Member
Member
Boolean - 10/23/2012 1:27:04 PM
   
Site setting macro
Hi

I noticed that in the macro builder helper, one of the values that the helper has access to is (if my site name was CorporateSite):

Settings.CustomSettings.CorporateSite

But I can't figure out how to use this to get a setting out. Settings.CustomSettings.CorporateSite("mySetting") doesn't seem to work, nor did Settings.CustomSettings.CorporateSite.GetStringValue("mySetting").

How do you use this in a macro?

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 10/24/2012 3:38:36 AM
   
RE:Site setting macro
Hi,

I don't know which version of Kentico are you running... but you should be able to use:
{%Settings.CustomSettings.xxx%}

Let me know if that works for you.

Best regards,
Martin Danko