|
|
|
date: 28 Sep 2005 09:11:05 -0700,
group: microsoft.public.exchange2000.development
back
Custom property on registration item.
Looking at Mindy Martin's book, p. 474, we see that custom fields can
be added to a registration item such that the value in the field can be
read from within the sink.
I'd like to use this to store some configuration info, so that if I
have to move the sink or mailbox to another server I won't have to
recompile it. Instead, I'll be able to change the configured values in
the registration item, and when the sink fires according to that new
registration it would pick up the new values.
We're not using ADO to add the fields. Instead, my Exchange guru has
used Exchange Explorer to add the new properties to the registration
item. He adds a string field -- "testfield" with a value "testvalue."
Then in the sink, after point to the object record, I try:
debug.print objrec.fields("testfield")
but no value is seen. Other delivered fields can be read -- from
address, subject, ets.
Am I misunderstanding the way this works? Does this require a specific
installation method?
date: 28 Sep 2005 09:11:05 -0700
author: Rick
Re: Custom property on registration item.
Hello,
could you please post more code of what you are doing? Where does this
objRec point to?
Greetings,
Henning Krause
MVP - Exchange
http://www.infinitec.de
"Rick" wrote in message
news:1127923865.274113.123480@g43g2000cwa.googlegroups.com...
> Looking at Mindy Martin's book, p. 474, we see that custom fields can
> be added to a registration item such that the value in the field can be
> read from within the sink.
>
> I'd like to use this to store some configuration info, so that if I
> have to move the sink or mailbox to another server I won't have to
> recompile it. Instead, I'll be able to change the configured values in
> the registration item, and when the sink fires according to that new
> registration it would pick up the new values.
>
> We're not using ADO to add the fields. Instead, my Exchange guru has
> used Exchange Explorer to add the new properties to the registration
> item. He adds a string field -- "testfield" with a value "testvalue."
>
> Then in the sink, after point to the object record, I try:
>
> debug.print objrec.fields("testfield")
>
> but no value is seen. Other delivered fields can be read -- from
> address, subject, ets.
>
> Am I misunderstanding the way this works? Does this require a specific
> installation method?
>
date: Wed, 28 Sep 2005 10:27:22 -0700
author: Henning Krause [MVP - Exchange]
|
|