Question:
Why does the Back button navigate the user differently in My Schedule Account Hierarchy online and offline?
Answer:
The Back button behaves differently for Accounts with hierarchies on both platforms as intended. The My Schedule code checks different fields for online and offline usage:
Online
The Back button navigates to the previous view. This is due to the code keeping track of the stack of views directly.
Offline
The code checks for a Preferences record for the user in the local database when clicking the Back button:
- If the record exists, the code checks the Last_List_Scheduler_Account_List_vod__c field to determine the last list the user viewed, navigating the user back to the last view.
- If there is no Preference record, it defaults to All Accounts and navigates the user back to that view.
Related Documentation:
CRM Help Documentation: