Releases and Updates

agirard
by: HubSpot Product Team
HubSpot Product Team

Access to Themes and Serverless Functions Within the Design Manager

We've made three updates to the design manager that provide further feature parity between the development experience in HubSpot vs in your local environment. CMS Hub customers can now:

  1. Create themes in the design manager.
  2. Create serverless functions in the design manager.
  3. View the @hubspot folder in the design manager.

When we launched the CMS Hub back in April, creating serverless functions and themes was only available through local development. Allowing for the creation of serverless functions and themes in the Design Manager allows developers not interested in developing locally to utilize these features. Local development will remain the favored approach to building assets on CMS Hub, but these updates extend core functionality to Design Manager users.

Creating themes in the design manager.

To create a theme in the design manager, select File > New theme. Developers can choose to start with a blank theme or from the CMS Theme Boilerplate.

9e9ac959-6d31-4ae7-9616-6d2ee18a1ef2

Creating serverless functions in the design manager.

To create a serverless function in the design manager, select File > New function. From here, you can enter information about the function to be created, like the function path, request method, and file/folder names.

a660f2f9-0940-4dea-9899-bc83bf8658ef

View the @hubspot folder in the design manager.

You can also now view the source code of the default themes and other default assets by clicking into the "@hubspot" folder in the design manager finder. This allows you to view the code behind a default theme for use in your own themes. You can also clone one of the default themes as a starting point. The "@hubspot" files are read-only. The files must be cloned or copied to be edited.

c8bc4334-e1f3-4cc4-b8d0-d7c1304b37c6

 

The ability to access the @hubspot folder and create themes in the design manager is now available to all CMS Hub Professional customers. The ability to create serverless functions within the design manager is now available to all CMS Hub Enterprise customers.

{{cta('549063d6-6504-4654-8e00-64a31a75cbad','justifycenter')}}