---
title: "installedProducts"
canonical: "https://help.fieldbuddy.com/space/FBDOCS/5671452675/installedProducts"
format: markdown
---
Allows to configure various settings for Location-based work orders and the installed products linked to them.

<details>
<summary>Sample config from reference</summary>

```
installedProducts: {
  enableSorting: [
    "Name",
    "FIELDBUDDY__Installed_Product_Number__c"
  ],
  relateWithTypes: [
      "Part", 
      "Other expense", 
      "Activity"
  ],
  createWithTypes: [
      "Part", 
      "Other expense", 
      "Activity"
  ],
  useLegacyUI: false
}
```
</details>

| property | Description | Sample Value | default |
| --- | --- | --- | --- |
| **enableSorting** | Allows to control via which fields Installed Products could be sorted in Location based Work Orders. | ```
enableSorting: [
    "Name"
]
``` | ```
 enableSorting: [
    "Name",
    "FIELDBUDDY__Installed_Product_Number__c"
  ]
``` |
| **createWithTypes** | Determines what kinds of options for installed product items users are presented with when user creates an installation for a location based work order.<br>*Note: Given strings must much with Installed Product picklistitems types in the backend, otherwise they will not be displayed. The casing of string does not matter, as in “Other Expense” === “Other expense”.* | ```
createWithTypes: [
    "Part", 
    "Other expense", 
    "Activity"
]
``` | ```
createWithTypes: [
    "Part", 
    "Other expense", 
    "Activity"
]
``` |
| **relateWithTypes** | Determines what kinds of options for installed product items users are presented with when user relates an installation with a location based work order.<br>*Note: Given strings must much with Installed Product picklistitems types in the backend, otherwise they will not be displayed. The casing of string does not matter, as in “Other Expense” === “Other expense”.* | ```
relateWithTypes: [
    "Part", 
    "Other expense", 
    "Activity"
]
``` | ```
relateWithTypes: [
    "Part", 
    "Other expense", 
    "Activity"
]
``` |
| useLegacyUI | Determines whether Legacy or Improved UI is used for Installed Products tab. Here are the main differences:<br>- Item counts are visible in Improved UI and pressing on them lands user directly on items tab of that IP.
- Improved UI doesn’t have tabs/filters. Instead it uses item counts to show which IPs are complete/closed (green) vs. incomplete/open (orange).
- In Improved UI, the user doesn’t have to make a search to see all relatedable IPs. They can use “show unrelated IPs” option to display related (online) IPs easily.
- In Improved UI, the search terms in search bar are persistent (they stay there even if you change screens/tab).
- Improved UI has a compact version. | `false`<br>in the context:<br>```
installedProducts: {
  ...
  useLegacyUI: false
}
``` | `false` |