Is this documentation on the fwconsole bi command correct? I have tried every combination of arguments to get it to accept a list of contacts, but every time I try, I get this response:
You must specify the file type of --type=dids or --type=extensions
I’ve tried these combinations and more:
fwconsole bi --type contactmanager contacts.csv
fwconsole bi --type='contactmanager' contacts.csv
fwconsole bi --type=contactmanager contacts.csv
fwconsole bi --type="contactmanager" contacts.csv
fwconsole bi --type="contacts" contacts.csv
fwconsole bi --type=contacts contacts.csv
fwconsole bi --type='contacts' contacts.csv
fwconsole bi --type contacts contacts.csv
fwconsole bi --type='contact' contacts.csv
fwconsole bi --type=contact contacts.csv
I’m not the only one who hasn’t been able to get this to work, so I’m guessing it’s functionality that was removed or never worked in the first place.
A while ago I built a hacky script that actually called the endpoint used by the bulk handler endpoint in the gui to import these, but I’d much rather use a built in feature if possible, rather than trying to deal with network requests. But I actually just came across @lgaetz’s cmadd.php script from a post here recently, and I think I can probably improve my import script by using that as a skeleton. If this isn’t a built-in feature anymore, I’ll create this script and post it here.