Callout Utilities

The WCC base application provides some tools and “helper” methods that can be used in conjunction with the callout interface methods.

The available callout utilities are summarized below:

  • Generating a Filter Expression - From within a WCC application you can view and obtain filter expression syntax, as well as the XML that graphically represents the filter expression. These can then be passed in callout methods to create a new filter or to modify an existing filter by appending an additional expression.
  • appendFilterExpression - This method appends a specified filter expression string to the original filter expression returned in the oValue parameter of the filter override methods.
  • appendFilterXML - This method appends an XML string, that graphically represents a filter expression in the Filter dialog, to the original graphical filter XML returned in the oValue parameter of the filter override methods.
  • getLoggedInUserDetail - This method returns an object containing details of the organizational status of the currently logged-in user, including the groups and positions the user is a member of, as well as the privileges associated with the user.
  • getUserDetail - This method returns an object containing details of the organizational status of the specified user, including the groups and positions the user is a member of, as well as the privileges associated with the user.
  • getDisplayedListItems - These methods return properties for the items either displayed or selected in various types of lists.
  • doRefresh - This method is used to update a list, including execution of any callout methods, which may update the list filter, sort, or columns.