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

Using other fields from the User Class #11

Closed
ialameh opened this issue Sep 25, 2020 · 4 comments
Closed

Using other fields from the User Class #11

ialameh opened this issue Sep 25, 2020 · 4 comments

Comments

@ialameh
Copy link

ialameh commented Sep 25, 2020

Hi,
Can I use other fields from the user class within the template? like firstname lastname and so on?

Sam

@ialameh
Copy link
Author

ialameh commented Sep 25, 2020

or at least can the extra options be a response from an api

@macarthuror
Copy link
Owner

Hello @ialameh ,

Yes, you can access other parameters of the user using the multi-template option.

@ialameh
Copy link
Author

ialameh commented Oct 1, 2020

please can you provide an example
if I have a field firstName in the Users class how I can access that

@macarthuror
Copy link
Owner

Sure, in that case you need to use ${user.firstName} in the html file.

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