Skip to content

HubSpot: add useQuery support for searching objects #18790

@GTFalcao

Description

@GTFalcao

HubSpot has many object types. When listing records in async options, we currently use the createOptions method that in turn calls listObjectsInPage. This paginates through, potentially, thousands of records.

We could add the useQuery property to all props that currently list records, so that when a query is entered, they search for records instead, using the searchCRM method. According to the documentation this method supports a query parameter, which may be appropriate for doing the search - please evaluate if this is the case. The alternative is to use filters with a specific property for each object type.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Prioritized

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions