directly editing "s" elements (Sitecatalyst)

Gold Contributor
Gold Contributor

Hi Jared,
we are trying to use a unique Sitecatalyst tag, to define settings using a lookup table, and then we populate main "s" settings (s_account, s.currencyCode, s.dynamicAccountList) directly in the data mapping.

My question is the following: when we directly set these elements, are we sure that they are not overwritten by the tag? I took a look at sitecat template and I saw at the top the statement of them, without taking care of a pre-existing value.

Many thanks,
Jarno

4 REPLIES 4

directly editing "s" elements (Sitecatalyst)

Employee Emeritus

Jarno,

The settings at the top of the template are set using the Tag Configuration values. If you are using mappings then the mapped values will overwrite the setting at the top of the template.

Mappings will always run after settings at the top of the template like in the SC template. This applies to all tags. This allows you to dynamically populate values via mapping.

Hope this helps.

directly editing "s" elements (Sitecatalyst)

Gold Contributor
Gold Contributor
Got it. Great! Thanks!

directly editing "s" elements (Sitecatalyst)

Gold Contributor
Gold Contributor
something that can help anyone "s.currencyCode" or "s.dynamicAccountList" dont work in data mapping. We have to refer to these variables without "s", so "currencyCode" or "dynamicAccountList" work.

directly editing "s" elements (Sitecatalyst)

Employee Emeritus
Thanks Jarno, You're correct. The "s." is not needed for any mapped variable. All variables should use just the variable name like "currencyCode" or "eVar." This gives the ability to change the object from "s" to something else if needed.
Public