Can I Rename a Tastic Field?

Question:

We've found some Tastic Schema that goes against code-guidelines. So, we now have some field in the correct have camelCase but some in underscoreCase. We want to fix this and rename the incorrect fields. Is there a way to migrate this data? Will the data be available even if the field is renamed?

Answer:

It currently (2020-03-09) isn't possible to automatically rename fields. The configuration isn't changed when a new Schema is uploaded to Backstage.

One way around this is to follow the steps below:

1
Upload a new Schema containing both the old and the new field names.
2
Manually copy the value from the old setting to the new one in the Page Editor
You can see a list of all Pages using your Tastic in the Developer App, example below:

Find Pages Where Tastics are Used GIF

3
After editing and saving all Pages, the code using the new field can be deployed
4
Upload the Schema containing only the new field name

‹Back

FAQs

Still need help? Contact Us Contact Us