---
title: "How to configure Work Order Items filtering for Applicable Work Order Types and Product Types in Swift"
canonical: "https://help.fieldbuddy.com/space/FBDOCS/5383290896/How%20to%20configure%20Work%20Order%20Items%20filtering%20for%20Applicable%20Work%20Order%20Types%20and%20Product%20Types%20in%20Swift"
format: markdown
---
## Description

It is possible to apply filtering for Work Order Items for FIeldBuddy Swift based on Work Order’s Type (`FIELDBUDDY__Type__c)` or Product Type based on related Installed Product

That is done via respective multi-select picklist fields on Work Order Item object

- `FIELDBUDDY__Applicable_Work_Order_Types__c`
- `FIELDBUDDY__Applicable_Product_Types__c`

## Steps to configure

1. Enable in [appSettings/rules/items](https://upperdeck.atlassian.net/wiki/spaces/FBDOCS/pages/5670535260) following options
  1. **useApplicableWorkOrderTypes** - for filtering by Work Order Type
  2. **useApplicableProductTypes - **for filtering by parent Product** **`FIELDBUDDY__Product_Type__c`** **field
  3. **showApplicableTypesAsHashtags**  - for enabling hashtags to show for which types/products Work Order Item is applicable
2. Ensure that respective to above fields (`FIELDBUDDY__Applicable_Work_Order_Types__c` and/or `FIELDBUDDY__Applicable_Product_Types__c`) are in the Briefcase (what is [Briefcase?](https://upperdeck.atlassian.net/wiki/spaces/FBDOCS/pages/5367365675)) for Work Order Items options
3. For both options for online-search results, make sure that both fields are added to `onlineSearchResults.config.recipe.fieldsToRequest` in the  [https://upperdeck.atlassian.net/wiki/spaces/FBDOCS/pages/5377196080](https://upperdeck.atlassian.net/wiki/spaces/FBDOCS/pages/5377196080) screen
4. For **useApplicableProductTypes** to be working when creating / relating an Installed Product to a location-based work order,  Lookup to FIELDBUDDY__Product__c should be added  to [https://upperdeck.atlassian.net/wiki/spaces/FBDOCS/pages/5386108929](https://upperdeck.atlassian.net/wiki/spaces/FBDOCS/pages/5386108929)  to `FInstalledProducts` component to property `onlineSearchResults.config.recipe.fieldsToRequest`