Anonymous_User Absent Member.
Absent Member.
1369 views

AttachmentInfo.isPersonal field

The documentation for the AttachmentInfo class documents a new "isPersonal" field (boolean). The documentation says that:

"In GroupWise 8, users can add personal attachments to receive [sic.] items. This value is true if the attachment is a personal attachment."

(I think it should be /receive/received/ ...)

If I understand this right, there's only one AttachmentInfo object per message, right? (Which, itself, contains a collection of AttachmentItemInfo objects, one for each attachment...)

Assuming this is true, I have a few questions:
Is it possible to have personal attachments and non-personal attachments on the same message? If so, is this field just meant to mean "there are personal attachments present in the collection"?
Is there a way to tell if a particular attachment, represented by an AttachmentItemInfo object, is personal or not?
Wouldn't it make more sense to put the "isPersonal" property on an AttachmentItemInfo object, rather than an AttachmentInfo collection? (Or is it just that the documentation is wrong? I haven't examined the WSDL yet...)
Thanks.

--sk.
Labels (1)
0 Likes
2 Replies
Anonymous_User Absent Member.
Absent Member.

Re: AttachmentInfo.isPersonal field

The schema always trumps the documentation.
The isPersonal is on an AttachmentItemInfo element
which there is one per attachment.

It is possible to have personal and non-personal
attachments on a sent or received item.
You can only have personal attachments on draft
or posted / personal items.

I'll pass on the notes to correct the documentation.
I created bug 467985 to track the problem.

Thanks.
Preston

>>> On Wednesday, January 21, 2009 at 7:47 AM, Sean

Kirkby<skirkby@armordatasystems.com> wrote:
> The documentation for the AttachmentInfo class documents a new

"isPersonal"
> field (boolean). The documentation says that:
>
> "In GroupWise 8, users can add personal attachments to receive [sic.]

items.
> This value is true if the attachment is a personal attachment."
>
> (I think it should be /receive/received/ ...)
>
> If I understand this right, there's only one AttachmentInfo object per
> message, right? (Which, itself, contains a collection of

AttachmentItemInfo
> objects, one for each attachment...)
>
> Assuming this is true, I have a few questions:
> Is it possible to have personal attachments and non-personal attachments

on
> the same message? If so, is this field just meant to mean "there are
> personal attachments present in the collection"?
> Is there a way to tell if a particular attachment, represented by an
> AttachmentItemInfo object, is personal or not?
> Wouldn't it make more sense to put the "isPersonal" property on an
> AttachmentItemInfo object, rather than an AttachmentInfo collection? (Or

is
> it just that the documentation is wrong? I haven't examined the WSDL

yet...)
> Thanks.
>
> --sk.

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: AttachmentInfo.isPersonal field


Example:

You get an email with two attachments.
You use the GW 8 client to add 1 new attachment.
( Yes, you CAN actually do that now 🙂

Then if you get the AttachmentItemInfos
you will have 3 entries:
2 like before
and 1 just like the others only that the new field, isPersonal is true.

Beware: it is possible, that isPersonal returns null if false too.
( I think its a Boolean in Java WSDP 1.6 )

Regards,
Ray.

"Preston Stephenson" <PStephenson@gw.novell.com> schrieb im Newsbeitrag
news:4976E33E.07F1.0037.1@gw.novell.com...
> The schema always trumps the documentation.
> The isPersonal is on an AttachmentItemInfo element
> which there is one per attachment.
>
> It is possible to have personal and non-personal
> attachments on a sent or received item.
> You can only have personal attachments on draft
> or posted / personal items.
>
> I'll pass on the notes to correct the documentation.
> I created bug 467985 to track the problem.
>
> Thanks.
> Preston
>
>>>> On Wednesday, January 21, 2009 at 7:47 AM, Sean

> Kirkby<skirkby@armordatasystems.com> wrote:
>> The documentation for the AttachmentInfo class documents a new

> "isPersonal"
>> field (boolean). The documentation says that:
>>
>> "In GroupWise 8, users can add personal attachments to receive [sic.]

> items.
>> This value is true if the attachment is a personal attachment."
>>
>> (I think it should be /receive/received/ ...)
>>
>> If I understand this right, there's only one AttachmentInfo object per
>> message, right? (Which, itself, contains a collection of

> AttachmentItemInfo
>> objects, one for each attachment...)
>>
>> Assuming this is true, I have a few questions:
>> Is it possible to have personal attachments and non-personal attachments

> on
>> the same message? If so, is this field just meant to mean "there are
>> personal attachments present in the collection"?
>> Is there a way to tell if a particular attachment, represented by an
>> AttachmentItemInfo object, is personal or not?
>> Wouldn't it make more sense to put the "isPersonal" property on an
>> AttachmentItemInfo object, rather than an AttachmentInfo collection? (Or

> is
>> it just that the documentation is wrong? I haven't examined the WSDL

> yet...)
>> Thanks.
>>
>> --sk.



0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.