Populating drop-down box
I see in V9 that it is no longer possible to populate a drop-down box with the contents of a memo field.
I have a requirement to scroll through a physical directory structure and present the user with a drop-down selection of the directory they'd like to access.
I'm using DirectoryInfo.GetDirectories to get an array so I can't use a BO to do this, has anyone got any suggestions (or better ideas)?
Comments
-
I would recommend writing a server script function which returns a Metastorm List data type (this is what the dropdown form field expects for list options - you can use Mstm.ListItems() in your function to convert the array to a List type). You can even "promote" the script function if you'd like, so that it shows up in the Expression Builder as an option for easy selection. Then, in the dropdown's list options, select that you'd like to get the options "from an expression which returns a list of values", and use the expression builder to call your function (either by typing it manually using Intellisense, or by selecting your promoted function from the choices at the top)
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 156 General Questions
- 149 Thrust Services
- 57 Developer Hackathon
- 37 Thrust Studio
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 33 eDOCS
- 190 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 10 XM Fax
- Follow Categories