CMS Development

simonp
Mitglied

Exporting Field from one module to another - or - transfer a module to different domain?

lösung

Hello All

 

This is a properly a fundamental thing in hubspot -

 

I currently working on a module in a sandpost area that will be moved into adifferent domain.

 

I am creating a number of fields within the module in the sandbox but i am not sure of

 

- Either exporting all  the custom  fields i have created in the sandpost site to a different domain

- OR transfering the complete module (with its dependencies) to a different domain

 

Hope thats clear

 

Many thanks to all

0 Upvotes
1 Akzeptierte Lösung
stefen
Lösung
Autorität | Partner
Autorität | Partner

Exporting Field from one module to another - or - transfer a module to different domain?

lösung

@simonp you can do this with the HubSpot Local Dev CLI tool. Basically, you can fetch your entire module and it's JSON file which contains all the data for each field. Then once fetched, you can push it to a completely different portal in just a few seconds. Follow this guide to get started: https://developers.hubspot.com/docs/cms/guides/getting-started-with-local-development

Stefen Phelps, Community Champion, Kelp Web Developer

Lösung in ursprünglichem Beitrag anzeigen

0 Upvotes
2 Antworten
stefen
Lösung
Autorität | Partner
Autorität | Partner

Exporting Field from one module to another - or - transfer a module to different domain?

lösung

@simonp you can do this with the HubSpot Local Dev CLI tool. Basically, you can fetch your entire module and it's JSON file which contains all the data for each field. Then once fetched, you can push it to a completely different portal in just a few seconds. Follow this guide to get started: https://developers.hubspot.com/docs/cms/guides/getting-started-with-local-development

Stefen Phelps, Community Champion, Kelp Web Developer
0 Upvotes
ACantú
Teilnehmer/-in

Exporting Field from one module to another - or - transfer a module to different domain?

lösung

And is there a way that doesn't require the CLI?

0 Upvotes