How to change default value in URL


Is it possible with some magic change default value to value from section?

page URL /:category/:fullslug*
section lookup column (Fullslug) and value is set on value :fullslug

but :category is not resolve in menu generation, i still get /default/my-url-full-slug

category is name in tailor fields and it is type: entries

Lot of thanks for any suggestions.


Hi, I would use it like this:

url = "/:category/:fullslug"

[section category]
handle = "Record\Category"
identifier = "slug"
value = "{{ :category }}"

[section item]
handle = "Record\Item"
identifier = "fullslug"

More info in docs.