How to Create a Global Dropdown List (list options)

5 posts by 2 authors in: Forums > CMS Builder
Last Post: October 16, 2009   (RSS)

By yodare - October 14, 2009

Seems simple, but I think I'm looking at it the wrong way. . .

Trying to narrow down the reasons for my admin drop-down list issues. Maybe someone could clearly explain how to accomplish the following:

CMSB v1.33
For Admin (add/edit) area use only:
1. Create one "global" or "master" list of drop-down options (like 100 options)
2. Use/Load the above data for list options when creating the corresponding List Field within Section Editors.
3. When the "master" list changes, all drop-down list options of that field will update.

I tried many different approaches, but could only produce <select> for drop-down options. Additionally, I was able to load an option drop-down list of section record titles. DON'T WANT TO CREATE 100 RECORDS containing only 1 field for each list option.

It would be nice if I could create 1 record with a text area field called Options_01 and load list options per line or array.

Any detailed explanation regarding the creation of "global" data/variables would be a tremendous help.

Thanks!

Re: [yodare] How to Create a Global Dropdown List (list options)

By Chris - October 14, 2009

Hi yodare,

I think the best way to accomplish something like this would be use a section and create 100 records with 1 field each.

Is there some specific reason you don't want to do this?
All the best,
Chris

Re: [chris] How to Create a Global Dropdown List (list options)

By yodare - October 14, 2009

Hi Chris.

There are actually a couple reasons. . .

1. Don't really want to create 100 records and then cut/paste 100 times for each drop-down list item [crazy]. Unless I can batch records from text file array or CSV??
2. Would like to create some kind of template for "global" values. (ex: "Available Colors" list options for product A, B, and C would be different from products D, E, and F)

Lets say you have Possible Color Names based on each manufacturer. And you have a section to create records for products by each manufacturer. AND the Color Names change every year.

Is there any way to swap out last year's Color Names list with this year's Color Names list with a single copy/paste?

Thanks!

Re: [chris] How to Create a Global Dropdown List (list options)

By yodare - October 16, 2009

OK. . . Thanks for clearing that up. Sounds like I'll have to create a custom workaround. Just didn't want to "re-invent the wheel" if CMSB Admin area already had a simple way to import/input large global data lists.

Thanks Chris!