Twenty

T

Twenty

Building a modern Open Source CRM, powered by the community

Join

❓︱help

🏡︱general

💻︱development

Session logs out if tab is closed in chrome (self hosted, docker)

I have to log in each time I close the tab in chrome. Any documentation on session management?...

Error "cannot pass more than 100 arguments to a function" when calling create "insertIntodeal"

I have a custom object called "deal"/"deals" and I am attempting to create a new deal object via Rest API and am receving the below error. However it is working via the UI when providing only a name field. Thanks in advance! 🙂 ```...

Relational field not showing in data entry mode

There's a relationship between Menu Items and Menu Categories but I see no field in Menu Items where I'm able to set the Menu Category.
No description

Getting @swc/core@npm:1.5.20 couldn't be built successfully logs can be found here:

Hi, earlier we could remove yarn.lock, node-modules; run yarn and then the project could be restarted. Now, with the new version, after removing yarn.lock, removing node modules it is giving the swc error. Subsequently yarn nx start twenty-server fails. How to fix?...
No description

upgrade from 0.11.2 to 0.12.1

Are there any breaking changes stopping from upgrading 0.11.2 -> 0.12.x When I try the usual routine in dev, i.e. 1. update containers using TAG=0.12.1...
No description

how to setup locally with docker.

I am running with docker. but it requires some env setup. what things should be there. here is my env inside twenty-docker directory. TAG=latest ...

Programatic way to create a note for a company using REST?

Hi Twenty team 👋 Loving the extensibility of twenty! I've had great luck using the api to tidy up my CRM, see for example https://discord.com/channels/1130383047699738754/1244820584723120242/1244899581829845082 I am now trying to create a note via the rest api for a company, but I can't wrap my head around the playground docs....

Converting text fields to links

Hi Twenty Team, I am loving the new links fields!!! I'd love to convert some of my existing text fields to link fields, is this possible? I have tried to do it via the webui, but can't see a way to change the type. ...

Getting Error After Importing data.

I am getting this error when I Import data from CSV file. The Data is getting imported without any error but the issue is from frontend. If I reload then then I get the data I imported....
No description

Getting logged regularly (~15 mins)

Hi Twenty team, Thanks for the wonderful software product. I am using google authentication. I am able to log in via google auth and also authenticate with mail and calendar sync etc....

Issue with Gmail sync

Self-hosted instance, configured the Google authentication to allow sync, but it's stays in pending state. I have gathered I need to run yarn commands to start the cron that will consume the emails to import but I am facing this error when trying the yarn command:prod cron:messaging:gmail-fetch-messages-from-cache: ERROR [Error] Nest could not find GmailFetchMessagesFromCacheCronJob element (this provider does not exist in the current context) ...

Error TS5042: Option 'project' cannot be mixed with source files on a command line

while running npx nx start I saw a similar thread before here #Error TS5042: Option 'project' cannot be mixed with source files on a command line - Tried to re cloning the project on local didn't work ...

Migrations fail and app does not exit

If migrations fail, your app should exit. Especially when logging a "fatal" error.

Create and fetch new database entities

Hi, I'm solving implementing this feature (https://github.com/twentyhq/twenty/issues/4199). I'm trying to follow the tips that Felix left in the issue thread. So far, I was able to add a new column, everyone to the messageThread table. After that, I've also created a new table (by table im referring to the object-metadata.ts files, and the repositories) name d MessageThreadMembers, with two columns for the MessageThreadId and WorkspaceMemberID. I used psql to query my local database and all the tables and FK constraints were working fine. Now, here is where im stuck: I'm trying to fetch the workspace members of a message thread, so the frontend can consume that information and use it for the message thread members chip/dropdown that I'll eventually code it aswell. I've tried a diverse combination of things here, using how the fetching of MessageThread works as a reference. My workflow here was something like: Add the necessary export types in the graphql.tsx file inside twenty-chrome-extension/src/generated folder -> create fetchAllThreadMembersOperationSignatureFactory.ts -> create a new hook that uses useFindManyRecords and add an entry in CoreObjectNameSingular. ...

Are both Turnstile and Recaptcha being used in the project? Is It a customer choice?

They wont be used simultaneously right? So is it something that a company or customer choose to use?

Create Standard object ids

I want to know how can i create standard object ids if i want to add my own object as well. Below are the. id's export const STANDARD_OBJECT_IDS = { activityTarget: '20202020-2945-440e-8d1a-f84672d33d5e', activity: '20202020-39aa-4a89-843b-eb5f2a8b677f',...

Worker is terminating.

Worker is Terminating. Are there any configurations that needs to be done before I start using this new Feature ? Also, why is it terminating, I can see that it runs out of memory but is it because of some improper configurations or Injections of services ?
No description

navigate() isn’t working after async operation.

I have this function to handle submit event of a form. In this function I am making an api call to save the data in backend and after awaiting that api call I am using navigate to /something route. But somehow it is not working and if I remove await from that api call then it works. Any idea why this might be happening ? This is my Function. It is just not working with awaiting addRole function. If I use the commented part and await the Promise with setTimeout then It is working properly....
No description

Poor performance on self-hosting

Hi everyone, I tried installing twenty onto a droplet with 4gb ram, however the performance is poor. If I try to deactivate objects etc it doesn't do anything sometimes. However when I try the demo it works fine. My CPU usage and memory usage is very low on the droplet so I am not sure what is happening. Any help will be appreciated.