0

I have created a transform file In Visual studio by right click on the config file and selected the Add Transform option instead of SlowCheetah.

enter image description here

After selection its creating the transformation file into the project for QA-CM, QA-CD, an etc environment defined into the configuration manager as below:

enter image description here

I am going to change the SITECORE_ENVIRONMENT value using the transformation file. Web.Config file has the below code:

enter image description here

And I have added the below code into the Web.QA-CD.config to update value:

enter image description here

When I right-click on Web.QA-CD.config file and select the Preview Transform option it shows me the correct result as below:

enter image description here

But if I publish the project in the QA-CD environment configuration then it does not reflect the updated value on the server web.config.

Sitecore: 9.3.0, Microsoft Visual Studio Professional 2017 Version 15.9.19

3
  • Are you publishing to your Identity Server?
    – Mark Cassidy
    Nov 26, 2020 at 6:14
  • Yes @MarkCassidy Nov 26, 2020 at 7:44
  • what the result on your Identity website folder? That value contains there? Mar 3, 2021 at 15:16

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.