Skip to Main Content
Status Planned
Categories SmartForms
Created by Guest
Created on Aug 5, 2021

Sort Order of Service Instance Methods

When creating SmartObject methods in the designer, Service Instances are not listed alphabetically which can make it difficult to find the instance you are wanting to refer to if you have a lot of services integrated.
  • Attach files
  • Guest
    Reply
    |
    Sep 8, 2022
    Run this from dev tools console after you've opened the 'Select a ServiceObject method pop up'

    $('ul#ServiceObjectMethodTreeBrowserTree ul li').sort(function(a,b){return ($(b).text() < $(a).text() ? 1: -1);}).appendTo('ul#ServiceObjectMethodTreeBrowserTree ul');