Skip to main content
  • 144 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 89.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 54.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints 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

Publish with us

Policies and ethics