Idea: Model sorting action

edited October 15, 2019 in Ideas
It would be convenient to be able to sort a model by a specific field using the actions framework.
2 votes

Under Consideration Β· Last Updated


  • Matt SonesMatt Sones πŸ’ŽπŸ’ŽπŸ’Ž
    edited July 20, 2017
    You can run a one-line snippet, like so:
    skuid.$M('MyModel').orderByClause = 'Date__c DESC';
  • edited October 15, 2019
    That'll work! Thanks
  • Karen WaldschmittKaren Waldschmitt πŸ› οΈ ο»Ώ
    edited March 2, 2017
    Matt, thanks for sharing that awesome snippet!Β 

    Raymond, I will mark this as an idea for our developers to consider for future releases.

  • Conlan O'RourkeConlan O'Rourke ✭✭✭✭
    edited September 21, 2018
    What am I missing to make this work?

  • edited October 15, 2019
    I don’t see anything wrong with the snippet. Make sure all your names are correct. I can’t remember if you have to requery after the snippet. Give that a try.
  • Conlan O'RourkeConlan O'Rourke ✭✭✭✭
    edited November 28, 2017
    Doh, I was missing the follow-up query action. Thanks!
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!