# How to get a list of properties from App Type?

**URL:** <https://forum.bubble.io/t/how-to-get-a-list-of-properties-from-app-type/162377>\
**Category:** Plugins\
**Created:** [July 30, 2021, 9:34am UTC](https://forum.bubble.io/t/how-to-get-a-list-of-properties-from-app-type/162377 "2021-07-30T09:34:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![andriy.bas](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/andriy.bas/32/75494_2.png) [@andriy.bas](https://forum.bubble.io/u/andriy.bas)\
**Post date:** [July 30, 2021, 9:34am UTC](https://forum.bubble.io/t/how-to-get-a-list-of-properties-from-app-type/162377/1 "2021-07-30T09:34:48Z")

</div>

Hello everyone!

Is there a way to get a list of properties from App Type field?

For example, I have a data\_source field where user can set their custom type:

 ![Screenshot 2021-07-30 at 12.30.31](https://us1.discourse-cdn.com/bubble/original/3X/4/5/45544bbe600d0d42dd96f44a3322a8d8987322f0.png)

I want to get all properties that this type can have, like:  
_properties.data\_source.listProperties()_

---

<div class="post-metadata">

**Author:** ![Kayami](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/kayami/32/111689_2.png) [@Kayami](https://forum.bubble.io/u/Kayami)\
**Post date:** [August 2, 2021, 10:20am UTC](https://forum.bubble.io/t/how-to-get-a-list-of-properties-from-app-type/162377/2 "2021-08-02T10:20:19Z")

</div>

what does the object look like if you `console.log` it? It might have some method that gives you the properties. I remember seeing something where you could input a field name as a string to get its value, so there must be a way to get the list of possible keys.

---

<div class="post-metadata">

**Author:** ![andriy.bas](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/andriy.bas/32/75494_2.png) [@andriy.bas](https://forum.bubble.io/u/andriy.bas)\
**Post date:** [August 2, 2021, 11:18am UTC](https://forum.bubble.io/t/how-to-get-a-list-of-properties-from-app-type/162377/3 "2021-08-02T11:18:11Z")

</div>

@Kayami Thank you for replying!  
Something like: ‘custom.{type\_name}’

---

<div class="post-metadata">

**Author:** ![jared.gibb](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jared.gibb/32/123329_2.png) [@jared.gibb](https://forum.bubble.io/u/jared.gibb)\
**Post date:** [August 2, 2021, 1:28pm UTC](https://forum.bubble.io/t/how-to-get-a-list-of-properties-from-app-type/162377/4 "2021-08-02T13:28:22Z")

</div>

First you need to create a data tape and then a data source for your input fields as shown here

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/b/9/b9d456fb92420255f54ae77935d961d2e57ca809.jpeg)

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/f/9/f95884aa4810ef11a9027164320807c9aeea829a.jpeg)

Once you have things set up like this you can get to the code and you could retrieve a list of all properties like this

```
//get all keys
const keyList = properties.things.listProperties()

//bring in the actual data
const allThings = properties.things.get(0, properties.things.length())

//create a Json representation of your data input
const jsonDataArray = allThings.map(x => {
    let obj = {}
    keyList.forEach(y => {
        Object.assign(obj, {
            y: x.get(y)
        })
    })

    return obj
})

```

---

<div class="post-metadata">

**Author:** ![andriy.bas](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/andriy.bas/32/75494_2.png) [@andriy.bas](https://forum.bubble.io/u/andriy.bas)\
**Post date:** [August 2, 2021, 1:51pm UTC](https://forum.bubble.io/t/how-to-get-a-list-of-properties-from-app-type/162377/5 "2021-08-02T13:51:44Z")

</div>

@jared.gibb Oh, got it, thank you so much!

---

<div class="post-metadata">

**Author:** ![fede.bubble](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/fede.bubble/32/215574_2.png) [@fede.bubble](https://forum.bubble.io/u/fede.bubble)\
**Post date:** [October 27, 2025, 9:12pm UTC](https://forum.bubble.io/t/how-to-get-a-list-of-properties-from-app-type/162377/6 "2025-10-27T21:12:38Z")

</div>

Closed on October 27, 2025, 9:12pm UTC


