Skip to main content
Nintex Community Menu Bar
Question

Archived Tasks not redirecting to Standard Salesforce Layout

  • July 9, 2024
  • 2 replies
  • 0 views
  • Translate

Forum|alt.badge.img+3

We are using page assignments to redirect to Skuid pages for specific record types. With Tasks, we have only 1 record type assigned for View. All others Tasks redirect to the standard Salesforce page layout.

When coming across an archived Task for a record type that isn’t listed in page assignments, the page is showing “Data Not Available”, as in this issue: https://community.skuid.com/t/page-assignments-not-working-for-archived-tasks

The above issue seems to relate to using a Skuid page for an archived Task, where our issue is when we wish to use the standard layout for the archived Task.

URL when a view link is clicked for an archived Task with no page assignment:

https://c.eu1.visual.force.com/apex/TaskView?id=00TD000001Tbm3n&sfdc.override=1


URL when a view link is clicked for an active Task with no page assignment:

https://eu1.salesforce.com/00TD000001OMRf1?nooverride=1&amp;sfdc.override=1<br>

2 replies

Forum|alt.badge.img+13

Ross, can you please post the body of your TaskView Visualforce Page?

I was able to get this to work by removing the titleattribute from my Visualforce Page.

It seems like Salesforce throws a fit if you try to show any fields from an archived Task within the title of a Visualforce Page using the Task standard controller — if you just remove the title, or change the title to be something that does not contain any Task fields, it seems to work.

Here’s my working VF override page:

<apex:page standardController=“Task” tabStyle=“Task”
extensions=“skuid.Redirects” action=“{!IF(canUseSkuid,‘’,redirect)}”
sidebar=“false” readOnly=“true” docType=“html-5.0”>
<skuid:page objecttype=“Task” actiontype=“View”/>
</apex:page>

Also, I’m assuming you’ve already got this working, but make sure that the Task Model on your Skuid Page has the “Query Archived / Deleted Rows” rows property checked in the Advanced properties panel for the Model.

Translate

Forum|alt.badge.img+3
  • Author
  • 11 replies
  • July 9, 2024

Zach, this fixed it. Thanks for the swift response.

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings