Any way to know the firm id

Hi,

Is there a way to know the firm id within a template?
I could not find the answer within the liquid documentation.

It would allow us to make a distinction between our Silverfin development and production environment. So that, when a user clicks on a link within a template, they are sent to the right application environment outside of Silverfin.

Hey @TimothyHaerinck

It’s not possible to access a firm ID in the template, but I’d suggest to add a configuration variable that you change depending on the environment so you can also use the correct link per env, this is also how I’m currently tackling it:

Kind regards
Wouter

Hi Wouter,

Thank you for confirming this. We have a similar solution in a shared part.
Just wanted to make sure we weren’t missing anything.

The only gripe I have with this is that we cannot push this part from our Github repo as it has to be different per environment.

Thanks!

Kr,
Timothy