π. ππ₯πππ§π π§ππ πππ§ππ’π‘
This uses the operator :ππ’π₯π ππ§π§ππ ππ¦ π§ππ«π§ on a list in Bubble. Get started by adding the ππ¦π’π‘ ππΌ π«ππ¦π« (π¦π¦π) action to your workflow.
The JSON content field simply needs valid JSON and you are good to go. However, the idea is to do a search for the data you want to export and then use the :ππ’π₯π ππ§ ππ¦ π§ππ«π§ operator and create your JSON in that field as shown below.
Add a comma to the Delimiter field.
When you have a field that can contain newlines, quotes, and other special characters, It's a good idea to use the :ππ’π₯π ππ§π§ππ ππ¦ ππ¦π’π‘-π¦πππ operator. When using that operator, you don't need to wrap it with double-quotes " -- the operator does that already.
Sample JSON
{
"ππππ π³πππ": "ππππ πππππ'π πΎππππ π³πππ",
"ππππ πΈπ³":"ππππ πππππ'π πΎππππ πΈπ³",
"πΈππππ":[ππππ πππππ'π πΈππππ: πππππππππ ππ πΉππΎπ½-ππππ],
"ππππππ":ππππ πππππ'π ππππππ'π π½πππ: πππππππππ ππ πΉππΎπ½-ππππ
}
If you want to export a nested list, simply add square brackets around the value as shown in the Items value in the JSON sample
π¦ππ©ππ‘π π§ππ ππππ
To save the file use 1T - CSV Creator's (
https://bubble.io/plugin/1t---csv-creator-1582601241392x653181519983018000) save file.
See the demo page for more info
ππ’πͺπ‘ππ’ππππ‘π π§ππ ππππ
Use the Download file action from AirDev's File Downloader (
https://bubble.io/plugin/file-downloader-1539124824422x194279356396994560)