book
Article ID: KB0086385
calendar_today
Updated On:
Description
Resolution:
Description:
============
This article describes how to configure TIBCO Adapter for Infranet at Design-time & Runtime, so that the custom Infranet fields definition can be used by Infranet Adapter.
Environment:
===========
TIBCO Adapter(TM) for Infranet 5.x
All supported versions of Portal Infranet
Resolution:
==========
As Infranet Adapter 5.x are written by java language, in order to work with custom Infranet fields properly, we can perform the following steps in the deployment: -
1. By using Portal DeveloperCenter tool, generate InfranetPropertiesAdditions.properties and Java source files for all the custom fields;
2. Copy contents of the InfranetPropertiesAdditions.properties file and paste it in the Infranet.properties file, which was used by Infranet Adapter and located at %TIBCO_HOME%\adinfra\5.x\lib\; if you would like to re-import the opcode from html at design-time, you can make a new copy of this updated Infranet.properties file and locate it to %TIBCO_HOME%\adinfra\5.x\lib\palettes, so that the custom fields can also be identified at design-time.
3. Compile the Java source files of all the custom fields and make a jar file, like custom_flds.jar;
4. Copy the jar file to %TIBCO_HOME%\adinfra\5.x\lib\, so that the class definitions of these custom fields can be found at runtime; if you would like to re-import the opcode from html at design-time, you can make a new copy of this jar file and locate it to %TIBCO_HOME%\adinfra\5.x\lib\palettes, so that the class definitions of these custom fields can also be identified at design-time.
References:
==========
Portal Infranet Documentation -> Programmer's guide -> Customizing Portal server components -> Creating custom fields and storable classes for details on the same.
Issue/Introduction
How to configure TIBCO Adapter(TM) for Infranet for using custom Infranet fields at Design-time and Runtime