You need to sign in to do that
Don't have an account?

Campaign Hierarchy display/select via cascading menus or expandable tree view
I just did some work to take advantage of the tree nature of the Campaign hierarchy to make a cleaner display/selection mechanism for users. I thought I'd post it here and see what people thought. I used ExtJS and a custom controller to create:
- A cascading popup menu of campaigns (one menu per level)
- A tree view, similar to file/directory browsers, where more of the hierarchy is revealed as you expand "folders" (Campaigns with child Campaigns)
It looks like this:
I think this is an improvement over the built-in "search by name" popup in that users may not know what they're looking for in advance. The alternative of scrolling through all the names may be painful too (we have > 500 Campaigns).
The Apex class is here and the Visualforce page is here. A much longer blog post on this subject is here.
Would be very interested to hear people's impressions and suggestions.
Thanks,
Jeff Trull
Just rebuilt these as VF components for easier reuse - code and discussion here
Just revised the tree view to allow drag-and-drop editing of Campaign or Account hierarchies. Details here