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)
Generating 1 HTML file using 1 PT, multiple DCRs
MOESG
Hi,
I'm tasked with modifying an existing Data Capture Form in my organisation's TeamSite server, and hope to seek some guidance or examples for achieving it. Below is a description of the task:
To split our existing single Data Capture Form into multiple DCFs, such that one DCF will be used to create the DCR for the navigation menu, and another to create the DCR for the main content.
For the author to create a new HTML page, he will be calling the DCF for the main content. In it, there will be a "browser" element where he can choose from a list of DCRs the one that contains the navigation menu info. The "browser" list will display all the names of the DCR files in a folder that stores navigation menu-related DCRs.
If no navigation menu DCRs have been created yet, the author can click a cgi-callout button beside the "browser" element to call out another DCF to create a new DCR to be stored in the navigation menu folder mentioned above. Once saved, this DCR will be automatically filled in the "browser" selection.
When the author has completed the main DCF and proceeds to generate the HTML page, the Presentation Template will do so by going through both the main DCR and the selected navigation menu DCR to generate that HTML page.
I hope someone has done this before and is able to share your codes for the following:
(1) Setting a browser element to display all DCR files in a folder
(2) Setting a cgi-callout button that can launch another DCF
(3) Setting a PT to generate a HTML file from multiple DCRs
Thanks in advance for the help rendered.
Chee Tian
Find more posts tagged with
Comments
Xilu
Very interesting, especially, (2) Setting a cgi-callout button that can launch another DCF
gzevin
I'vv done a number of the things in this process. i personally think that what you are asked to do is a flawed set of requirement, that have not been analysed properly.
In my opinion the following things need ti be taken into account
- how many wprkareas are used for this process (because what you have described will work only for 1 workarea)
- how many business groups are taking part in the process
- having separate DCTs for menus and content spells out SSI.
- I have implemented a file browser, ages ago. But for what you are going to do, a standard <browser> element will suffice. IMO, a menu browser should browse to STAGING, not the workarea
Greg Zevin, Ph.D. Comp. Sc.
Independent Interwoven Consultant/Architect
Sydney, AU
hemantxansa
I think DCRNode can work in this case.