Highlighted

directly editing "s" elements (Sitecatalyst)

Silver Contributor
Silver 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
Highlighted

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.

Highlighted

directly editing "s" elements (Sitecatalyst)

Silver Contributor
Silver Contributor
Got it. Great! Thanks!
Highlighted

directly editing "s" elements (Sitecatalyst)

Silver Contributor
Silver 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.
Highlighted

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.