How to move data precisely like what the photo illustrates? Thank you
Note* I copied Type “Daily Report”, paste it and change the name to “Daily Report(old)”. The fields are all identical.
What I am trying to do: “Daily Report” is my primary data, and I want to remove old data away but keeping it in some storage. Therefore the system will not need to search and filter the enormous list of data.
After copying the list of things, assuming you want to create new records n the ‘old’ table, you can ‘Schedule API workflow on a list’ … on the list you just copied. You will need to be on a paid Bubble plan for this though.
Your copy should be the one you use as primary. By copying the data type, you would not have copied data, so the new type has no records. Rename the original as Old.
I am slightly confused by your suggestion
I presume you meant that I right click, copy the data type and paste it. Therefore I will not have the “data” in it?
But I do not understand the part where I have to rename the original as old.
Thanks a lot for your input as well!
Whenever it comes to iterating over a list of things, for one reason or another, it’s always worth giving API Workflows a look. You can come up with a set of instructions that should occur for a given number of times, which should help you accomplish most goals like what you’re going for here. You can access API Workflows through your page selector, just make sure you enable API Workflows through Settings > API > This app exposes a Workflow API.
Here’s the general thought process behind bulk processing data:
Create a new API Workflow
Set a parameter that is of the type that you’re looking to iterate over
Set all the actions that you’d like to complete in that workflow
Go to the table matching the parameter you created in the Data tab
Click on the Bulk button and select the new API Workflow you created
In your case, you’d probably want your parameter to be of the ‘Daily Report’ type, have an action in the API Workflow that ‘Creates a new thing’ of the ‘Daily Report (Old)’ type and have the things’ fields align.