Step 4: Make Changes Locally

Open up one of the files in your favorite code editor (like VS Code or Sublime) and make some changes.

For example you could:

  • Open up one of the files in the default/km/entity and modify the “yext/name” property to update the entity name

  • Add a new field in c/km/field directory called “My New Field”

    {
    "$id": "c_myNewField",
    "$schema": "https://schema.yext.com/config/km/field/v1",
    "description": "",
    "displayName": "My New Field",
    "group": "NONE",
    "localization": "PRIMARY_ONLY",
    "type": {
        "stringType": {
        "stereotype": "SIMPLE"
        }
    },
    "typeId": "yext/string"
    }
  • Delete the default/pages folder – this won’t delete the files from your account unless you’re in comprehensive update mode; instead, it will just mean that you won’t make any changes to those files on your apply. If you want those files back on your local machine, you can just rerun yext resources pull.

Make sure to save your changes locally.

Feedback