BizTalk Server General - Categorizing adapter endpoint properties

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > August 2005 > Categorizing adapter endpoint properties





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Categorizing adapter endpoint properties
okaminer

2005-08-25, 7:48 am

Hi
I'm creating my first adapter
When I created the endpoint properties they all seem to be in the GUI
under the same category

How do I seperate the properties in the GUI to different categories?
For example: in the FTP adapter you two group of properties firewall
properties and FTP properties.

Tomas Restrepo \(MVP\)

2005-08-25, 7:48 am

okaminer,

> I'm creating my first adapter
> When I created the endpoint properties they all seem to be in the GUI
> under the same category
>
> How do I seperate the properties in the GUI to different categories?
> For example: in the FTP adapter you two group of properties firewall
> properties and FTP properties.


You need to tell biztalk the category in your adapter configuration schema
(xsd), by using biztalk adapter framework (BAF) schema extensions, like
this:

<xs:schema xmlns:baf="BiztalkAdapterFramework.xsd"
xmlns:b="http://schemas.microsoft.com/BizTalk/2003"
elementFormDefault="unqualified"
id="TransmitHandler"
xmlns:xs="http://www.w3.org/2001/XMLSchema">

....
<xs:element default="false" name="logMessages"
type="xs:boolean">
<xs:annotation>
<xs:appinfo>
<baf:designer>
<baf:category>Endpoint Configuration</baf:category>
<baf:displayname>Log to Event Log</baf:displayname>
<baf:description>Indicates whether to log an entry
on the Application Event Log for each message transmitted</baf:description>
</baf:designer>
</xs:appinfo>
</xs:annotation>
</xs:element>
....

Notice the <baf:category> element...


--
Tomas Restrepo
tomasr@mvps.org
http://www.winterdom.com/


okaminer

2005-08-31, 2:50 am

Hi first of all thanks a lot for replying

Second, may be it is because I'm new but bare with me.

Let say I have two section in the TransportLocation schema

1) Destination
a) Path
b) FileName
2) Credentials
a) User
b) Password

I do I Insert this parameters in the schema you have just given me?

Again thanks a lot

okaminer

2005-08-31, 2:50 am

Correction for my last reply

I try to create the TransmitLocation schema and not the
TransportLocation (Because there isn't one)

Tomas Restrepo \(MVP\)

2005-08-31, 7:49 am

Okaminer,

> Hi first of all thanks a lot for replying
>
> Second, may be it is because I'm new but bare with me.
>
> Let say I have two section in the TransportLocation schema
>
> 1) Destination
> a) Path
> b) FileName
> 2) Credentials
> a) User
> b) Password
>
> I do I Insert this parameters in the schema you have just given me?


No. I didn't post a complete schema, just the relevant portion. Create your
schema normally, then just add for each element (i,e,, each of the fields
you are defining) the necessary annotations to add description and category
to it, which is what I showed how to do with my schema fragment.


--
Tomas Restrepo
tomasr@mvps.org
http://www.winterdom.com/


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com