Highlighted
s0muel Absent Member.
Absent Member.
1198 views

C3PO add-in read invalid attachments count.

Good day.

I had a problem with reading attachments.
I Use C++ and "GW C3PO API" for creating add-in. Put button to toolbox at message edit form. ("GW.MESSAGE.MAIL" context).

So my problem is.

I create message and save it to draft folder.
Open message without attachments from draft folder and add some attachment.

On push my button using "GroupWise Object API" I read attachments, but count is 0.
If save message and push button again attachment count is 1.

Can I using "GroupWise Object API" read actual attachment count without saving message?
Can I some how handle process adding attachments to message?
Can I read some message property to know, that attachment count was changed?

I can save message in program, but I know nothing about changing of attachments, exist method CGWCommand::Validate but it raises on message dirty state changing (as i know, text changes and other message changes). It's not a variant put there message saving and save all time.

I can read actual attachment count using "Token APIs" but IF MESSAGE NOT NEW and it's ID not "X00" for GW7 (i am not sure for older versions) when GWClient closes RAISES EXCEPTION: "TPH error 0x00000cf6".

Does anybody had this problem? And knows how to solve it.
Thanx for all help and suggestion.

Regards Alex.
Labels (2)
0 Likes
1 Reply
Anonymous_User Absent Member.
Absent Member.

Re: C3PO add-in read invalid attachments count.

s0muel,

It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

Has your problem been resolved? If not, you might try one of the following options:

- Visit http://support.novell.com and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)

Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php

If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your Novell Product Support Forums Team
http://forums.novell.com/

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.