Content Type

You'll need to make changes to the fields in your content type.

StringField('firstName',
    widget=StringWidget(
        label="First Name",
    ),
    index='FieldIndex:schema',
);

The part in bold is what you'll need to do for your field in the content type.

Site Setup

Next you'll need to specify in site setup of your plone instance that you want smart folders to use it.

  1. Go to site setup
  2. Click "Smart Folder Settings"
  3. Select "smart folder metadata" tab
  4. Click "all fields"
  5. Find the field you just added and give it a new name(by default it uses its getter name)
  6. Save

AddFieldSmartFolder