Re: How can I use property schema in Adapters

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



okaminer wrote:
I would like to use the file adapter and set the file name to a name
from the message.

I would like to know if I can use property schema in the file adapter,
(or any other adapter) and if so, I would like to know the syntax of
using such property (What should I write in the file name place in
order to get this property schema value)


If I understand you correctly you don't really need to be aware of the property schema itself (as long as it's deployed, which, since you're dealing with system property schemas you don't need to worry about).


All you need to do is use the message's context object to read/write to the message's context. by specifying the correct context property and name space you actually refer to the property defined in the property schema.

Yossi Dahan
.



Relevant Pages

  • Re: Access Distinguished Property (Created in Custom Pipeline) In
    ... In an orchestra I have a property schema called ... which I then write to the EventLog. ... Context properties are not accessed through XPath. ... It's true that because of the way distinguished properties are implemented ...
    (microsoft.public.biztalk.general)
  • Re: Filtering on custom context properties
    ... does your Orchestration is in the same namespace as the Property schema? ... My next problem is how I can access the custom context ... in an expression shape it's unable to fine my custom property schema. ...
    (microsoft.public.biztalk.general)
  • Re: Accessing promoted envelope properties
    ... > Make sure you open up your property schema and make sure the property you ... > the property available in the context, not in the message body, so you can ... >> conext properties appear to be avaialbe using the msgname ...
    (microsoft.public.biztalk.general)
  • Re: How can I use property schema in Adapters
    ... okaminer wrote: ... I would like to know if I can use property schema in the file adapter, ... Yossi Dahan ...
    (microsoft.public.biztalk.general)
  • IsSensitive property in property schema
    ... Documentation says if you make it true, ... will not be visible in HAT or other such tools. ... and its context in file using HAT. ... I created the field in property schema and in pipeline ...
    (microsoft.public.biztalk.server)