# Kinetic web, events, accessing user-defined fields in a rest response

**URL:** <https://www.epiusers.help/t/kinetic-web-events-accessing-user-defined-fields-in-a-rest-response/103840>\
**Category:** Kinetic ERP\
**Created:** [June 8, 2023, 7:34pm UTC](https://www.epiusers.help/t/kinetic-web-events-accessing-user-defined-fields-in-a-rest-response/103840 "2023-06-08T19:34:16Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![datadaddy](https://www.epiusers.help/user_avatar/www.epiusers.help/datadaddy/32/55900_2.png) [@datadaddy](https://www.epiusers.help/u/datadaddy)\
**Post date:** [June 8, 2023, 7:34pm UTC](https://www.epiusers.help/t/kinetic-web-events-accessing-user-defined-fields-in-a-rest-response/103840/1 "2023-06-08T19:34:16Z")

</div>

This is a follow-up to my previous post which I solved:

> [@Kinetic Event, accessing GetById erp-rest response...do I really need to use a view mapping in this simple case?](https://www.epiusers.help/t/kinetic-event-accessing-getbyid-erp-rest-response-do-i-really-need-to-use-a-view-mapping-in-this-simple-case/103731):
>
> This should be easy, but honestly the documentation for all these event action parameters is really lousy I’m using rest-erp action to call Customer.GetById I see from the debug/trace network tab, a proper response payload I want to grab a field from the response to pass along to the next action I’ve tried variations on “{response.Customer.Checkbox01}” (since that’s what the response payload looks like) in my next action which happens to be a condition, my setup of rest-erp action is simple…

I am now focused on this condition step

![image](https://www.epiusers.help/uploads/default/original/3X/e/f/efa68f3cf2581a3077b0e2dd4520ebe99d96ec87.png)

my condition works fine for a standard column, but for a user defined column it’s getting evaluated as ‘undefined’

Anyone use UD fields in these event actions ?

thanks

---

<div class="post-metadata">

**Author:** ![hmwillett](https://www.epiusers.help/user_avatar/www.epiusers.help/hmwillett/32/93207_2.png) [@hmwillett](https://www.epiusers.help/u/hmwillett)\
**Post date:** [June 8, 2023, 7:36pm UTC](https://www.epiusers.help/t/kinetic-web-events-accessing-user-defined-fields-in-a-rest-response/103840/2 "2023-06-08T19:36:06Z")

</div>

> [@datadaddy](#):
>
> Anyone use UD fields in these event actions ?

All the time. Can you provide more details?

---

<div class="post-metadata">

**Author:** ![hmwillett](https://www.epiusers.help/user_avatar/www.epiusers.help/hmwillett/32/93207_2.png) [@hmwillett](https://www.epiusers.help/u/hmwillett)\
**Post date:** [June 8, 2023, 7:39pm UTC](https://www.epiusers.help/t/kinetic-web-events-accessing-user-defined-fields-in-a-rest-response/103840/3 "2023-06-08T19:39:03Z")

</div>

Isn’t the “Box” in CheckBox01 capitalized?  
Not sure what’s in your condition, but your console-write shows it lowercase.

---

<div class="post-metadata">

**Author:** ![datadaddy](https://www.epiusers.help/user_avatar/www.epiusers.help/datadaddy/32/55900_2.png) [@datadaddy](https://www.epiusers.help/u/datadaddy)\
**Post date:** [June 8, 2023, 7:40pm UTC](https://www.epiusers.help/t/kinetic-web-events-accessing-user-defined-fields-in-a-rest-response/103840/4 "2023-06-08T19:40:02Z")

</div>

> [@hmwillett](#):
>
> All the time. Can you provide more details?

Yes, sorry, I meant to, but I got so excited when you replied to my prior post I lost focus

this is what the condition looks like:

 ![image](https://www.epiusers.help/uploads/default/original/3X/2/b/2bc8f87c802d7be75341e7ae0f56fb261427a49e.png)

I can see the customer record in the dataview in debug, and Checkbox01 is there, but the trace shows it’s ‘undefined’:

 ![image](https://www.epiusers.help/uploads/default/original/3X/d/9/d9612fead2f8c1f56f8817b05a440aee45532e20.png)

but if I try a non-UD field, for example “{Customer.CustID}” == “Test” it works just fine

---

<div class="post-metadata">

**Author:** ![hmwillett](https://www.epiusers.help/user_avatar/www.epiusers.help/hmwillett/32/93207_2.png) [@hmwillett](https://www.epiusers.help/u/hmwillett)\
**Post date:** [June 8, 2023, 7:40pm UTC](https://www.epiusers.help/t/kinetic-web-events-accessing-user-defined-fields-in-a-rest-response/103840/5 "2023-06-08T19:40:28Z")

</div>

Try {Customer.Check **B** ox01}

---

<div class="post-metadata">

**Author:** ![datadaddy](https://www.epiusers.help/user_avatar/www.epiusers.help/datadaddy/32/55900_2.png) [@datadaddy](https://www.epiusers.help/u/datadaddy)\
**Post date:** [June 8, 2023, 7:47pm UTC](https://www.epiusers.help/t/kinetic-web-events-accessing-user-defined-fields-in-a-rest-response/103840/6 "2023-06-08T19:47:20Z")

</div>

Oh my…I’m going to drink a lot tonight if that’s it…I could have sworn I kept seeing Checkbox01, but now I think I was wrong

trying

---

<div class="post-metadata">

**Author:** ![datadaddy](https://www.epiusers.help/user_avatar/www.epiusers.help/datadaddy/32/55900_2.png) [@datadaddy](https://www.epiusers.help/u/datadaddy)\
**Post date:** [June 8, 2023, 7:50pm UTC](https://www.epiusers.help/t/kinetic-web-events-accessing-user-defined-fields-in-a-rest-response/103840/7 "2023-06-08T19:50:11Z")

</div>

Yep, that was it 🍺 argh…thank you…so some of this is making sense, lol

---

<div class="post-metadata">

**Author:** ![klincecum](https://www.epiusers.help/user_avatar/www.epiusers.help/klincecum/32/100137_2.png) [@klincecum](https://www.epiusers.help/u/klincecum)\
**Post date:** [June 8, 2023, 7:50pm UTC](https://www.epiusers.help/t/kinetic-web-events-accessing-user-defined-fields-in-a-rest-response/103840/8 "2023-06-08T19:50:59Z")

</div>

![s-l1600](https://www.epiusers.help/uploads/default/original/3X/a/1/a111d1341264513863e4b3893ea7ae976e1cb09f.jpeg)

Get started.

---

<div class="post-metadata">

**Author:** ![hmwillett](https://www.epiusers.help/user_avatar/www.epiusers.help/hmwillett/32/93207_2.png) [@hmwillett](https://www.epiusers.help/u/hmwillett)\
**Post date:** [June 8, 2023, 7:51pm UTC](https://www.epiusers.help/t/kinetic-web-events-accessing-user-defined-fields-in-a-rest-response/103840/9 "2023-06-08T19:51:10Z")

</div>

![Bow Thank You GIF by Out of Office](https://media0.giphy.com/media/3ZZD9fwwaI8u7hQe1P/giphy.webp?cid=e90edba3diw470bsgokahup2fjzjvtpdeg80fy1oza1rabps&ep=v1_gifs_search&rid=giphy.webp&ct=g)

![Drunk That 70S Show GIF by Peacock](https://media2.giphy.com/media/ggHmCDJXx4om4hNWbM/giphy.webp?cid=e90edba3lw5ebxlp7qtmsc1koo0cv70o4p4fgesryr4tode6&ep=v1_gifs_search&rid=giphy.webp&ct=g)

---

<div class="post-metadata">

**Author:** ![samir.arevalo](https://www.epiusers.help/letter_avatar_proxy/v4/letter/s/bbce88/32.png) [@samir.arevalo](https://www.epiusers.help/u/samir.arevalo)\
**Post date:** [May 15, 2024, 7:02pm UTC](https://www.epiusers.help/t/kinetic-web-events-accessing-user-defined-fields-in-a-rest-response/103840/10 "2024-05-15T19:02:19Z")

</div>

I have the same problem for several days. I don’t understand yet what I could be doing wrong.

 ![image](https://www.epiusers.help/uploads/default/original/3X/5/e/5ef7a5effd2948b40a8a7cc09245c715146b3275.png)

 ![image](https://www.epiusers.help/uploads/default/original/3X/0/5/05160bb47716c9b466731c65f1c126430be88cec.png)

 ![image](https://www.epiusers.help/uploads/default/original/3X/9/f/9f83d1ea8eec15c30b26a5b7f5d1bc2c1d8b0df1.jpeg)

 ![image](https://www.epiusers.help/uploads/default/original/3X/8/f/8fd339adcadc3a23d3a67c6b6c7633e83fffc811.jpeg)

 ![image](https://www.epiusers.help/uploads/default/original/3X/f/f/fff8ce5f4cf10865bb5cd4c656294af6dd175c23.png)

 ![image](https://www.epiusers.help/uploads/default/original/3X/b/8/b8143f92b2eeef3678960d41d2094fcaf6ce87e8.png)

I also want to explain that I have tried with the erp-rest widget and I can’t map the data either.
