Missing refreshAssociations() method in UI Extensions SDK

I’m building a UI extension that adds line items to deals. After successfully adding a line item via the API, the native HubSpot line items card doesn’t update.

refreshObjectProperties() only refreshes deal properties, not associations. There’s no refreshAssociations() method in the SDK, and the useAssociations hook has no refetch() function.

This means users have to manually refresh the page to see newly added line items, which breaks the UX.

Request: Add a refreshAssociations() action to the UI Extensions SDK, or expose a refetch() method on the useAssociations hook.

This seems like a significant gap for any extension that modifies associated records.

Hey YellowPanda,

When you use the useAssociations hook, there is a refetch method that comes back on the useAssociation response that you can then use to refetch those associations, the documentation for this should show up here with an example:

Let us know if this gets you up and running!

ChrisNTR