Hello all,
We have a suitelet that is working fine. In the form created by the suitelet are some links with parameters to another suitelet along with some other data and two fields with a start and end date for the search that is used for the data. So far so good.
Now on this 2nd Suitelet form that is displayed when clicking on one of the links is a button to return to the first suitelet. We need this to allow the user to go back and basically reload the first suitelet page because using the browser back button pops up a message about confirming form resubmission. We want to avoid that. So we have a button that calls a function in a client script which does a window.location.href. This works great but this would just reload the 1st suitelet using the original date values and not the last date values that were being used to gather the displayed data.
The problem is, how to get the start and end dates that were passed to the 2nd suitelet into the client script so they can be added to the href value so the original suitelet can be reloaded with the data for that date range again.
I feel like I am missing something obvious here but have been staring at this too long to see it.
Thanks,
Karen