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)
inlines
System
Hi all,
have some inlines in a dct that read data from database to populate a listbox.
Every inline is a connexion to the database .Has someone any idea how i could handle kind of pool of connexions ..?
also i'd like to popup a message if we duno have any record in the database
thanks
Find more posts tagged with
Comments
Adam Stoller
If you're generating multiple, adjacent, DCT items through your inlines, you could consider merging them into one inline that inserts a larger portion of DCT code.
The pop-up probably won't work - but you could probably insert a text field or something within an error message in it.
--fish
(Interwoven Senior Technical Consultant)
Migrateduser
it could be but they wanna cleraly separate each inline representing a link
Adam Stoller
The only other suggestion I can think of (and this is completely off the top-of-my-head) would be to have a separate process the performs the connection to the DB and queries - and have your inlines contact that process rather than directly connecting to the DB and performing the query themselves.
There are probably a fair amount of design issues that would need to be considered here (such as how long one keeps the connection open, whether holding the connection open over an extended period of time causes problems somewhere else, etc.) - but ...
--fish
(Interwoven Senior Technical Consultant)
Migrateduser
totally agree
thanks