-- -- /news-portlet/sql/oracle/news-portlet-create.sql -- -- Creates news portlet -- Copyright (C) 2001 OpenForce, Inc. -- @author Arjun Sanyal (arjun@openforce.net) -- @creation-date 2001-30-09 -- $Id: news-portlet-create.sql,v 1.1 2001/11/11 18:22:59 oracle Exp $ -- This is free software distributed under the terms of the GNU Public -- License version 2 or higher. Full text of the license is available -- from the GNU Project: http://www.fsf.org/copyleft/gpl.html declare ds_id portal_datasources.datasource_id%TYPE; begin ds_id := portal_datasource.new( data_type => 'tcl_proc', mime_type => 'text/html', name => 'news-portlet', link => 'news', description => 'News ', content => 'news_portlet::show', configurable_p => 't' ); -- community_id must be configured portal_datasource.set_def_param ( datasource_id => ds_id, config_required_p => 't', configured_p => 'f', key => 'community_id', value => '' ); -- shaded_p portal_datasource.set_def_param ( datasource_id => ds_id, config_required_p => 't', configured_p => 't', key => 'shaded_p', value => 'f' ); end; / show errors