-- -- /fs-portlet/sql/oracle/fs-portlet-create.sql -- -- Creates fs portlet -- Copyright (C) 2001 OpenForce, Inc. -- @author Arjun Sanyal (arjun@openforce.net) -- @creation-date 2001-30-09 -- $Id: fs-portlet-create.sql,v 1.4 2001/11/09 20:16:36 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 => 'fs-portlet', link => 'file-storage', description => 'Displays the given folder_id ', content => 'fs_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 => '' ); portal_datasource.set_def_param ( datasource_id => ds_id, config_required_p => 't', configured_p => 'f', key => 'folder_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