ApplicationTypeFieldData

Hierarchy

  • ApplicationTypeFieldData

Properties

clearFilter

clearFilter: function

The method allows you to clear the filter on the App type field.

 Context.fields.app_type.data.clearFilter();

Type declaration

    • (): void
    • Returns void

setFilter

setFilter: function

The method allows you to set a filter on a App Type field.

Important: The method sets a filter at the field level, not for the current form or business process. If filtering is no longer needed, use clearFilter. The method takes a function as an argument, which accepts CollFilterClosure. In FilterClosure you have access to the fileds of the app type, current context (e.g. of a business process), and global filter functions In the example below:

  • appTypeFields is the app-type fields;
  • context is the current context;
  • globalFilters is the global filter functions.
    Context.fields.app_type.data. setFilter((appTypeFields, context, globalFilters) => globalFilters.and(
       appTypeFields.namespace.eq('my_namespace'), 
       appTypeFields.code. eq(context.code) 
    )); 
    

Type declaration