Eric, I see where this method call should do the update. Is there a caching issue or something that needs to be flushed or call/activated once a new channel has been added? I know that the new information is there. I can see the entry in the database; however, the uPortal UI does not show this update. Any suggestions? Is there something in the code base that needs to be fixed or is there some type of property or preference that can be set in such a way to allow the new channel to show itself?
-- Here is a little background on what I am trying to accomplish. We need a simplified way to publish content based on existing portlets. We simply need to create a portlet that would let the user identify the base portlet, setup portlet arguments, then create the channel and have it available to the user immediately for use. Our customer base will not have the expertise to enter information for a given channel via the Admin interface for channel addition. With uPortal 2.6 this was quite simply done by creating an XML file and placing this in the properties/chanpub directory. Not having used 2.6 I would assume that the system then automatically created the new 'Channel' on the fly or was there another step involved here as well? Thomas On Tue, 2008-04-08 at 08:52 -0500, Eric Dalquist wrote: > Thomas, > > The information is likely cached in the ChannelRegistryStore. Looking at > CChannelManager there is a bit of code that does the following after > publishing a channel: > > Element channelE = channelDef.toXML(); > ChannelRegistryManager.publishChannel(channelE, > catIDs, groupMembers, person); > > catIDs is a String[] of category IDs the channel is a member of > groupMembers is a IGroupMember[] of groups that can render the channel > persopn is the IPerson that published the channel > > I hope that helps and I would also be very interested to see the end > result portlet that you're working on, it could be a great example for > future framework portlet development. > > -Eric > > Thomas S. Pangborn wrote: > > This does seem to work; however, once the new channel has been added I must > > shutdown tomcat and restart in order to see this as part of the channel > > list. > > > > Is there a way to import a channel programmatically and then have the > > system update so that the channel is available without having to restart? > > > > -- Join your friends and colleagues at JA-SIG 2008 - "Higher Education Solutions: The Community Source Way!" April 27th - 30th, 2008 in St. Paul, Minnesota USA Featuring CAS, DSpace, Fedora, Fluid, Internet2, Kuali, Sakai, uPortal, and more! Information/Registration at: http://www.ja-sig.org/conferences/08spring/index.html Subscribe to the conference blog, The Community Source Way http://jasig2008.blogspot.com, for news and updates about the event. Join the Conference networking site at http://ja-sigspring08.crowdvine.com/ You are currently subscribed to [email protected] as: [EMAIL PROTECTED] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev
