Grid Editor pulling information from a central location.
Hi
Unsure if this is possible, I would like to create a grid editor for google maps, I pretty much have this already however I would like to set some properties i.e. map name, zoom level, central lat long in the grid editor properties (that bits ok) but I would also like to pull other information that is managed from a central spot i.e. the website configuration section in my content tree.
I would usually do some like
var settings = Model.Root().Siblings().FirstOrDefault(x => x.ContentType.Alias == "websiteConfiguration");
var items = settings.Value<IEnumerable<IPublishedElement>>("myItems");
Error : does not contain a definition for 'Root'
How can I do the above in a grid editor??
Am probably thinking about this wrong but any help would be much appreciated.
Grid Editor pulling information from a central location.
Hi Unsure if this is possible, I would like to create a grid editor for google maps, I pretty much have this already however I would like to set some properties i.e. map name, zoom level, central lat long in the grid editor properties (that bits ok) but I would also like to pull other information that is managed from a central spot i.e. the website configuration section in my content tree.
I would usually do some like
Error : does not contain a definition for 'Root'
How can I do the above in a grid editor??
Am probably thinking about this wrong but any help would be much appreciated.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.