Hi guys! Can you help me create a new filter for People section?

I ve read the API documentation and i found that i can create a new viewField or a new viewFilter and it's a bit confusing because when i make a new one i got a button which says "new field" and when i am in the dashboard i can choose from "filters" to filter the content and i've tried them both anyways without success maybe i'm doing something wrong. Can you help me pls?
5 Replies
thomast
thomast2w ago
Hi, what filter are you trying to create?
TheGardenOfSinners
Hi! I am trying to create a new filter in People section . I want it to be text and have a custom name like CustomName1 And i don't mind in which view i can see it
thomast
thomast7d ago
we usually do not create filter through api, the code will not know how to handle a new format. You are supposed to create it directly from the view, in your case the people view. So you say that you have a field name CustomName1 on the table People and you want to filter on that field value?
TheGardenOfSinners
thank u thomas i found the answer they split api in api core and api metadata and i used a script to send all the filters and they were very easily added i needed this because i wanted to migrate a databse from hubspot
thomast
thomast6d ago
Ok makes sense. Great you managed to do it 💪

Did you find this page helpful?