Specify the Message Class and Form for an Item Resulting from an Action
To specify the message class and the form for the resulting item
In the form region manifest XML file, specify the action as a child action element of the customActions element for that form region.
Specify the internal name of the action as the value of the name attribute of the action element.
Specify a string that represents the message class of the resulting item as the value of the child targetForm element of the action element.
The following example assigns replyToBlog
as the internal name of a custom action, and IPM.Post
as the message class of the resulting item. The resulting item will use the same form that a contact item uses by default:
<customActions>
<action name="replyToBlog">
<targetForm>IPM.Post</targetForm>
<!-- Further characterize this action -->
</action>
</customActions>
Note You can specify this
as the value of the targetForm element to use the same message class and same form as those that the form region is defined on.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for