How do I access Dataset fields inside the app itself

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

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

You can use the :find and replace operator.

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).

Any plugin suggestions?

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

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:

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

1 Like

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