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)
faq's
System
hi,
i have a faq data category which is a replicant field.if i added 5 question-answer pair for each dcr , i want to be able to sort the question-answer pairs depending on my requirement. if i want to display the 3rd pair, i should be able to get it.it kinda of needs a sort indicator but i'm lost here. the faq's are stored in the database.
Any ideas or suggestions, in this regard are greatly appreciated.
Thanks ....
Find more posts tagged with
Comments
Adam Stoller
I'm a little unclear on what you're attempting to do / what you have to work with as a foundation.
If the data is in a DB - are you querying the DB to populate the DCR via a callout? If so - the callout code could probably pre-sort the response from the DB before providing it to the UI.
--fish
(Interwoven Senior Technical Consultant)
MattP
Hmm, there are a lot of options here, but as Fish said, a little unclear on the specification. A few thoughts:
If it is the author that needs to sort (not the end user), consider making each question answer set a replicant, then they can be re-orderd as needed.
If you have a predefined set of FAQs as an insert (which comes from a DB), then what Fish said would work, have the user enter some parameter, then build your query from that.
If you can only return all of the FAQs (for whatever reason), then consider a check box that is a flag to show or hide certain FAQs
All in all, having each QA in as a sperate replicant will make your life easier.
Good luck
Matt
Matthew Petitjean
BOC Group
Murray Hill, NJ 07974 USA