function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Custom Button to point to a Specific Activity Record Type

Hello - i'm lost! I'm trying to create a custom list button that will live on the account page under the Activity Related List. I'd like the user to click this button and essentially 'Log A Call' using a specific record type. I'd also like to populate the subject line of the task.


Is this even possible? Any help would be appreciated - even resources on where to look. Thanks!




This should do it


New Task Button












This will only work on the Activities related list on the Account page.


Thank you! I did encounter an error when executed. I get the following error:


Expected ';'


I have the button set as a List button, Execute Javascript, OnClick JavaScript.


Also, any resources out there that might help me understand how to create these myself. I'm getting some of it, but some parts aren't making sense.


Thanks again for your help!