CRM

RBouwman
Member

Use Custom Object property in HubDB filterquery

SOLVE

Hi all,

 

I can't figure out why this bit doesn't work.

 

I want to use a custom object property in a filterquery for hubdb_table_rows.

{% set function_group =<Object>["function_group_urlencoded"]%}
{% set filterquerytest = "limit=4&function_group=A" %}
{{ function_group }} #This results A
{% set filterquery = "limit=4&function_group=" ~ function_group %}
{{ filterquery }} # This results limit=4&function_group=A
{% for row in hubdb_table_rows(5321935, filterquery) %}

When I run this, it doesn't work. When I change filterquery to filterquerytest it does. Can anybody assist with this?

 

Thanks in advance.

0 Upvotes
1 Accepted solution
Shadab_Khan
Solution
Key Advisor | Elite Partner
Key Advisor | Elite Partner

Use Custom Object property in HubDB filterquery

SOLVE

You will get better responses if you post this in Developer Forums

Found my solution helpful? mark it as accepted

View solution in original post

1 Reply 1
Shadab_Khan
Solution
Key Advisor | Elite Partner
Key Advisor | Elite Partner

Use Custom Object property in HubDB filterquery

SOLVE

You will get better responses if you post this in Developer Forums

Found my solution helpful? mark it as accepted