Tagged Questions

3
votes
2answers
53 views

Variable in .pick() failing

I have a hashmap in the global block, and I am trying to access the values from the pre-block. I am using pick to get the domain information and store it in a temp variable foundDo …
2
votes
3answers
55 views

Convert string to all lowercase

Question Is there a way in the pre block of a rule to convert a string to all lower case? Background I have a regular expression that returns parts of a string and sometimes the …
2
votes
1answer
68 views

Emitted JS doesn’t have access to pre block variables?

I have a simple app where I am trying to access some variable values set in the pre block from the emitted JS. Why isn't this working? Note: because it appears that my emitted JS …
2
votes
1answer
42 views

Global hashmap access from pre-block

I have a hashmap in the global block, and I am trying to access the values from the pre block, but it is returning an empty array when i use pick, or acxiomChicago.domain. domain i …
1
vote
1answer
52 views

What is the scope of the variable set in the “setting” clause?

I've been trying to troubleshoot some KRL and I have a question about the scope of the variable that are set in the "setting" clause. For example, the following code runs just fin …
0
votes
2answers
63 views

Is there a better way to pick array data than this?

I have a dataset that is pulling from a YQL I wrote that returns JSON. I then need to pull a part of each item in the array of items returned in the JSON. The way I did it works bu …
0
votes
1answer
22 views

Can I run JavaScript in the pre block of my rule?

I want to be able to do some calculation of data before it gets inserted into the browser for use. Can I run JavaScript in the pre block to do that?
1
vote
2answers
53 views

using geo targetting in an emit

Ok so here is a new question, I want to be able to use an geo targeting in my emit statement. Here is what my code looks like right now: select using "google.com|yahoo.com|bing.co …
1
vote
2answers
40 views

stored regex data in pre

Ok here is an interesting question, that may already be answered. I want to be able to to use data that I stored in my select setting statement with in my pre. IE: select using .g …