/ Forums / Advansys Formativ / Formativ Creator / ItemAddMimeXField GW 8.0.2 / Reply To: ItemAddMimeXField GW 8.0.2

#5650
Support 1
Participant

Thanks for your enquiry.

While I have not used this token previously, I think the following code sample might be helpful to get you started. It assumes you have a GroupWise message view open and that it is the active window. Therefore, if you create a Formativ applet based on this code, you will need to integrate the applet so an icon for it appears on the message view.

  iMsgID = GroupWise.ItemMessageIDFromView
  call GroupWise.ItemAddMimeXField(iMsgID, "X-Kingdom", "Animalia")
  call GroupWise.ItemAddMimeXField(iMsgID, "X-Phylum", "Arthropoda")
  call GroupWise.ItemAddMimeXField(iMsgID, "X-Class", "Insecta")
  call GroupWise.ItemAddMimeXField(iMsgID, "X-Order", "Lepidoptera")

The X-fields in this sample represent the butterfly’s scientific classification.

I hope this helps.

Regards,
Advansys Support