# Inventory Items in Profiles

## What

- Each Inventory Items has an Internal Name, including Custom Fields which provide extended inventory
- The Internal Name can be used to reference any Inventory Items in Profiles

## When

Internal Name of an Inventory Item may be located from the Inventory Query Editor.<span class="Apple-converted-space"> </span>Example shows the Internal Name: ‘device\_product\_name’

![Pasted Graphic 29.png](https://kb.filewave.com/uploads/images/gallery/2024-07/XUSoUHwasTcrydMA-embedded-image-joawpmq0.png)

This may be added into a Profile, effectively customising the Profile per device or user:

![Pasted Graphic 46.png](https://kb.filewave.com/uploads/images/gallery/2024-07/5V4gJWG3XEqqj6kv-embedded-image-ghku71q6.png)

![Pasted Graphic 48.png](https://kb.filewave.com/uploads/images/gallery/2024-07/BAJc1ZcO3y9h0bpA-embedded-image-vc5fj6xo.png)

### Custom Fields

Associated Custom Fields may also be used with Payloads settings of Profiles.<span class="Apple-converted-space"> </span>Extending the above example, consider a Custom Field for Asset Tag:

#### Custom Field Definition

![Pasted Graphic 44.png](https://kb.filewave.com/uploads/images/gallery/2024-07/bYjvwIqD2LHY5yqp-embedded-image-1xfkhfoa.png)

#### Profile Payload

![Pasted Graphic 49.png](https://kb.filewave.com/uploads/images/gallery/2024-07/ZxgplH0ppqyLxN58-embedded-image-ur055pkf.png)

#### Lock Screen

![Pasted Graphic 47.png](https://kb.filewave.com/uploads/images/gallery/2024-07/2Zty158NmIgBQn2Q-embedded-image-pjklzi82.png)

### Improvement

When referencing a Custom Field in a Profile Payload, it could be referenced in one of two ways.<span class="Apple-converted-space"> </span>From the above example, it could be either:

- %asset\_tag%
- %custom\_field.asset\_tag%

The additional prefix indicates more clearly that this is a Custom Field Inventory Item.<span class="Apple-converted-space"> </span>If there was an Inventory Item with a matching name provided by FileWave, the first item in the list would report the provided Inventory Item value for the device and not the Custom Field.

For demonstration, imagine creating a Custom Field called 'My Device Product Name' with Internal Name: device\_product\_name.<span class="Apple-converted-space"> </span>

![Pasted Graphic 54.png](https://kb.filewave.com/uploads/images/gallery/2024-07/BnuCzbvlbXv7UgJJ-embedded-image-voctjsct.png)

There are now two Inventory Items with the Internal Name: device\_product\_name:

![Pasted Graphic 51.png](https://kb.filewave.com/uploads/images/gallery/2024-07/iyF4QT4n7YlC8Hkc-embedded-image-jsinvada.png)

and

![Pasted Graphic 52.png](https://kb.filewave.com/uploads/images/gallery/2024-07/2KSkn5Aw5fkCAMbI-embedded-image-r1sycm6h.png)

With the values:

![Pasted Graphic 55.png](https://kb.filewave.com/uploads/images/gallery/2024-07/P5XQnK8JxcfdK7rB-embedded-image-py68ba38.png)

Altering the above example Lock Message to use both of these:

![Pasted Graphic 57.png](https://kb.filewave.com/uploads/images/gallery/2024-07/BNjyiXsZmTaRAwbT-embedded-image-thyqi8co.png)

The device clearly demonstrates how the value without a prefix uses the FileWave provided Custom Field value:

![Pasted Graphic 58.png](https://kb.filewave.com/uploads/images/gallery/2024-07/AmMpDY0YDVf1ReBI-embedded-image-viinh3ly.png)

<p class="callout success">To prevent confusion with overlapping Inventory Items between Custom Field and built-in Inventory, always consider using the prefix for Custom Fields</p>

## User Customisation

Although FileWave doesn't manage users, if users are associated with devices, this extends the ability to customise Profiles for users.

User details from enrolment may be used, but to extend beyond this, LDAP servers set for extraction can greatly increase the Inventory Items available for Parameters via LDAP Custom Fields.

An example of Profile customisation for users:

[![image.png](https://kb.filewave.com/uploads/images/gallery/2024-07/scaled-1680-/fJ9WF9cuR1mlt2Mq-image.png)](https://kb.filewave.com/uploads/images/gallery/2024-07/fJ9WF9cuR1mlt2Mq-image.png)

<p class="callout info">One Profile can therefore be used for multiple devices, tailoring the Payload to the users of those devices.</p>

<span class="Apple-converted-space"> </span>