Referencing to VOL or VKT

Hi,

I’m creating a new template which has variable field depending on which model of the NBB the company needs to publish. I’m trying to link those fields to the choice of model in the “indentification” of the workflow annual account. I’m using following code as reference but this doesn’t work:

{{period.custom.choice.mic_vol_vkt}}

Thanks in advance!

Hi Jonas,

Welcome to our community. In order to connect the information across different templates you need to use the following path so that liquid understands where to get that information from:

{{ period.reconciliations.*handle*.*variable_name* }}

In your particular case, I believe the right path would be this:

{{ period.reconciliations.vkt_1.custom.choice.mic_vol_vkt }}

Hope that works,

Best,
Borja

Hi Borja,

Thanks for your swift reply.

Does my variabel nam refer to the right information? I found this name in another template, so I guessed this was the right one. But this doesn’t seem to do anything.

I wanted to use the result in this “template”:
image

Thanks in advance!

Hi Jonas,

Since that particular variable is not an input field but a variable that is stored in a result tag, you need to use the following path in order to access to it:

{{ period.reconciliations.vkt_1.results.model_jr }}

To learn more about how result tags work you can have a look at this post:

Any questions, please let us know.

Best,
Borja