Skip to main content
added 5 characters in body
Source Link
Hugo Santos
  • 2.3k
  • 1
  • 15
  • 38

I'm trying to get this given node value from the Sitecore configuration (Sitecore 9 instance).

My first approach was to read the configuration file on which this value is defined. Pretty standard...

The issue is that I just realized that a customer can add another configuration file to patch this value, what would make my first approach return a wrong value.

What is the best way of reading the final computed Sitecore configuration (what we see in the /showconfig.aspx)?

I'm trying to get this given value from the Sitecore configuration (Sitecore 9 instance).

My first approach was to read the configuration file on which this value is defined. Pretty standard...

The issue is that I just realized that a customer can add another configuration file to patch this value, what would make my first approach return a wrong value.

What is the best way of reading the final computed Sitecore configuration (what we see in the /showconfig.aspx)?

I'm trying to get this given node value from the Sitecore configuration (Sitecore 9 instance).

My first approach was to read the configuration file on which this value is defined. Pretty standard...

The issue is that I just realized that a customer can add another configuration file to patch this value, what would make my first approach return a wrong value.

What is the best way of reading the final computed Sitecore configuration (what we see in the /showconfig.aspx)?

Source Link
Hugo Santos
  • 2.3k
  • 1
  • 15
  • 38

How can I access the Sitecore 9 configuration values programmatically?

I'm trying to get this given value from the Sitecore configuration (Sitecore 9 instance).

My first approach was to read the configuration file on which this value is defined. Pretty standard...

The issue is that I just realized that a customer can add another configuration file to patch this value, what would make my first approach return a wrong value.

What is the best way of reading the final computed Sitecore configuration (what we see in the /showconfig.aspx)?