Promoted View Help
Dear All,
Can someone help with the following, I want some code which will do the following when it detects a user logged in:
On the promoted view set the grid view to be in a ascending or descending order by a set column
I need to do this by code due to the way the system is logged in as this user. This needs to be coded due to this as each time the user logs in its reset (due to other technical reasons which we do not need to fix).
Kind Regards
Daniel
Answers
@CaterhamITSupport - I have uploaded a script here that should help:
You'll need to load it in with loadScript. I would recommend setting the loadScript line to only load it on the guid of the promoted view page you're trying to sort.