We are overriding our “Task” Edit and View objects to go to a VisualForce page:
MDI.page
(Have been playing around with "View/Edit" vs distinguishing "View" and "Edit" separately and the results seem to be the same)
The page assignments are set up like so:
Both view and edit work as expected when the Task is suppose to load the Skuid Page (type .
However Tasks that are suppose to override to the standard layouts don’t work so well…
You can view the object fine, but when trying to edit the page it just redirects and ends back up on the view page.
Detailed Results:
If I try to go to a non skuid override task:
cORG_DOMAIN]/DTASK_ID]
It will first redirect to the page override (as expected):
cORG_DOMAIN]/apex/MDI?id=/TASK_ID]&sfdc.override=1
Then redirect to the view task page (as expected):
cORG_DOMAIN]/DTASK_ID]?nooverride=1&sfdc.override=1
When I click the edit button it redirects as follow:
cORG_DOMAIN]/apex/MDI?retURL=%2FtTASK_ID]%3Fnooverride%3D1%26sfdc.override%3D1&scontrolCaching=1&sfdc.override=1&id=&TASK_ID]
Which then redirects it to:
cORG_DOMAIN]/DTASK_ID]?nooverride=1&retURL=%2FtTASK_ID]%3Fnooverride%3D1%26sfdc.override%3D1&scontrolCaching=1&sfdc.override=1
The url were looking for should be something like this, but it doesn't seem to ever redirect to the edit page:
cORG_DOMAIN]/DTASK_ID]/e?retURL=%2FtTASK_ID]