jolly
VIP Member
Hi all,
Sometimes you have values which are environment specific. A common example is a connection object. You can create several with the same name but different environment, and at runtime the system will use the one for the current environment. So you can create same-named SFTP connections for test and production SFTP servers.
My question is: how would you create email addresses (and subjects) for a particular function, for specific environments? Say you have a Message service request and in DV you want that to email to the developer, but in PD you want it to email to a customer? Similarly in DV you might want the text "TEST: " prepended to the subject, but nothing in PD.
I envisage this could be done with a Soft Coding record and a Cross Reference service request. It would need to have an Environment attribute like Connections do and be selected automatically at runtime by Environment.
But that's as far as I have got with this. Any suggestions?
Thanks
JohnO
Sometimes you have values which are environment specific. A common example is a connection object. You can create several with the same name but different environment, and at runtime the system will use the one for the current environment. So you can create same-named SFTP connections for test and production SFTP servers.
My question is: how would you create email addresses (and subjects) for a particular function, for specific environments? Say you have a Message service request and in DV you want that to email to the developer, but in PD you want it to email to a customer? Similarly in DV you might want the text "TEST: " prepended to the subject, but nothing in PD.
I envisage this could be done with a Soft Coding record and a Cross Reference service request. It would need to have an Environment attribute like Connections do and be selected automatically at runtime by Environment.
But that's as far as I have got with this. Any suggestions?
Thanks
JohnO