Custom Form - Calculation Field + Dynamic Host | Community
Skip to main content
Level 1
January 22, 2026
Question

Custom Form - Calculation Field + Dynamic Host

  • January 22, 2026
  • 1 reply
  • 29 views

Hi all,
 

I am using a calculated field to provide a clickable, concatenated Workfront Document Project Link that users can click when it is attached to a document. Currently, the URL’s environment is hard-coded as “my”. I know that $HOST is available for External Lookup fields and can retrieve the environment dynamically, but I’m looking for a way to both build the URL and retrieve the environment value dynamically.

 

Currently showing:

 

What I would like to achieve (dynamic environment):


 

By any chance, has anyone had a similar use case or thoughts they could share?
 

Thanks!
Wyatt

1 reply

Sven-iX
Community Advisor
Community Advisor
January 25, 2026

Hi ​@cdromronly  - 
You and me both, Wyatt!

I asked Support a similar question a couple months back - in our case it’s a external lookup where I want to pass the environment along (ie, so the scenario can tell it’s a call from prod or preview)

 

In your case, I wonder why you need to pass the “company” - that seems OK to hardcode since the form belongs to one account, not multiple. 

But I agree that $$HOST or $$INSTANCE should be a wild card that’s available to calc fields. 
File a ticket with Support, and create an Idea  entry here when they tell you there’s no way to use the instance in a custom field.

Level 1
January 26, 2026

Hi ​@Sven-iX ,
 

Just to clarify, the “company” was only used as an example for context, not because we actually need to support multiple companies or expose real company data. I agree that hardcoding that value is fine since the form belongs to a single account.
 

I fully agree on the broader point: having something like $$HOST or $$INSTANCE available in calculated fields would be very useful, particularly for distinguishing which environment we’re in when running external lookups or scenarios. I’ll raise this with Support and, if there’s no existing solution, create an Idea entry as suggested :)

@Donna_Boj tagging you for reference :)