Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
First of all BEAUTIFUL PLUGIN!
I have a question (maybe a bug? I really don't know)...
var nn = ConfigurationHelper.Content("my.node.key");
in a SurfaceController.
When I retrieve the children nn.Children() few rows after, the items returned change only if I rebuild my application
and they don't when I publish(new or existing)/delete a node.
If I use
var ni = ConfigurationHelper.Value<int>("my.node.key");
var nd = Umbraco.TypedContent(ni).Children();
the items returned change as I expected (everytime I publish/edit/delete a node).
I guess if I'm doing something wrong and/or the plugin behave as expected.
Thank you for this very useful plugin!
(and forgive my bad english)
All data is stored in App_Data\uConfiguration\ folder in JSON format
You can get setting value by key in several ways:
For simple types (string, int, double, etc):
ConfigurationHelper.Value<T>(string key, T defaultValue)
Did you solve the issue? Please, share with community/
ConfigurationHelper did not work in our environment until we specified the full namespace...hope this helps someone.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted