ɃØĦɆᵾS
ɃØĦɆᵾS
TTwenty
Created by nickponcho on 3/1/2025 in #❓︱help
Problem logging in after upgrade
Basically fork a repo, edit this file https://github.com/twentyhq/twenty/blob/main/packages%2Ftwenty-website%2Fsrc%2Fcontent%2Fdevelopers%2Fself-hosting%2Fupgrade-guide.mdx, commit changes and create a pull request with clear title and some context in description
20 replies
TTwenty
Created by nickponcho on 3/1/2025 in #❓︱help
Problem logging in after upgrade
Could you create a PR with change?
20 replies
TTwenty
Created by nickponcho on 3/1/2025 in #❓︱help
Problem logging in after upgrade
In which place?
20 replies
TTwenty
Created by nickponcho on 3/1/2025 in #❓︱help
Problem logging in after upgrade
Are you sure it should be here?
20 replies
TTwenty
Created by John on 3/1/2025 in #❓︱help
Help creating notes via API - BodyV2
In short, you have to use blocknote if you want to have a visible body of note record in UI
13 replies
TTwenty
Created by John on 3/1/2025 in #❓︱help
Help creating notes via API - BodyV2
And here's body of API request with only blocknote which will result in creating a note record with visible body
{
"position": 0,
"title": "Test2",
"body": null,
"bodyV2": {
"blocknote": "[{\"id\":\"667d8854-6dbf-42be-bd18-92f73aa24313\",\"type\":\"paragraph\",\"props\":{\"textColor\":\"default\",\"backgroundColor\":\"default\",\"textAlignment\":\"left\"},\"content\":[{\"type\":\"text\",\"text\":\"test4\",\"styles\":{}}],\"children\":[]},{\"id\":\"51907a1e-5205-43b7-b175-e9636ee7da00\",\"type\":\"paragraph\",\"props\":{\"textColor\":\"default\",\"backgroundColor\":\"default\",\"textAlignment\":\"left\"},\"content\":[{\"type\":\"text\",\"text\":\"test3\",\"styles\":{}}],\"children\":[]},{\"id\":\"d6f1858a-0744-4c61-800d-49a6f70d2e28\",\"type\":\"heading\",\"props\":{\"textColor\":\"default\",\"backgroundColor\":\"default\",\"textAlignment\":\"left\",\"level\":1},\"content\":[{\"type\":\"text\",\"text\":\"test1\",\"styles\":{}}],\"children\":[]},{\"id\":\"b6b2f995-ae1e-414d-be7d-908ef6175b38\",\"type\":\"paragraph\",\"props\":{\"textColor\":\"default\",\"backgroundColor\":\"default\",\"textAlignment\":\"left\"},\"content\":[],\"children\":[]},{\"id\":\"344412d1-1778-45ad-bfd0-64a40674ba8c\",\"type\":\"paragraph\",\"props\":{\"textColor\":\"default\",\"backgroundColor\":\"default\",\"textAlignment\":\"left\"},\"content\":[],\"children\":[]}]"
},
"createdBy": {
"source": "EMAIL"
}
}
{
"position": 0,
"title": "Test2",
"body": null,
"bodyV2": {
"blocknote": "[{\"id\":\"667d8854-6dbf-42be-bd18-92f73aa24313\",\"type\":\"paragraph\",\"props\":{\"textColor\":\"default\",\"backgroundColor\":\"default\",\"textAlignment\":\"left\"},\"content\":[{\"type\":\"text\",\"text\":\"test4\",\"styles\":{}}],\"children\":[]},{\"id\":\"51907a1e-5205-43b7-b175-e9636ee7da00\",\"type\":\"paragraph\",\"props\":{\"textColor\":\"default\",\"backgroundColor\":\"default\",\"textAlignment\":\"left\"},\"content\":[{\"type\":\"text\",\"text\":\"test3\",\"styles\":{}}],\"children\":[]},{\"id\":\"d6f1858a-0744-4c61-800d-49a6f70d2e28\",\"type\":\"heading\",\"props\":{\"textColor\":\"default\",\"backgroundColor\":\"default\",\"textAlignment\":\"left\",\"level\":1},\"content\":[{\"type\":\"text\",\"text\":\"test1\",\"styles\":{}}],\"children\":[]},{\"id\":\"b6b2f995-ae1e-414d-be7d-908ef6175b38\",\"type\":\"paragraph\",\"props\":{\"textColor\":\"default\",\"backgroundColor\":\"default\",\"textAlignment\":\"left\"},\"content\":[],\"children\":[]},{\"id\":\"344412d1-1778-45ad-bfd0-64a40674ba8c\",\"type\":\"paragraph\",\"props\":{\"textColor\":\"default\",\"backgroundColor\":\"default\",\"textAlignment\":\"left\"},\"content\":[],\"children\":[]}]"
},
"createdBy": {
"source": "EMAIL"
}
}
13 replies
TTwenty
Created by John on 3/1/2025 in #❓︱help
Help creating notes via API - BodyV2
Here's body of API request with only markdown which will result in creating a note record but without a visible body
{
"position": 0,
"title": "Test4",
"body": null,
"bodyV2": {
"markdown": "test4\n\ntest3\n\n# test1\n"
},
"createdBy": {
"source": "EMAIL"
}
}
{
"position": 0,
"title": "Test4",
"body": null,
"bodyV2": {
"markdown": "test4\n\ntest3\n\n# test1\n"
},
"createdBy": {
"source": "EMAIL"
}
}
13 replies
TTwenty
Created by John on 3/1/2025 in #❓︱help
Help creating notes via API - BodyV2
Sure, one sec
13 replies
TTwenty
Created by John on 3/1/2025 in #❓︱help
Help creating notes via API - BodyV2
The caveat with it is fact you can't create proper note record without bodyV2.blocknote as that's the rendered part in UI and it seems like there's no conversion in API from markdown to blocknote, also, in blocknote you need to have UUIDs as id of specific part like paragraph
13 replies
TTwenty
Created by John on 3/1/2025 in #❓︱help
Help creating notes via API - BodyV2
In order to create a note record, you have to give a bodyV2.blocknote part, otherwise record won't have a visible body in UI (even though body was populated properly in DB) so you don't have to give a markdown
13 replies
TTwenty
Created by John on 3/1/2025 in #❓︱help
Help creating notes via API - BodyV2
I think I've found the solution
13 replies
TTwenty
Created by John on 3/1/2025 in #❓︱help
Help creating notes via API - BodyV2
But I can't get to create them properly with filled body so please confirm if you too can't create them properly
13 replies
TTwenty
Created by John on 3/1/2025 in #❓︱help
Help creating notes via API - BodyV2
@John from testing it looks like both aren't required since record'll be created anyway but definitely the bodyV2 must be (even if empty like "bodyV2": {},), otherwise there'll be problem with sending webhook if you have them enabled
13 replies
TTwenty
Created by nickponcho on 3/1/2025 in #❓︱help
Problem logging in after upgrade
On newest version I can confirm that this column exists in database thus when new version will be released and commands for upgrading the database schema will be presented, you probably won't find this error
20 replies
TTwenty
Created by nickponcho on 3/1/2025 in #❓︱help
Problem logging in after upgrade
I believe you've found this error as you didn't update the database as there are no upgrade commands yet
20 replies