Safely copy image metadata from one table to another
Options
Jswan
Member ✭
Hey! I'm moving my image metadata from table Posts to table Images.
How do I safely make this change? I want to 1) loop through all posts 2) for each create a new record in the Images table, where Images.image === Post.image, then 3) refer to that newly created Image record via table reference.
I tried using the "Get File Resource Data From" function, but setting "value" as the file resource name didn't do the trick.
I tried a few other things, but ran into some errors.
Anyway - key question: How to safely copy over image metadata from one table to another, without file duplication?
Thank you!
Tagged:
Best Answer
-
I take it all back! XD
So easy. Literally just do exactly the steps in 1,2,3.
until next time 🫡
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback