APIs & Integrations

storycollab
Participant | Diamond Partner
Participant | Diamond Partner

Creating a selector for dynamically created pages

SOLVE

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 Upvotes
1 Accepted solution
piersg
Solution
Key Advisor

Creating a selector for dynamically created pages

SOLVE

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. 

View solution in original post

2 Replies 2
piersg
Solution
Key Advisor

Creating a selector for dynamically created pages

SOLVE

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
HubSpot Product Team
HubSpot Product Team

Creating a selector for dynamically created pages

SOLVE

Hello @storycollab 

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

0 Upvotes