zesty-io / manager-ui

Content platform powering enterprise websites and applications
https://www.zesty.io
Other
40 stars 6 forks source link

Schema text field URL setting #604

Open kakoga opened 3 years ago

kakoga commented 3 years ago

Is your feature request related to a problem? Please describe. Zesty will create a path-part based on a the first text field in model. There isn't a way to make this dynamic, ie there isn't a way to designate another field as the field that creates the URL.

Describe the solution you'd like It would be great to have a checkbox or something in Schema that would allow the user to designate which field will create the path-part.

Describe alternatives you've considered Tried to create the path-part dynamically via API and it didn't work.

Additional context



(created from Zendesk ticket #1322)
gz#1322

shrunyan commented 3 years ago

This could be a value added to the fields settings JSON and then within the Content editor it would like for this value when determining which field to use as the basis for URL generation. If the value is not present on any field within the schema it would fall back to the current default behavior of using the first text field.