Dynamic channel creation

Hi,

Is it possible to create a channel dynamically at runtime in the Portal Server 7. The situation is like this. User fills up a form and on submit, a new channel is created with the details of the form. Similarly, new channels get created as many times the user fill the form and submits. This is like duplicating the functionality of the psconsole when the form is submitted. I think this should be possible, after psconsole exists :). Can anybody tell me whether Portal Server provides any kind of desktop administration APIs. I don't know what to call them, but something that helps create channels on the fly by the end user.

Thanks in Advance,

Avishek

[684 byte] By [Avisheka] at [2007-11-27 9:43:22]
# 1
You might want to look at the Sun Portal Command Line reference guide.You can download it from Sun Site.You can use a psadmin command to add a new channel at run time.Hope it helps!
deepshara at 2007-7-12 23:48:35 > top of Java-index,Web & Directory Servers,Portal Servers...
# 2

Yes, this is possible. It is implemented within the developer sample in the JSPCreateChannelContainer. See /var/opt/SUNWportal/portals/myPortal/desktop/developer_sample/JSPCreateChannelC ontainer. (on Solaris).

To see this container in action, login to the developer sample, click Content while looking at the My Front Page tab, then click Create a New Channel. That takes you to the JSPCreateChannelContainer.

To see what Provider API methods are called to implement this, just look at the JSPs in the directory above - the functionality is all implemented within the JSPs.

HTH.

Tom

Tom.Mueller@sun.coma at 2007-7-12 23:48:35 > top of Java-index,Web & Directory Servers,Portal Servers...