Create a custom child topic view
Although it's possible to create custom templates that show custom views of child topics, this process can be a fair amount of work. Another easier way is to use the system defined function ChildTopicsTableHtml() which can automatically create child topics.
For example, the StoredProcedure header template doesn't have any special formatting that shows child topics which are all the stored procedures in a database. The following expression embedded into the topic performs this task:
<<%= ChildTopicsTableHtml(oHelp,"DATASTOREDPROC","Procedure", "oHelp.FormatHtml(oHelp.oTopic.Body)","oHelp.oTopic.Syntax" )%>>
Make sure you write this as a single line. The output generated by embedding this string looks like this:
The ChildTopicsTableHtml() function takes four parameters:
A reference to the Help Builder object
A comma delimited list of child topic types that are used in the list
An expression to be rendered
This first item is truncated at the first paragraph.
Another expression to be rendered below the first
This expression is rendered on the next line.
The last two parameters are optional - if you leave them out the body topic is rendered.
Comment or report problem with topic