Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use dynamic variables #1

Closed
bigperson opened this issue Dec 19, 2019 · 1 comment
Closed

Use dynamic variables #1

bigperson opened this issue Dec 19, 2019 · 1 comment
Assignees

Comments

@bigperson
Copy link

Hey. Thanks for your package.
I would like to know if it is possible to somehow use my variable values.

For example, routes, data from a model, etc.

@alies-dev
Copy link
Member

alies-dev commented Dec 19, 2019

@bigperson
Hey. Yes, it's possible,

  1. you can use then in a context of custom tool: https://docs.unlayer.com/docs/custom-tools plus Nunjucks syntax in your template: {{ data.your_variable_name }}

  2. Also please check https://docs.unlayer.com/docs/merge-tags and https://docs.unlayer.com/docs/design-tags probably they can also solve what you need

@alies-dev alies-dev self-assigned this Jan 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants