# Liquid Object Reference (Report 'globals' but for themes & email templates)

**URL:** <https://forum.manager.io/t/liquid-object-reference-report-globals-but-for-themes-email-templates/35069>\
**Category:** Uncategorized\
**Created:** [May 20, 2021, 1:28pm UTC](https://forum.manager.io/t/liquid-object-reference-report-globals-but-for-themes-email-templates/35069 "2021-05-20T13:28:58Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShaneAU](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/shaneau/32/10122_2.png) [@ShaneAU](https://forum.manager.io/u/ShaneAU)\
**Post date:** [May 20, 2021, 1:28pm UTC](https://forum.manager.io/t/liquid-object-reference-report-globals-but-for-themes-email-templates/35069/1 "2021-05-20T13:28:58Z")

</div>

Requesting a list of liquid objects that can be used within Manager, in the varying situations that liquid syntax is available to us.

## The Problem

It is unclear which liquid objects are available, particularly for email templates.

For an invoice template (theme), we can check the example theme for a list of variables:

- fields
- business
- recipient
- etc.

For an email template, it is complete guesswork and likely different for each email template.

Sales Invoice email template:

- reference
- recipient
- … anything else?

Customer Statement email template:

- recipient
- … anything else?

## The Solution

I would like to request - as an idea/feature - some way for us to see a list of all top-level liquid objects that can be used in a theme or template. This could be solved in one of many ways:

- A list of all current objects on a guide page or in a forum post (which can quickly be outdated)
- An API endpoint which lists all currently-available objects (theoretically this would always be accurate as it’s generated directly from the code)
- Have a top-level liquid object (e.g. ‘objects’ or ‘liquid’) that is an array of available objects. This way we can do a `{% for object in objects %}` to discover what is available for use.

The last two options above are self-documenting, but require a code change to implement. The first option is simpler to do short-term, but could become outdated with application updates. Any of them would be useful, however.

## Why is this useful?

- Those of us that are creating invoice themes or email templates know what tools are at our disposal when trying to achieve a certain result.
- Those of us assisting others in this forum can more readily provide a solution that works (for themes/templates), or at the very least clearly state that something is not yet possible… with confidence that there isn’t a hidden liquid object we don’t know about that would help.

---

<div class="post-metadata">

**Author:** ![Ealfardan](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/ealfardan/32/63166_2.png) [@Ealfardan](https://forum.manager.io/u/Ealfardan)\
**Post date:** [May 20, 2021, 3:11pm UTC](https://forum.manager.io/t/liquid-object-reference-report-globals-but-for-themes-email-templates/35069/2 "2021-05-20T15:11:05Z")

</div>

You have been away just a bit too long to miss this 😁

> [@How to implement country-specific report in Manager](https://forum.manager.io/t/how-to-implement-country-specific-report-in-manager/30543/18):
>
> @Patch I think that’s what I will end up doing. @Davide the latest version (20.9.51) is exposing almost all the data in the database. To see what global variables are available, create report with just {{ globals }} which will reveal list of top-level global variables. Most of them are enumerable which means you would use them such as: {% for e in customers %} {{ e.Name }}\<br /\> {% endfor %} To discover what fields are available, there is new fields filter which can be applied to i…

Using report transformations, `{{ globals }}` should list most objects

and this

```auto
{% for i in arr_globals %}
{% unless i contains "business" or contains "report" %}
{{ [i] | first | fields }}
{% endunless %}
{% endfor %}

```

Should give all fields for most objects

---

<div class="post-metadata">

**Author:** ![ShaneAU](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/shaneau/32/10122_2.png) [@ShaneAU](https://forum.manager.io/u/ShaneAU)\
**Post date:** [May 20, 2021, 3:30pm UTC](https://forum.manager.io/t/liquid-object-reference-report-globals-but-for-themes-email-templates/35069/3 "2021-05-20T15:30:15Z")

</div>

That looks amazing, and potentially a path towards a solution!

However, it looks like this is not currently available for invoice themes or email templates. It’s only working as part of the Report Transformations feature.

Having `{{ globals }}` also work for themes and email templates will definitely solve this issue.

---

<div class="post-metadata">

**Author:** ![ShaneAU](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/shaneau/32/10122_2.png) [@ShaneAU](https://forum.manager.io/u/ShaneAU)\
**Post date:** [May 23, 2021, 4:04pm UTC](https://forum.manager.io/t/liquid-object-reference-report-globals-but-for-themes-email-templates/35069/4 "2021-05-23T16:04:37Z")

</div>

I have added to the topic title, so that it is more descriptive and takes into account that this feature currently exists for report transformations only.

---

<div class="post-metadata">

**Author:** ![eko](https://avatars.discourse-cdn.com/v4/letter/e/a8b319/32.png) [@eko](https://forum.manager.io/u/eko)\
**Post date:** [December 23, 2021, 8:14am UTC](https://forum.manager.io/t/liquid-object-reference-report-globals-but-for-themes-email-templates/35069/5 "2021-12-23T08:14:29Z")

</div>

I tried to create a new report transformation and added {{ globals }} as in screenshot below, but it does not list anything in view, what am I missing here?

 ![Screenshot 2021-12-23 at 09.13.55](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/c/5/c51a4eb9d35585e3be47936a21398fb5920b6437.png)

---

<div class="post-metadata">

**Author:** ![sharpdrivetek](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/sharpdrivetek/32/34244_2.png) [@sharpdrivetek](https://forum.manager.io/u/sharpdrivetek)\
**Post date:** [December 23, 2021, 8:31am UTC](https://forum.manager.io/t/liquid-object-reference-report-globals-but-for-themes-email-templates/35069/6 "2021-12-23T08:31:15Z")

</div>

> [@eko](#):
>
> what am I missing here?

`Report Transformations` was changed from a purely script based platform to a no-code platform.  
`{{ globals }}` used to work in the script based platform.

---

<div class="post-metadata">

**Author:** ![Patch](https://avatars.discourse-cdn.com/v4/letter/p/a183cd/32.png) [@Patch](https://forum.manager.io/u/Patch)\
**Post date:** [December 23, 2021, 8:38am UTC](https://forum.manager.io/t/liquid-object-reference-report-globals-but-for-themes-email-templates/35069/7 "2021-12-23T08:38:47Z")

</div>

I haven’t looked but this type of access is likely to require an “Extension” in Manager’s current implementation.

---

<div class="post-metadata">

**Author:** ![eko](https://avatars.discourse-cdn.com/v4/letter/e/a8b319/32.png) [@eko](https://forum.manager.io/u/eko)\
**Post date:** [December 23, 2021, 9:14am UTC](https://forum.manager.io/t/liquid-object-reference-report-globals-but-for-themes-email-templates/35069/8 "2021-12-23T09:14:06Z")

</div>

Oh yes, I had forgotten about that. So how do we get the global variables and detailed ones if this is no longer a possibility?

---

<div class="post-metadata">

**Author:** ![sharpdrivetek](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/sharpdrivetek/32/34244_2.png) [@sharpdrivetek](https://forum.manager.io/u/sharpdrivetek)\
**Post date:** [December 23, 2021, 9:56am UTC](https://forum.manager.io/t/liquid-object-reference-report-globals-but-for-themes-email-templates/35069/9 "2021-12-23T09:56:03Z")

</div>

> [@eko](#):
>
> So how do we get the global variables and detailed ones if this is no longer a possibility?

at present I do not know an alternate way to get them.

---

<div class="post-metadata">

**Author:** ![repeted](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/repeted/32/21630_2.png) [@repeted](https://forum.manager.io/u/repeted)\
**Post date:** [June 24, 2022, 5:05pm UTC](https://forum.manager.io/t/liquid-object-reference-report-globals-but-for-themes-email-templates/35069/10 "2022-06-24T17:05:23Z")

</div>

Any news on email templates guides or field references…

This is a huge part of the system not having a “Documented” way to reference fields on emails is frustrating…

We are not Software engineers we are bussiness owners and accountants and clerks, using this software…

---

<div class="post-metadata">

**Author:** ![Tut](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/tut/32/3286_2.png) [@Tut](https://forum.manager.io/u/Tut)\
**Post date:** [June 24, 2022, 5:26pm UTC](https://forum.manager.io/t/liquid-object-reference-report-globals-but-for-themes-email-templates/35069/11 "2022-06-24T17:26:59Z")

</div>

The fact that this topic is still in ideas means nothing has happened. Any change will be announced here.

---

<div class="post-metadata">

**Author:** ![repeted](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/repeted/32/21630_2.png) [@repeted](https://forum.manager.io/u/repeted)\
**Post date:** [June 24, 2022, 6:01pm UTC](https://forum.manager.io/t/liquid-object-reference-report-globals-but-for-themes-email-templates/35069/12 "2022-06-24T18:01:15Z")

</div>

Not a very a helpfull answer… But thanks.

---

<div class="post-metadata">

**Author:** ![Tut](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/tut/32/3286_2.png) [@Tut](https://forum.manager.io/u/Tut)\
**Post date:** [June 24, 2022, 6:33pm UTC](https://forum.manager.io/t/liquid-object-reference-report-globals-but-for-themes-email-templates/35069/13 "2022-06-24T18:33:22Z")

</div>

> [@repeted](#):
>
> Not a very a helpfull answer…

You asked if there was any news. I answered your question and provided additional information on where you could find future updates. If you have further questions, please ask; I’m sure someone will try to help. But if you don’t tell us what you want to know, no one can.

---

<div class="post-metadata">

**Author:** ![ShaneAU](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/shaneau/32/10122_2.png) [@ShaneAU](https://forum.manager.io/u/ShaneAU)\
**Post date:** [August 4, 2022, 4:06am UTC](https://forum.manager.io/t/liquid-object-reference-report-globals-but-for-themes-email-templates/35069/14 "2022-08-04T04:06:09Z")

</div>

I would like to once again reiterate my strong interest in this feature.

Currently attempting to edit an email template and I have no idea what fields are available to me. It’s complete guesswork.

Some kind of reference, whether it be directly on the page when editing an email template, or if it’s a variable that we can iterate over, would be immensely useful.

---

<div class="post-metadata">

**Author:** ![Ealfardan](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/ealfardan/32/63166_2.png) [@Ealfardan](https://forum.manager.io/u/Ealfardan)\
**Post date:** [July 5, 2026, 8:11pm UTC](https://forum.manager.io/t/liquid-object-reference-report-globals-but-for-themes-email-templates/35069/15 "2026-07-05T20:11:30Z")

</div>

Closed on July 5, 2026, 8:11pm UTC

Uncategorized topics older than 3 years with no recent activity
