1 Reply Latest reply on May 4, 2011 2:34 PM by philmodjunk

    Task Management Starter - Add and sort by due date in "Task List" layout

    AaronWilliams

      Title

      Task Management Starter - Add and sort by due date in "Task List" layout

      Post

      Almost done getting the "Task Management" starter ready to go for us (thanks to some awesome help from here). One last question:

      On the "Record List - Tasks" layout, I figured out how to add the task's due date to the table, but how do I make the list sort by the due date like the others do?

      Thanks in advance!

        • 1. Re: Task Management Starter - Add and sort by due date in "Task List" layout
          philmodjunk

          I assume you are asking about the buttons and fields along the top where you can click them and get different sort orders? (You can always sort this list by selecting sort from the Records menu, but must assume you want to add a sort button like the others.)

          These buttons are invisible buttons hidden behind "hilite" fields and layout text, so selecting them to look at can be a bit of a challenge. Each runs one of the sort scripts found inside the Tasks | Action folder when you open up Script Manager. You'll want to examine those scripts and figure out how they work. Each uses a pair of fields, a global one to track the sort status for that button and a calculation field to display the sort icons you see left of the column labels. You'll need to define a pair of fields for your new sort button and script to serve the same purpose and place the highlight field on the layout just like the others.