HubDB: Error in help doc?

I’m on step 1 of this, I copy the code for step 1, swap in the value for my db and when I try to save it gives an error and won’t publish GitHub - HubSpot/cms-custom-objects-example · GitHub

Hey @patpalingo, what type of error are you receiving. Also when you say Step 1 and you swap in the value for your DB I assume you actually meant Step 2?
Make sure you set up the Database with the exact Columns and Types first.

Sorry, yes I mean Step 2. When I paste that in and swap in my db value it won’t let me save

Here is error

The following validation error was found: TemplateSyntaxException: Error parsing ‘hubdb_table_rows{{668065}}, queryparam)’. syntax error at position 26, encountered ‘}’, expected ‘:’

Hey @patpalingo
Try this line instead.

{% set table = hubdb_table_rows(668065, queryparam) %}

Let me know how you make out.

Thank you Eric, that worked

There is a similar thing in another step of that documentation.

I just need to figure out why it’s printing some things like it is now haha

Try it out and if you need help please reach out.

Adding this here because it’s the same tutorial from question above:

In this Real Estate Listing Tutorial it asks us to setup a column named type using select options. However, the select options are being pulled from the database but it requires I type in select options? This throws off this column completely. Please advise as something maybe changed in the adding a Column type(Select) interface?

Thanks,

-Matt