<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Content Folder</title><meta name="generator" content="DocBook XSL Stylesheets V1.70.1"><link rel="start" href="index.html" title="dotlrn-Catalog Documentation"><link rel="up" href="ch01.html" title="Chapter�1.�DESIGN"><link rel="prev" href="ch01.html" title="Chapter�1.�DESIGN"><link rel="next" href="ch01s03.html" title="Roles"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Content Folder</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch01.html">Prev</a>�</td><th width="60%" align="center">Chapter�1.�DESIGN</th><td width="20%" align="right">�<a accesskey="n" href="ch01s03.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id901714"></a>Content Folder</h2></div></div></div><p>To store the the courses in the Content Repository, a content-folder with name and label "DotLRN Catalog" was created. Also the previously created content_type is registered to the folder, by calling to the same after-install apm-callback-proc as follows:</p><pre class="programlisting"> set folder_id [content::folder::new -name "DotLRN Catalog" -label "DotLRN Catalog"] content::folder::register_content_type -folder_id $folder_id -content_type "dotlrn_catalog" </pre></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch01.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="ch01.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="ch01s03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter�1.�DESIGN�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�Roles</td></tr></table></div></body></html>