pentacent / keila

Open Source Newsletter Tool.
https://keila.io
GNU Affero General Public License v3.0
1.25k stars 61 forks source link

Different data tags #241

Closed SaschaValentin closed 8 months ago

SaschaValentin commented 8 months ago

I´m trying to figure out what´s the right syntax for different data tags wehn importing a list of contacts. The template only shows one tag. But is it also possible to have different attributes I can import. For example {"city":"Frankfurt", "street":"Elmstreet", "interests":"dancing"}.

Hope anybody can tell me the right syntax for this.

wmnnd commented 8 months ago

The data object can be any valid JSON data. So your example will work!

If you want to be able to record multiple interests per contact, you should do something like this:

{
  "city": "Frankfurt",
  "street": "Elmstreet",
  "interests": [
    "dancing",
    "singing"
  ]
}
SaschaValentin commented 8 months ago

Thank you for your help, Philipp,

but I found out that Keila doesn´t work as it is supposed to be when I want to import my contacts. I can choose a CSV file, but afterwards there appears no button to continue or import the contacts. This also happens when I download the tenplate and try to upload it. Nothing happens.

wmnnd commented 8 months ago

I can take a look at this if you are comfortable sharing your file (or a part of it). Feel free to send it to hello-[at]keila-[dot]-io

Edit: Also, where are you trying to upload your contacts? On keila.io or are you running your own instance?