creating custom provider using desktop channel wizard

Hi,

Is it possible for me to create a custom provider (channel) using the desktop channel wizard? The desktop channel wizard only has the option to create 3 types of channels (JSP, URL Scraper, Rich Text Format). Is it possible for me to create other type of channel besides the 3 specified using the wizard? Thanks a lot.

[342 byte] By [708909] at [2007-11-25 4:38:03]
# 1

You can create custom providers for that you just peruse the below statements

The following steps illustrate how the Domain Administrator develops the provider class, copies and compiles the java file, imports the XML file, and adds the channel to the Available Channels List and to the desktop.

1.Develop the provider class that extends the class ProfileProviderAdapter or ProviderAdapter

2.Copy the file under the path

/opt/SUNWips/sample/desktop/classes/com/iplanet/portalserver/providers/<doma in_name>/<provider_name_folder>

3.Set Shell Environment variables as given below

#JAVA_HOME=/user/jave; export JAVA_HOME

#IPS_BASE=<ipsbase>; export IPS_BASE

#PATH=/usr/ccs/bin:/<ipsbase>/SUNWips/bin:.:$PATH

#export Path

4.Develop the make file to compile the custom provider.

MakeFile

Include $(IPS_BASE) / SUNWips/sample/Makefile.include

CLASSPATH=$(BASECLASSPATH)

bytecode:

$(JAVA_HOME)/bin/javac classpath $(CLASSPATH) \

-d $(CLASSDIR) *.java

5.Compile the provider java file (<provider_name>. java) from the path

/opt/SUNWips/sample/desktop/classes/com/iplanet/portalserver/providers/<doma in_name>/<provider_name_folder> using the make file

#make bytecode

6.Create an XML file (also known as component) for the provider to register the provider to the iPS desktop. This XML file contains the attributes and privileges of the provider, which describes what the profile server must know about the component.

7.Use iPS ipsadmin utility on the command line to import the XML file into the Profile server, as specified below:

/opt/SUNWips/bin/ipsadmin -import <Component.xml>

8.Log in to the iPS Administration Console as the Domain Administrator at the URL,

http://<iPS_server_name:8080/console/><domain_name>

10.To make the channel visible to all the users in the domain, follow the below steps.

11.In the Task frame, click the Manage Roles & Users link to go to

Domain: <domain_name> page.

12.In the Domain page, select Applications and click the Desktop link to go to the corresponding page,

Domain: <domain_name>

Profile: Desktop

13.Under the Available Channels list, enter the Channel Name (component name) and the Provider Class Name. Click the Add button.

14.Select the newly added Channel and add it to the Selected Channels list.

15.Check the Apply changes to all subRoles checkbox for the changes to be effective in all subroles.

16.Click the Submit button at the bottom of the page. A message is displayed to indicate the successful update of the Desktop profile. Click the Continue button to go to the Desktop profile page.

708850 at 2007-6-29 3:09:53 > top of Java-index,Web & Directory Servers,Portal Servers...
# 2

HI,

You can add custom providers that you have created by using the ipsadmin command line tool. The desktop channel wizzard only supports URL scraping and RSS, as well as JSP, as many people may have a lot of these types providers to integrate. If you have created a custom java based provider, you need to refer to programmers guide, as you might have to set up some additional attributes for your custom provider. The portal server provider a set of API's to use when writing custom providers. You can also access documentation on the portal server using this URL:

http://profile_server_name:port/docs/en_US/

Hope this helps

chrismulderza at 2007-6-29 3:09:53 > top of Java-index,Web & Directory Servers,Portal Servers...