APIs & Integrations

yguedidi
Member

Local HubL context data

Hello,

As a feature request, is it possible to export from a production site its data in the JSON format used by the HubL local server as a context?
This will ease local development of HubSpot sites.

Thank you

0 Upvotes
2 Replies 2
boulter
HubSpot Product Team
HubSpot Product Team

Local HubL context data

There is no automated way to export data, but you can use the api to get page data for the pages you would like to test locally. See https://developers.hubspot.com/docs/methods/pages/get_pages_page_id

0 Upvotes
AndrewBoyd
Member

Local HubL context data

@yguedidi Did you ever find a solution for this? We're running into the same issue where we are unable to use a local development environment because there is no way to supply mock data to modules.

0 Upvotes