Modifying the S_account through an Extension

Gold Contributor
Gold Contributor
Hi, guys, I have a sitecatalyst tag which has a report suite defined in that tag. I've also got a variable which is mapped to s_account. However i tried to add a new report suite through set data values and using the b object . This is not working. I've tried to add in more than one reportsuite by using my variable b['s_account']+=",testreportsuite". My reportsuite comes out as undefined. I believe this is because the extensions is proccessed before the tag. So my variable s_account outputs "undefined,testreportsuite". Why isn't the other report suite defined in the tag template not populating? Any help will be useful?
1 REPLY 1

Modifying the S_account through an Extension

Employee Emeritus
Hi David, The b['s_account'] var isn't created by the tag template. 'b' properties are only created by your data layer or extension, that's why it's undefined. To do what you're doing you'd need an extension running before this one that says b['s_account']= 'report_suite_name_here'
Public