Change a Constant to Environment Specific

Hello,

It is not allowing to change a constant(type document)to Environment Specific

Can we change a constant(Type document)already created with a value to an Environment Specific Constant?

Is der a way to do it ? 

 

Thanks,

Rohan N

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to Domen Jemec
    Also in the off chance that there's a valid use case requiring different Documents be referred to by some constant on an environment-by-environment basis, all this would require is to make an Integer type constant, set it to environment-specific, and point it at the Doc ID in question. Just note that if this document is being deployed from one environment to another, the value of the constant would need to be set after the deployment of the document to the new environment to ensure its ID is captured correctly.
Children
No Data