Highlighted
Visitor.
96 views

GroupWise 18 API Token ItemSetText() throw result “Token failed execution!”

Jump to solution

I created a 3CPO application that creates a button on a email window that lets me insert something into the existing message using the GroupwiseCommander and executing ItemSetText.

So if I want to modify a subject of email with (C# code), I get “Token failed execution!” in result:

 

GroupwareTypeLibrary.Message oMessage = (GroupwareTypeLibrary.Message)ml.Item(index);

GroupWiseCommander.GWCommander cmdrSave = new GroupWiseCommander.GWCommander();

tokenSaveCommand = "ItemSetText(\"" + oMessage.MessageID + "\"; 9; " + "\"" + newmessageText + "\")";

string resultSet = "";

cmdrSave.Execute(tokenSaveCommand, out resultSet);

resultSave has value "Token failed execution!" ..

Anybody any idea's?

 

Labels (2)
0 Likes
1 Solution

Accepted Solutions
Highlighted
Micro Focus Contributor
Micro Focus Contributor

Re: GroupWise 18 API Token ItemSetText() throw result “Token failed execution!”

Jump to solution

This token won't work on existing items unless they are personal... 

View solution in original post

1 Reply
Highlighted
Micro Focus Contributor
Micro Focus Contributor

Re: GroupWise 18 API Token ItemSetText() throw result “Token failed execution!”

Jump to solution

This token won't work on existing items unless they are personal... 

View solution in original post

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.