Make attributes mandatory
How to set attributes as mandatory on an export template.
By default, the Developer Portal adds all attributes as optional. To make them mandatory, take these steps:
On the export template setup page, go to the section Attributes and analyzer tests, and check the boxes next to all attributes you want to make mandatory.

Select Set as mandatory. The Type column displays Mandatory for all attributes you have chosen to be mandatory.
Your changes do not become available in the platform until you select Publish. See Publish export template changes.
You can also set an attribute as mandatory, optional, or conditionally mandatory in its properties. See Change attribute settings.
The automatic Not empty test
When an attribute becomes mandatory or conditionally mandatory, the Developer Portal adds a Not empty analyzer test to it automatically. The test shows the label Added automatically.

- You cannot edit or delete this test. It is managed for you.
- On a conditionally mandatory attribute, the test, like all the attribute's tests, only runs on products where one of its conditions is met. Products that do not meet a condition can leave the attribute empty.
- If you make the attribute optional again, the test is removed.
How is this guide?