Generating Slugs

Learn how to generate slugs in your the additional field options

Using CRUD generator, you can automatically generate slug of a certain input. Let's say you have several messages that have a name and a slug. If you want to automatically generate a slug from the name attribute, you can include the following details:

{
    "slugify": {
        "origin": "title", 
        "forceUpdate": true
    }
}

This will automatically generate slug from the name field. If the slug already exists, it will only be updated if forceUpdate is enabled, by default this is disabled.


What’s Next