Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Prepopulating the drop down.
System
Hi All,
I have in data directory, the press releases DCRs with headline element in it.
In another DCT, I want to add a dropdown which has values prepopulated with the headlines from these DCRs.
So, I want to do something like:
1. Get the directory listing from data directory.
2. Read headlines from these DCRs.
3. Prepopulate the dropdown using these headlines.
Please let me know how this can be achieved.
Thanks,
Ravindra
Find more posts tagged with
Comments
akshathp
I am sure you can get better answers here, but I thought of sharing a crude way to resolve this.
STEPS
1. You could use a callout in your datacapture and the script run by the callout should parse through all DCRs and gather a list that you wish.
2. Then the callout should have the code to put together an HTML drop down list with the information you collected.
Hope this helps!
Akshat Pramod Sharma
Interwoven Inc.
Migrateduser
Two other options:
1) inline
2) FormAPI with the callServer method to have a server side cgi to retrieve the list of options.
kwoo
Does anyone have the PERL code of the callout for prepopulating the drop down with values from a list of DCRs? Appreciate your help. -Ken