Eric Schultz
09/12/2023, 1:56 PMNElliott
09/12/2023, 3:45 PMSelcuk Dogru
09/12/2023, 7:56 PM${record.url}
AFAIK, it was returning the complete url (including the account id) to the record being printed. you can then differentiate if it contains “-sb” or any other validator you preferSelcuk Dogru
09/12/2023, 8:01 PM${record.url?lower_case?starts_with("<https://123456.app>")}
Eric Schultz
09/18/2023, 3:05 PMcompanyinfomration.companyid
string. and if its matches the sb account then show the watermark. Basically something like this:
<#if companyinformation.companyid == "12345_SB1">
<h1 id="watermarkbody" rotate="-30" valign="middle" align="center" style="color:red; font-size: 72px; position:absolute; z-index: 1000;">
SANDBOX
</h1>
</#if>
While not the ideal logic its working. I was hoping for something a bit more universal and not a "hardcoded" option. Thats why I was hoping for a runtime environment variable to determine Production or Sandbox or Release Preview
Thanks again for responding though.Eric Schultz
09/18/2023, 3:08 PM<#if companyinformation.companyid?contains("_SB")>