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
Hi! First of all BEAUTIFUL PLUGIN!
I have a question (maybe a bug? I really don't know)...
I'm calling
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
nn.Children()
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! H5YR!
(and forgive my bad english)
Hi Stefano
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)
or
ConfigurationHelper.Value<T>(string key, T defaultValue)
Thanks,
Alex
Did you solve the issue? Please, share with community/
Oleksandr
ConfigurationHelper did not work in our environment until we specified the full namespace...hope this helps someone.
Delete.uConfiguration.Core.Helpers.ConfigurationHelper.Value<string>("master.mytab.mypropertykey");
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Persistant cache(???) using ConfigurationHelper.Content
Hi! First of all BEAUTIFUL PLUGIN!
I have a question (maybe a bug? I really don't know)...
I'm calling
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 applicationand 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! H5YR!
(and forgive my bad english)
Hi Stefano
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):
or
Thanks,
Alex
Hi Stefano
Did you solve the issue? Please, share with community/
Oleksandr
ConfigurationHelper did not work in our environment until we specified the full namespace...hope this helps someone.
Delete.uConfiguration.Core.Helpers.ConfigurationHelper.Value<string>("master.mytab.mypropertykey");
is working on a reply...