Home

Results 1 to 3 of 3

Thread: AttachmentInfo.isPersonal field

  1. #1
    Sean Kirkby NNTP User

    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.

  2. #2
    Preston Stephenson NNTP User

    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.


  3. #3
    Ray NNTP User

    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.




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •