# How do I access Dataset fields inside the app itself

**URL:** <https://forum.bubble.io/t/how-do-i-access-dataset-fields-inside-the-app-itself/329197>\
**Category:** Need help\
**Created:** [July 1, 2024, 4:15pm UTC](https://forum.bubble.io/t/how-do-i-access-dataset-fields-inside-the-app-itself/329197 "2024-07-01T16:15:20Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dleaf](https://avatars.discourse-cdn.com/v4/letter/d/f19dbf/32.png) [@dleaf](https://forum.bubble.io/u/dleaf)\
**Post date:** [July 1, 2024, 4:15pm UTC](https://forum.bubble.io/t/how-do-i-access-dataset-fields-inside-the-app-itself/329197/1 "2024-07-01T16:15:20Z")

</div>

Is it possible to add variables in the live app? Meaning, is it possible that the user can write {{user.name}} in an input and then bubble will process it as his name?

I know these are basically the dynamic variables, but I want to make it a feature for the user to use inside the app itself rather than me in the editor

---

<div class="post-metadata">

**Author:** ![jobs](https://avatars.discourse-cdn.com/v4/letter/j/ebca7d/32.png) [@jobs](https://forum.bubble.io/u/jobs)\
**Post date:** [July 1, 2024, 4:17pm UTC](https://forum.bubble.io/t/how-do-i-access-dataset-fields-inside-the-app-itself/329197/2 "2024-07-01T16:17:46Z")

</div>

I don’t think you can do that without plugins and javascript.

---

<div class="post-metadata">

**Author:** ![ayfolut](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/ayfolut/32/180937_2.png) [@ayfolut](https://forum.bubble.io/u/ayfolut)\
**Post date:** [July 1, 2024, 5:25pm UTC](https://forum.bubble.io/t/how-do-i-access-dataset-fields-inside-the-app-itself/329197/3 "2024-07-01T17:25:13Z")

</div>

You can use the **:find and replace** operator.

 ![Screenshot 2024-07-01 at 6.21.34 PM](https://us1.discourse-cdn.com/bubble/original/3X/6/d/6d4c6644cccd292cfacdc539d5dd6cec944f89e7.png)

 ![Screenshot 2024-07-01 at 6.22.06 PM](https://us1.discourse-cdn.com/bubble/original/3X/5/7/57f4d028f8bd565288aaaec3c79757b34cd37f90.png)

See this very simple setup to see how it’s applied. Of course, depending on your use-case this could add multiple **: find and replace** operators, and even make the value be dynamic (as opposed to mine that’s hardcoded).

---

<div class="post-metadata">

**Author:** ![dleaf](https://avatars.discourse-cdn.com/v4/letter/d/f19dbf/32.png) [@dleaf](https://forum.bubble.io/u/dleaf)\
**Post date:** [July 2, 2024, 9:58am UTC](https://forum.bubble.io/t/how-do-i-access-dataset-fields-inside-the-app-itself/329197/4 "2024-07-02T09:58:58Z")

</div>

Any plugin suggestions?

---

<div class="post-metadata">

**Author:** ![dleaf](https://avatars.discourse-cdn.com/v4/letter/d/f19dbf/32.png) [@dleaf](https://forum.bubble.io/u/dleaf)\
**Post date:** [July 2, 2024, 10:03am UTC](https://forum.bubble.io/t/how-do-i-access-dataset-fields-inside-the-app-itself/329197/5 "2024-07-02T10:03:09Z")

</div>

See, I know I can do this but I’d rather find a way to do it more dynamically, I mean I might have hundreds of fields that I want people to have access to, so this is probably won’t be the best way unless there’s a way to loop through all the variables.

Have you tried using GHL before? There you are able to access all the fields and it will work anywhere you type it. I’m trying to do something similar

---

<div class="post-metadata">

**Author:** ![dleaf](https://avatars.discourse-cdn.com/v4/letter/d/f19dbf/32.png) [@dleaf](https://forum.bubble.io/u/dleaf)\
**Post date:** [July 2, 2024, 3:08pm UTC](https://forum.bubble.io/t/how-do-i-access-dataset-fields-inside-the-app-itself/329197/6 "2024-07-02T15:08:34Z")

</div>

The only way I was able to come up with till now is the following.

I created a data type called Variables, this data type contains a field name, field value and field type.  
Another called Templates and a list of Variables inside of it. I also added a list of Variables inside of the main data type I’m using, let’s say it’s called Company in our case and another in the User data type. I will store a Template of the fields I want each data type to have in the “Template” data type so I can make a copy each time a new user, a new company is created and paste it into the new entity.

So if a a new user is created they will have also a list of Variables that might contain, {{contact.first\_name}} in the field name and the actual first name in the field value, and will store many of these as required for email, phone number etc.

For the find&replace I found a plugin that does this action in a bulk, I will provide it with the field names that will be separated by commas as seen bellow:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/b/f/bfd0808b892544c8d6879c7559bb44a704a515c1.png)

of course I’ll be using the actual Data types I made and not hard code them.

Honestly this is the best I could come up with for now, any ideas will help.

Thanks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [September 9, 2024, 4:15pm UTC](https://forum.bubble.io/t/how-do-i-access-dataset-fields-inside-the-app-itself/329197/7 "2024-09-09T16:15:24Z")

</div>

This topic was automatically closed after 70 days. New replies are no longer allowed.
