We are using the multisite feature and have the need to create settings that can be controlled in the Admin back end on a per site basis. This should function like the existing ones - Time zone, Social sharing and Sitemap - in that you can break inheritance from global settings for each individual site.
I have found this example on how to do basic settings and configurations. codeengage.com/.../getting-started-with-sitefinity-basic-settings-and-configurations
Is there something that could be changed in that example that would allow for custom settings to be managed on a per site basis? Or is there another approach to doing that?
Thanks, I definitely missed that part of the article. It does show up in the per site section now, and reads/writes the setting just fine.
However, I am having a problem reading the setting from widget code. I use this.
var config = Config.Get<MyModuleConfig>();
model.Message = config.ExampleConfigProperty;
This is pulling the value from the global setting, not the value that was explicitly overridden in the admin UI for the site.
I have read the link that you have shared and I noticed that the sample was in classic web form implementation. Do you have any sample implementation on MVC?