I am developing custom workflow for SharePoint 2013 in Visual Studio. I have created custom content type that inherits from "Workflow Task 2013", added some additional fields and added that as a Single Task to the workflow. It works great, but, now I would like to customize this form even more and it appears that it isn't possible.
First, I need to remove default buttons "Approve" and "Reject". In this article Microsoft says it is a simple task:
http://msdn.microsoft.com/en-us/library/office/dn551366%28v=office.15%29.aspx
But, it doesn't work. Like Andrew mentioned in his blog:
http://www.andrewconnell.com/blog/SP2013-Workflow-Custom-Task-Outcomes
But, his workaround is not a option for me.
What can I do, how can I remove these default buttons using Visual Studio? Is there some way to include javascript on that form?