-
Topic
-
Hi
I have been using Formativ to create a link between my Comms Log (a VB app) and the user’s Groupwise emails.
In order to be able to locate a given email that ‘belongs’ to the Comms Log I was setting the View Name field to an unique identifier. My Formativ Applet could then determine how to handle the email if it saw the Id in the View Name field.
I have now noticed a side effect of setting the View Name. My outgoing emails no longer look like outgoing emails in my Sent Items. They look more like ‘new’ emails (the To/CC/BC/Subject header are still entry boxes rather than a summary). The emails still can’t be edited so in some respects it doesn’t matter.
I would prefer to find a better way of doing it now as if using the View Name has caused this problem, it may cause others down the line.
Looking at my options the best way should be to add a custom field to my email and use that for my identifier.
I have successfully managed this for emails that have already been saved (and therefore have a Msg ID) but I need to be able to add the field to the composing email.
I know this can’t be done directly but I am happy to force a “save to draft” as long as the user isn’t bothered by it.
This command Groupwise.ItemSaveMessageDraft(FolderPath variant) should do that I believe but I can’t get it to work. To be honest I am not sure what the FolderPath variant should be set to.
I tried “Work In Progress” and also fgwWork but neither appear to work.
What does it mean by the ‘current message’ (in the help)? I really need to be sure that it is going to definitely save my message (which I have a variable of oMsg for) rather than some other message.
If there is a better way of attaching an Id to a new email (e.g. some other little used field that we could live without having for it’s original purpose) then please let me know. I don’t really want to ‘trust’ such things as matching the subject and date/time fields to locate an email.
Thanks
Simon
- You must be logged in to reply to this topic.