Developer forum

Forum » Development » Global Area settings Item type question

Global Area settings Item type question

Dmitrij Jazel
Reply

Hi Guys,

Currently Area settings Item tipe does a good job of storing data, related to each of the Areas seperately, and that is OK.

But what if I need a simmilar functionality, with only difference that they are managed at one place.

F.Eks. If I have a value - and the same value must be applyed for all 3 areas. In current way of doing things - this value would have to be changed on all 3 areas manually.

If you change 1 value at 1 area - 2 others will not be changed.

What if I need a way to store value like that - and have only one place to change it.

 

I could think about different C#/XML global settings file, etc... But I would really like to have an item tipe for it.

Maybe something like this already can be found in DW, in that case would really like to hear about it.

 

/Dmitrij


Replies

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer

In code you can just take Frontend.Area.GetAreaById(TheIdOfYourSettingsArea).Item.Value("propertyName") and have all settings in an area for the purpose.

NP

Votes for this answer: 1
 
Dmitrij Jazel
Reply

Hi Nicolai,

Thanks for reply :) I see what you mean.

Will go that way about this issue than.

I guess I would need to create a separate section for "this kind of values" for that aswell.

 

On another hand, something like this kind of "global settings" item, could be something more people could use?

Quite sure every custom solution has a need for something like this. Not a requirenment, but just an idea :-)

 

/Dmitrij

 

You must be logged in to post in the forum