We have a common UI pattern we use where a Saved Search acts as a working list with a link (Formula(text)) column will take a user to a SuiteLet to perform a task, then upon completion they are redirected back to the saved Search where the item they just processed is filtered out. It works well and is easy to setup.
However.... I've recently been asked to persist the sorting across the list/detail trip. In other words, when the user is redirected back to their "working list" the same sorting they had previously used (by clicking the column headers) would be restored.
I thought this would be easy, I figured I would pull the REFERRER header from the nlobjRequest object and then parse out the 'sortcol' and 'sortdir' parameters and pass along to nlobjResponse.sendRedirect(). The problem is that the REFERER header is null! Why? Am I losing it? Should I not be able to pull the REFERER from the nlobjRequest instance when a SuiteLet is requested?