Can I sort values in a template field?

edited November 2018 in Questions
I have a template field which lists all child objects (permission sets) for a user. Can I order the values within the template field alphabetically? For example, if user Olya has 4 permissions (View Opps, Edit Accounts, Manage Templates, Delete Contacts) how do I get those 4 values in the field to be displayed alphabetically (Delete, Edit, Manage, View)?  

Comments

  • edited November 2018
    In the model which queries for the child records, sort the model by name.
  • edited November 2018
    Hi Michael,
    Thanks for the response! But I am not using a model for child records, I have only one model (users) and I'm pulling in fields from a child record through Fields>Child Relationships. 
  • edited November 2018
    In your Child Relationship, go to Properties and there's a spot to add the sort logic.
  • edited November 2018
    Thank you, John, that solved it!!
Sign In or Register to comment.