Is it possible to use a User Event beforeLoad entr...
# suitescript
t
Is it possible to use a User Event beforeLoad entry point to kick a user back to the previous page based on a value?
b
you can use scriptContext.request.headers to look at the base_t cookie, which should contain information about the previous page
a more normal way would be to add client script which uses window.history.back()
t
Both good ideas, but I ended up just throwing an error when a user tries to access a page