Dream
can't open api imported attachment?
Hey guys. Sorry for the Necro.
I'm still stuggling with this.
I've noticed that the file path when opening the "attached" file is as follows: "/files//twentyscripts/temp_attachments/testcsv.csv?token=" (Note that twentyscripts/temp_attachments/Samuel_Cust_dio.txt is the path that the file is being uploaded from through the python script)
If i attach a file the normal way, the URL for accessing the file is "/files/attachment/fcbb98b1-031e-4b51-bcb0-f596299de025.csv?token="
This might be a me problem but I have no clue how to fix it. Maybe I'm importing it wrong?
Clearly there's some additional changes being made to the file through Twenty, as the name of the file in the URL also changed to an UUID I'd assume?
P.S. Some additional info, the script is basically watches a directory on the twenty instance. Once a csv file is added, that csv is used to create the person or update said person in the twenty database.
But I'd like to attach the original CSV file as an attachment for easy access
8 replies
Import csv questions
Another silly question. I added a bunch of fields to the People section. Is there any way to reorganize the default layout of the fields? Some fields are 2-3 seperate fields but all contain related data. I don't see any way to move them
The API is awesome BTW
23 replies