Adam

Adam

Contact Me
Online Status
Offline
Date Last Visited
‎06-21-2023 02:49 PM
Level 2
Joined the community 13-03-2020
Rank Icon Level 2
  • Re: Getting values from Object by Object Key

    Initially it was all set up to store Config data using Script Tokens, but the API to manage that is gone so we switched over to Text Tokens. The config data is populated using the API from a different system, its not manually set.

    image_type
    Discussions
    2442 0 1
  • Re: Getting values from Object by Object Key

    I just tested something and I forgot to mention something important. #set($clinics = {})#set( $clinics.Map = {...} That is actually being pulled in from a text token. If i put that whole object in the same Email Script token, it seems to work fine. But this is not how its set up. The idea is that th...

    image_type
    Discussions
    2480 0 3
  • Getting values from Object by Object Key

    Hello! I'm trying to get an object value by its key. It seems to work fine if i manually get the ID (i.e. $clinics.Map.get("784423").NME) but when I use a variable instead of the manual number (i.e. $clinics.Map.get($string_item).NME) it always prints out the last item in the reminder list object, w...

    image_type
    Discussions
    2497 0 5
  • Re: Validate JSON Has Map Data

    I have no idea, and no way to tell. I just know all the IF statements and the code i used to even save a variable from the TEXT token doesn't work, and it works just fine if it's a SCRIPT token. That's the only thing that's changed. If i try to do a simple #set variable and then just print it, I ge...

    image_type
    Discussions
    1406 0 0
  • Re: Validate JSON Has Map Data

    It feels like since the switch to a TEXT token, like marketo isn't full recognizing this as an OBJECT and that, as soon as I try to assign a key into a variable or do an IF statement, it doesn't save it.

    image_type
    Discussions
    4195 0 2
  • Re: Validate JSON Has Map Data

    I don't understand what is going on, since switching from the SCRIPT token to store my hash, to storing it in a TEXT token (because we can no longer update SCRIPT with API) none of my IF statements that previously worked are functional (They always return FALSE), and I cannot find any way to get the...

    image_type
    Discussions
    4199 0 3
  • Re: Validate JSON Has Map Data

    Am I not in the velocity editor with this?

    image_type
    Discussions
    4253 0 5
  • Re: Validate JSON Has Map Data

    I"m sorry I don't understand what you mean on this? I shared the code I have do you see what I have wrong?

    image_type
    Discussions
    4259 0 7
  • Re: Validate JSON Has Map Data

    If that was the case it wouldn't be printing the value on the page.

    image_type
    Discussions
    4276 0 9
  • Re: Validate JSON Has Map Data

    No change: $lead.clinicId has a value of 123456 (Based on data in field and what i print on the page)Result clincID is null$lead.clinicId has no value in the marketo field (Based on data in field and what i print on the page)Result clincID is nullThe exact Code I did, CID is printing either the numb...

    image_type
    Discussions
    4507 0 11
Latest Tags
No tags yet
Sort By
  • Give Back 5 Give Back 5 Earned on 2.08.21 Earned by 1285 people Select to learn more
  • Give Back 3 Give Back 3 Earned on 2.08.21 Earned by 1980 people Select to learn more
  • Give Back 10 Give Back 10 Earned on 2.08.21 Earned by 721 people Select to learn more
  • Give Back 1 Give Back 1 Earned on 2.08.21 Earned by 4378 people Select to learn more
  • Ignite 1 Ignite 1 Earned on 2.08.21 Earned by 4280 people Select to learn more
  • Applaud 1000 Applaud 1000 Earned by 3 people Select to learn more
  • Applaud 5 Applaud 5 Earned by 1844 people Select to learn more
  • Validate 500 Validate 500 Earned by 2 people Select to learn more
  • Boost 250 Boost 250 Earned by 59 people Select to learn more
  • Affirm 250 Affirm 250 Earned by 4 people Select to learn more
  • Shape 50 Shape 50 Earned by 7 people Select to learn more
  • Give Back 400 Give Back 400 Earned by 33 people Select to learn more
  • Ignite 70 Ignite 70 Earned by 19 people Select to learn more
  • Publish 70 Publish 70 Earned by 4 people Select to learn more
  • Validate 250 Validate 250 Earned by 3 people Select to learn more
  • Give Back 300 Give Back 300 Earned by 41 people Select to learn more
  • Ignite 60 Ignite 60 Earned by 24 people Select to learn more
  • Engage 100 Engage 100 Earned by 3 people Select to learn more
  • Publish 60 Publish 60 Earned by 4 people Select to learn more
  • Applaud 500 Applaud 500 Earned by 16 people Select to learn more
  • Boost 100 Boost 100 Earned by 121 people Select to learn more
  • Affirm 100 Affirm 100 Earned by 14 people Select to learn more
  • Give Back 200 Give Back 200 Earned by 57 people Select to learn more
  • Ignite 50 Ignite 50 Earned by 30 people Select to learn more
  • Publish 50 Publish 50 Earned by 4 people Select to learn more
  • Give Back 100 Give Back 100 Earned by 108 people Select to learn more
  • Ignite 40 Ignite 40 Earned by 42 people Select to learn more
  • Publish 40 Publish 40 Earned by 6 people Select to learn more
  • Validate 100 Validate 100 Earned by 3 people Select to learn more
  • Boost 50 Boost 50 Earned by 204 people Select to learn more
  • Affirm 50 Affirm 50 Earned by 25 people Select to learn more
  • Give Back 50 Give Back 50 Earned by 176 people Select to learn more
  • Ignite 20 Ignite 20 Earned by 116 people Select to learn more
  • Publish 30 Publish 30 Earned by 7 people Select to learn more
  • Boost 25 Boost 25 Earned by 356 people Select to learn more
  • Affirm 25 Affirm 25 Earned by 51 people Select to learn more
  •  Give Back 25 Give Back 25 Earned by 332 people Select to learn more
  • Ignite 10 Ignite 10 Earned by 296 people Select to learn more
  • Affirm 3 Affirm 3 Earned by 214 people Select to learn more
  • Boost 3 Boost 3 Earned by 1809 people Select to learn more
Public Statistics
Date Registered ‎03-13-2020 09:04 AM
Date Last Visited ‎06-21-2023 02:49 PM
Total Messages Posted 22
Likes given to