The contact field in my DB is of type number, and I just realised – a hundred user-generated inputs later – that it should have been text. How can I go back and change the field type from number to text?
I have tried using both an API ad bulk edit function with the data, but no success yet. Any help would be appreciated.
Hi there, @felix.njenga… you can’t change a field’s type after the field has been created. So, you will need to create a new field with a field type of text, and then you can work on getting the data from the existing field into the new field.
Create a simple backend workflow that has a single Parameter of type User (assuming it’s your User database in question here).
Have just a single action in the workflow to set the value of the new Text field to the value of the existing number field (or whatever value it actually needs to be).
Run that as a bulk action on your User database, from the app data tab.
Here is the screenshot of where my inexperience is preventig me from completing the workflow.
Contact 2 is the text field. user is the API single parameter.
Thanks for the input. The ‘change to a list of things’ seemed the most intuitive next step after I could not make the initial effort you suggested work.
I was unsure of how to follow the advice you had shared. To achieve this, would I use the ‘set a slug’ option, with user as the parameter?
TIA,
Felix
Here is a screenshot of what my API looks like:
When I try run the Bulk action, this API does not appear in the drop down list.
When I try set the single item (user parameter) from