Hi all, i am looking for a way to give editors the ability to add/update hierarchical lookup data in EditMode, that will be used throught the site. For example, i want the editor to be able to go into edit mode and add a car make and its related models.
|-Nissan| |-Almera| |-Primera|-Honda| |-Accord
This data will then be used in the site and populate dropdownlists. So if a visitor selects a make, a second dropdownlist will populate with the appropriate models.
I was thinking of trying to achieve this via a custom property but i'm not sure how to do this. It would be nice for it to render like the linkCollection property in edit mode.
Any help would be much appreciated.
We've used LinkCollections for this in the past, but this is a really flawed method, because they can pick ANY page (not just related car models), or they could add links to random hyperlinks, which won't help you either.
EPiServer has the Page property, but that only allows one link, and it doesn't allow you to limit what they link to.
To do this, we generally write a custom property. This allows us to:
EPiServer really needs a built-in property like this. You should be able to have a "Multiple Page" property, from which you can limit selections as I noted above.
Intergen released a Multi-page Property, but I didn't see how that was much different than the LinkCollection (very good chance I was using it wrong).
Itera released a Multi-Property, which allows you to roll-up multiple EPiServer properties in a single "container" property, which would likely work for you, but it still doesn't solve the problems of limiting selections.
Hope this helps.