Waqar Sadiq
2008-01-28 16:17:01 UTC
IN developing a custom adapter, I need to add soem configuration properties
specific to my application. Following the patter described in the sample
file adapter, I added the following code segment to the TransmitLocation.xml.
<xs:element default="FrameworkConfig.xml" name="configFile" type="xs:string">
<xs:annotation>
<xs:appinfo>
<baf:designer xmlns:baf="BiztalkAdapterFramework.xsd">
<baf:displayname _locID="configFileName">Configuration
File</baf:displayname>
<baf:description _locID="configFileDesc">Full path to Janus configuration
file</baf:description>
<baf:category _locID="janusConfigurationCategory">Janus
Configuration</baf:category>
<baf:browsable show="true" />
</baf:designer>
</xs:appinfo>
</xs:annotation>
</xs:element>
When I configure this adapter in a send adapter, the category apperas to be
"Misc" instead of "Janus Configuration". Furthermore, the name of the
property is blank instead of "Configuration File" and also no description
appeara when that line is selected. However, whatever value is entered, I am
able to retrieve that value at runtime in my adapter code. Can somebody
point out to me what I am doign wrong?
Also is it possible to somehow add a browse file dialog box so that the user
can browse to the file instead of having to type it in?
Thanks for the help.
Waqar Sadiq
specific to my application. Following the patter described in the sample
file adapter, I added the following code segment to the TransmitLocation.xml.
<xs:element default="FrameworkConfig.xml" name="configFile" type="xs:string">
<xs:annotation>
<xs:appinfo>
<baf:designer xmlns:baf="BiztalkAdapterFramework.xsd">
<baf:displayname _locID="configFileName">Configuration
File</baf:displayname>
<baf:description _locID="configFileDesc">Full path to Janus configuration
file</baf:description>
<baf:category _locID="janusConfigurationCategory">Janus
Configuration</baf:category>
<baf:browsable show="true" />
</baf:designer>
</xs:appinfo>
</xs:annotation>
</xs:element>
When I configure this adapter in a send adapter, the category apperas to be
"Misc" instead of "Janus Configuration". Furthermore, the name of the
property is blank instead of "Configuration File" and also no description
appeara when that line is selected. However, whatever value is entered, I am
able to retrieve that value at runtime in my adapter code. Can somebody
point out to me what I am doign wrong?
Also is it possible to somehow add a browse file dialog box so that the user
can browse to the file instead of having to type it in?
Thanks for the help.
Waqar Sadiq