Create new channel types

0
No votes yet

So I've learned that you can create new channel types.  Meaning that if you have a .car file that you've written that doesn't quite fit into the custom type, you can create a channel publishing document that tells Luminis to create a new channel type.

What's cool about this document is that you configure the wizard screens with all the options that you need to config for your .car file.  Textboxes, instructions, examples, default values can all be configured for the screens.  Attached is one that we created here in class so you can take a look at it.

After you have this file, throw it in your $CP_WEBINF/lib directory then you have to register it (actually make Luminis recognize its there).  You do that by jumping in the $CP_WEBINF/lib dir if you're not there  and first source the classpath with

. cpclasspath  (that's a period space cpclasspath)

then run this command :

java org.jasig.pipeline.portal.tools.RegisterChannelType [classname] [typename] [description] [cpdfileURI]
java org.jasig.pipeline.portal.tools.RegisterChannelType com.sct.uportal.channels.summitdemo.Channel 
"simple message" "simple description"
http://xxx.xxx.edu/tmp/mychantype.cpd

I'll post more detals later.

 -Jon