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
sasasasa 

URLFOR - brings the user to Error url no longer exist page then the correct target?

Hi,

      I'm using this string in my code to bring the user to another page, but i keep getting phased into the Salesforce's default "Error: URL no longer exist" page before getting my final page. This is happening to all my redirection. Can anyone help?

var homeurl='{!URLFOR( $Action.Report_Request__c.Tab, $ObjectType.Report_Request__c)}';
window.parent.location.href = homeurl;

thks
Lynn
sasasasa
Is anyone experiencing this in development as well?

the redirection phased into SF's "Error URL No Longer Exist" page before going into the target tab $Action.Report_Request__c.Tab

appreciate if anyone can help?