Summary
IDOC files are extremely useful when creating Dynamic Server Pages. They give an ordinary contributor the power to create IdocScript resources and include them on other pages.
IDOC files are especially useful when creating HCSPs and HCSFs. It is a standard best-practice to define all the display logic with resource includes in IDOC files, instead of on the HCSP itself. You then call the docLoadResourceIncludes function on the HCSP to load those resources and display the form data. This procedure enables you to completely separate the data in the form from the logic that displays it. It also enables you to change the look and feel of the HCSP by simply checking in a new revision of the IDOC file.
You can also override standard resources with IDOC files. In doing so, you can completely override common resources (such as std_page_begin and std_page_end), but your modifications show only on the pages in which you explicitly load the IDOC resource. All other pages remain unaffected.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2006 Brian Huff
About this chapter
Cite this chapter
(2006). Leveraging IDOC Resources. In: The Definitive Guide to Stellent Content Server Development. Apress. https://doi.org/10.1007/978-1-4302-0178-6_6
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0178-6_6
Publisher Name: Apress
Print ISBN: 978-1-59059-684-5
Online ISBN: 978-1-4302-0178-6
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books