Questions tagged [saveasactivity]

SaveAsActivity is a property on the SingleEmailMessage class that specifies whether the email message being sent is going to be saved as an activity on the related record.

Filter by
Sorted by
Tagged with
3 votes
1 answer
6k views

Send an Email functionality in a custom button of a custom object

Is there any way to utilize the email functionality of Send an Email button from Activities related list into a custom object? I'm trying with custom visualforce page and controller but not able to ...
Superman's user avatar
  • 337
4 votes
1 answer
5k views

SaveAsActivity is not allowed with whatId that is not supported as a task whatId

While trying to create a custom business rule using Apex I got the error: INVALID_ID_FIELD, SaveAsActivity is not allowed with whatId that is not supported as a task whatId. ...and found out that it ...
Renato Oliveira's user avatar