Method Community

 

Sortable DropDown Field

Last post 02-24-2015 10:44 AM by Method_Justin. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 02-23-2015 7:30 PM

    Sortable DropDown Field

    Is there a way to sort a DropDown field?

    I am creating a dropdown field that will be populated with our Solutions List. When a Solution is selected, the RecordID is saved to an ActionResult and then the associated Solution is inserted into an Email Body field.

    To make this easier to use, it would be very helpful to have a sorted list by SolutionType.

    P.S. I also highly recommend developing improved functionality around this type of situation. This would be a great feature for your Outlook Plugin.

  • 02-24-2015 10:06 AM In reply to

    Re: Sortable DropDown Field

    Answer

    Hi pdx971,

    The only way to sort a dropdown is to make the sorting field the first column of the dropdown. There unfortunately isn't a way to sort it by secondary fields, or a way to force a sort.

    What you can do is add your SolutionType field to the dropdown as a 2nd column, which will allow you to search the dropdown by that field. You can do this on Step 4 of 6 of the dropdown properties.

    Hope this helps.

    - Justin

    Justin Henderiks
    Technical Sales Specialist
    Method Integration Inc.
    Toll Free: 1.888.925.6238
    Local and overseas: 416.847.0400
    Fax: 416.640.6027
    E-mail: j.henderiks@method.me
  • 02-24-2015 10:23 AM In reply to

    Re: Sortable DropDown Field

    Thanks Justin.

    I added the solution RecordID as the first column so it can be assigned to an actionResult when the "text is changed." Then, using the actionResult.RecordID I do a lookup for the SolutionBody and insert it into the Email body.

    Is there a way to assign the Record ID to an actionResult without it being the first column for the dropdown?

    As with everything, the fewer the clicks/typing the more efficient and easier it is to use.

    Thanks,

    Chris

  • 02-24-2015 10:44 AM In reply to

    Re: Sortable DropDown Field

    Hi Chris,

    You can use the Retrieve Value From Screen action to save the RecordID of a dropdown to an Action Result, regardless of which field is used for display purposes.

    - Justin

    Justin Henderiks
    Technical Sales Specialist
    Method Integration Inc.
    Toll Free: 1.888.925.6238
    Local and overseas: 416.847.0400
    Fax: 416.640.6027
    E-mail: j.henderiks@method.me
Page 1 of 1 (4 items)