APIs & Integrations

storycollab
Participante | Partner nivel Diamond
Participante | Partner nivel Diamond

Creating a selector for dynamically created pages

resolver

I will be creating a HubDB that will populate pages dynamically. Looking for a good way to make the list of those created pages available in a selection form field or check box in a form so that I can send them or automate actions with a specific set of the pages-- suggestions?

0 Me gusta
1 Soluciones aceptada
piersg
Solución
Asesor destacado

Creating a selector for dynamically created pages

resolver

Hi @storycollab (thanks @dennisedson)

 

You could do this with javascript. You could either have an array of all the page urls/names hardcoded in JS if it's not a large DB, or if it's a large DB you could use the HubDB API to get all the values for the hs_path/hs_name column into an array, and then add each one as an option to a select field/as a checkbox. 

Ver la solución en mensaje original publicado

2 Respuestas 2
piersg
Solución
Asesor destacado

Creating a selector for dynamically created pages

resolver

Hi @storycollab (thanks @dennisedson)

 

You could do this with javascript. You could either have an array of all the page urls/names hardcoded in JS if it's not a large DB, or if it's a large DB you could use the HubDB API to get all the values for the hs_path/hs_name column into an array, and then add each one as an option to a select field/as a checkbox. 

dennisedson
Equipo de producto de HubSpot
Equipo de producto de HubSpot

Creating a selector for dynamically created pages

resolver

Hello @storycollab 

Going to see what @alyssamwilie , @Kevin-C  and @piersg  have to say about this

0 Me gusta