When I assign a ToDo to an external user I would like to hide parts of the template that are for intrenal use only. Can I get the user information of the current user in a drop somehow so I can make an if statement like:
{% if user.email contains "@mycompany.com" %}
Show content
{% endif %}
Has there been a change that causes the user.email drop to stop working? All checks on this check have stopped working all of a sudden and fetching the field provides me with no data. Please help?!
The user.email drop still works, you can easily check this by printing {{ user.email }} in a document. Can you be more specific what check is not working, what did you expect to happen and what SF is showing instead?